www/py-django-appmedia - The NetBSD Packages Collection

Handling django app media

The intention of this application is to enable static app files (css, js, pics)
in the app folder itself.
	/media//js/script.js
	/media//js/script.js
	/media/logo.jpg

To use this view in development you should add something like the following to
urls.py:
	if settings.DEBUG:
	  urlpatterns += (r'^media/(?P.*)$', 'site.media.serve_apps',
	  {'document_root' : settings.MEDIA_ROOT})

For deployment there is a managament command called `symlinkmedia` that will
create symlinks to each applications media directory in `MEDIA_ROOT`.

Now all apps in INSTALLED_APPS that have a "media" directory in them will be
reachable as '/media//'.

You can then have the admin media files served by setting
	ADMIN_MEDIA_PREFIX = '/media/admin/'

Build dependencies

pkgtools/cwrappers

Runtime dependencies

www/py-django devel/py-setuptools44 lang/python27 lang/python27

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfpy27-django-appmedia-1.0.1.tgz
NetBSD 8.0earmv7hfpy27-django-appmedia-1.0.1.tgz
NetBSD 8.0earmv7hfpy27-django-appmedia-1.0.1.tgz
NetBSD 8.0i386py27-django-appmedia-1.0.1.tgz
NetBSD 8.0i386py27-django-appmedia-1.0.1.tgz
NetBSD 8.0powerpcpy27-django-appmedia-1.0.1.tgz
NetBSD 8.0powerpcpy27-django-appmedia-1.0.1.tgz
NetBSD 8.0powerpcpy27-django-appmedia-1.0.1.tgz
NetBSD 8.0powerpcpy27-django-appmedia-1.0.1.tgz
NetBSD 8.0x86_64py27-django-appmedia-1.0.1.tgz
NetBSD 8.0x86_64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0aarch64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0aarch64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0aarch64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0alphapy27-django-appmedia-1.0.1.tgz
NetBSD 9.0alphapy27-django-appmedia-1.0.1.tgz
NetBSD 9.0alphapy27-django-appmedia-1.0.1.tgz
NetBSD 9.0earmv6hfpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0earmv6hfpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0earmv6hfpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0earmv7hfpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0earmv7hfpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0earmv7hfpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0earmv7hfpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0i386py27-django-appmedia-1.0.1.tgz
NetBSD 9.0i386py27-django-appmedia-1.0.1.tgz
NetBSD 9.0mips64ebpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0mips64ebpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0mips64ebpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0mips64ebpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0powerpcpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0powerpcpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0powerpcpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0powerpcpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0sparc64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0sparc64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0sparc64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0sparcpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0sparcpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0sparcpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0sparcpy27-django-appmedia-1.0.1.tgz
NetBSD 9.0x86_64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0x86_64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0x86_64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0x86_64py27-django-appmedia-1.0.1.tgz
NetBSD 9.0x86_64py27-django-appmedia-1.0.1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.