{ "info": { "author": "Patrick Lauber", "author_email": "digi@treepy.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "the intention of this application is to enable static app files (css, js, pics) in the app folder itself.\n\n/media//js/script.js\n/media//js/script.js\n\n/media/logo.jpg\n\nTo use this view in development you should add something like the following to urls.py: \nif settings.DEBUG: urlpatterns += (r'^media/(?P.*)$', 'site.media.serve_apps', {'document_root' : settings.MEDIA_ROOT}) \n\nFor deployment there is a managament command called `symlinkmedia` that will create symlinks to each applications media directory in `MEDIA_ROOT`.\n\nNow all apps in INSTALLED_APPS that have a \"media\" directory in them will be reachable as '/media//'.\n\nYou can then have the admin media files served by setting ADMIN_MEDIA_PREFIX = '/media/admin/'", "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/divio/django-appmedia", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-appmedia", "package_url": "https://pypi.org/project/django-appmedia/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-appmedia/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/divio/django-appmedia" }, "release_url": "https://pypi.org/project/django-appmedia/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Handling django app media", "version": "1.0.1" }, "last_serial": 3552896, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "8b9927fe44490cd8ad947afcd3fdc2c9", "sha256": "c41cb355f10436a9c811ede7495b4088f785ea88a779fd6fb669ee2eb7cb4697" }, "downloads": -1, "filename": "django-appmedia-1.0.1.tar.gz", "has_sig": false, "md5_digest": "8b9927fe44490cd8ad947afcd3fdc2c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25263, "upload_time": "2010-04-11T17:06:28", "url": "https://files.pythonhosted.org/packages/f9/63/f5d9d04e0eea193bada59f2500b45053f500bd546d9094d5e68bc78f86b2/django-appmedia-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8b9927fe44490cd8ad947afcd3fdc2c9", "sha256": "c41cb355f10436a9c811ede7495b4088f785ea88a779fd6fb669ee2eb7cb4697" }, "downloads": -1, "filename": "django-appmedia-1.0.1.tar.gz", "has_sig": false, "md5_digest": "8b9927fe44490cd8ad947afcd3fdc2c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25263, "upload_time": "2010-04-11T17:06:28", "url": "https://files.pythonhosted.org/packages/f9/63/f5d9d04e0eea193bada59f2500b45053f500bd546d9094d5e68bc78f86b2/django-appmedia-1.0.1.tar.gz" } ] }