{ "info": { "author": "LocalMed", "author_email": "pete.browne@localmed.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Topic :: Internet :: WWW/HTTP" ], "description": "Django Assetfiles\n=================\n\nDjango Assetfiles is a drop-in replacement for staticfiles which handles asset processing.\n\n\nInstallation\n------------\n\n1. Install package from PyPi:\n\n ``` sh\n $ pip install django-assetfiles\n ```\n\n2. Replace `'django.contrib.staticfiles'` in `INSTALLED_APPS` with `'assetfiles'`:\n\n ``` python\n INSTALLED_APPS = (\n # ...\n # 'django.contrib.staticfiles',\n 'assetfiles',\n )\n ```\n\n3. That's it! Assetfiles will default to your [Staticfiles settings](https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/).\n\n\nUsage\n-----\n\n1. Add an asset file that should be processed:\n\n ``` scss\n // static/css/main.scss\n $color: red;\n\n body {\n color: $color;\n }\n ```\n\n2. Add a link to the processed CSS file in your template (you can use standard Staticfiles conventions):\n\n ``` html+django\n {% load staticfiles %}\n \n ```\n\n Assetfiles will automatically serve up the processed version of `main.scss` at the static url of `/static/css/main.css`.\n\n4. To serve assets in development, either use `runserver` as normal or add the following to your `urls.py`:\n\n ``` python\n from assetfiles.urls import assetfiles_urlpatterns\n\n # ... the rest of your URLconf goes here ...\n\n urlpatterns += assetfiles_urlpatterns()\n ```\n\n5. For deployment, run `collectstatic` as usual and Assetfiles will process and copy over the assets:\n\n ``` sh\n $ python manage.py collectstatic\n $ cat public/css/main.css\n body {\n color: red; }\n ```\n\n\nCopyright\n---------\n\nCopyright (c) 2012 [LocalMed, Inc.](http://localmed.com). See LICENSE for details.\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/LocalMed/django-assetfiles", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-assetfiles", "package_url": "https://pypi.org/project/django-assetfiles/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-assetfiles/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/LocalMed/django-assetfiles" }, "release_url": "https://pypi.org/project/django-assetfiles/0.8.0/", "requires_dist": null, "requires_python": null, "summary": "Drop-in replacement for staticfiles which handles asset processing.", "version": "0.8.0" }, "last_serial": 935990, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e44c6fb75d0f83dd9886f69342505e24", "sha256": "d0178d4c99d2636ecf55f456ced8b6da88f84496966f392d2deede4b9748bfc6" }, "downloads": -1, "filename": "django_assetfiles-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "e44c6fb75d0f83dd9886f69342505e24", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 42361, "upload_time": "2012-11-17T20:32:29", "url": "https://files.pythonhosted.org/packages/38/e0/7c13f011d9da784a0587a565a9c2fe30b98822d7d9c08437cf4df3123a1b/django_assetfiles-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "f11039ebf50879186e5c5824753a244a", "sha256": "d742a730f6db2322897d3833f8337e76308312353f094fd5d989dcc1d4553aa0" }, "downloads": -1, "filename": "django-assetfiles-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f11039ebf50879186e5c5824753a244a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11895, "upload_time": "2012-11-17T20:32:41", "url": "https://files.pythonhosted.org/packages/e1/7e/f00a9dd0054e145e334d10ebc510af1f5cddd6b93702865b6bea96fb89bf/django-assetfiles-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "801dd5124fc9a7993d78dbdab542de22", "sha256": "caf34fdfd06b853339e7ac7af5be128dd52cc91c522252e4da488e38f7a8d4cc" }, "downloads": -1, "filename": "django-assetfiles-0.2.0.tar.gz", "has_sig": false, "md5_digest": "801dd5124fc9a7993d78dbdab542de22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12194, "upload_time": "2012-11-19T19:41:53", "url": "https://files.pythonhosted.org/packages/bb/ba/7a2c1709ebc359d7032b621f57d15c6be4c865669ff82622bb24c21d31e9/django-assetfiles-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "c7f79c6dfd506d04277765d398195832", "sha256": "7059d60be532f7dd3d7eb006d9c1986272fa47669c76a7e3ee51fa192eefdbcc" }, "downloads": -1, "filename": "django-assetfiles-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c7f79c6dfd506d04277765d398195832", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12399, "upload_time": "2012-12-12T20:59:52", "url": "https://files.pythonhosted.org/packages/a2/a8/851733bd8651f4648e9a73f0340231088bd6554e5f51d81d5990e89b5c34/django-assetfiles-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "89539d6b96b564429b76ef8ec63565e7", "sha256": "8dcc50d1b7c69833347e034402d999c8c9e07c3c3aad386fd800ca46befcbdbb" }, "downloads": -1, "filename": "django-assetfiles-0.3.1.tar.gz", "has_sig": false, "md5_digest": "89539d6b96b564429b76ef8ec63565e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12597, "upload_time": "2012-12-17T22:04:40", "url": "https://files.pythonhosted.org/packages/c9/97/46b21273243afddf297dc21630787835c9b8f9148471a1da26f679ca5b35/django-assetfiles-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "5692e883a323d3dccc98ad948629840b", "sha256": "5fde13937ffebd7dd2f5895d779752cafe333f6c2bec0eb0f7651e7c5205ffce" }, "downloads": -1, "filename": "django-assetfiles-0.4.0.tar.gz", "has_sig": false, "md5_digest": "5692e883a323d3dccc98ad948629840b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15128, "upload_time": "2013-02-06T19:38:11", "url": "https://files.pythonhosted.org/packages/99/7f/5e0e5b96792f7cab0d4df6df1f95a0c1188b5c5060c2a327ab2807bf9614/django-assetfiles-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "d46498e1dd8d8d6cd2eeeb6e7c40af74", "sha256": "32b261d7d46b04d95fc6a76383cb9034a16ebfc67e32b9280583e2c571aa0715" }, "downloads": -1, "filename": "django-assetfiles-0.5.0.tar.gz", "has_sig": false, "md5_digest": "d46498e1dd8d8d6cd2eeeb6e7c40af74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15728, "upload_time": "2013-02-07T16:42:30", "url": "https://files.pythonhosted.org/packages/16/54/ee967f59ec388eeabea4255a8657809c47bce77af701742754f421007e3f/django-assetfiles-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "6b7b0d2cda29efdba3aa032bdcd4395e", "sha256": "0c4be61f08f65396ab823524afd37fe3d40cb2a915b4c1292e292298f76d6df4" }, "downloads": -1, "filename": "django-assetfiles-0.6.0.tar.gz", "has_sig": false, "md5_digest": "6b7b0d2cda29efdba3aa032bdcd4395e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16168, "upload_time": "2013-02-08T16:32:54", "url": "https://files.pythonhosted.org/packages/86/b2/c9eb114fce8e87b2acc0c7415ec55a81a45a58f9ac67d190d360373d584b/django-assetfiles-0.6.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "f38251f8b9bebfae8f2a8e6cb328f38d", "sha256": "1d4753e5c45b0c07b6329ae6f61a932acdcc8c404f3e8ffe74e278586f1b3bbb" }, "downloads": -1, "filename": "django-assetfiles-0.7.1.tar.gz", "has_sig": false, "md5_digest": "f38251f8b9bebfae8f2a8e6cb328f38d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17297, "upload_time": "2013-03-11T15:45:28", "url": "https://files.pythonhosted.org/packages/6e/c0/b873748a3296aa09c15b5b52f0f5f3cd1ee7df29a66413782b7e072efebd/django-assetfiles-0.7.1.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "7f436f14d1d6b77d2fb8e0aa863a2f0a", "sha256": "b70337b9d6c4fae053e256f7fb3f03527d3aa4e6f5365518ea24951edbd53d8e" }, "downloads": -1, "filename": "django-assetfiles-0.8.0.tar.gz", "has_sig": false, "md5_digest": "7f436f14d1d6b77d2fb8e0aa863a2f0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17256, "upload_time": "2013-12-04T16:55:31", "url": "https://files.pythonhosted.org/packages/70/dd/07a6411aa3d4861f199e279806662258367b13afd5000419a731332b3e8d/django-assetfiles-0.8.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7f436f14d1d6b77d2fb8e0aa863a2f0a", "sha256": "b70337b9d6c4fae053e256f7fb3f03527d3aa4e6f5365518ea24951edbd53d8e" }, "downloads": -1, "filename": "django-assetfiles-0.8.0.tar.gz", "has_sig": false, "md5_digest": "7f436f14d1d6b77d2fb8e0aa863a2f0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17256, "upload_time": "2013-12-04T16:55:31", "url": "https://files.pythonhosted.org/packages/70/dd/07a6411aa3d4861f199e279806662258367b13afd5000419a731332b3e8d/django-assetfiles-0.8.0.tar.gz" } ] }