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

Available binary packages

aarch64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
aarch64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
aarch64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
alpha:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
alpha:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
earmv6hf:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
earmv6hf:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
earmv6hf:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
earmv6hf:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
earmv7hf:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
earmv7hf:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
earmv7hf:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
earmv7hf:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
earmv7hf:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
earmv7hf:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
earmv7hf:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
earmv7hf:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
i386:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
i386:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
i386:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
i386:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
i386:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
i386:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
mips64eb:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
powerpc:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
powerpc:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
powerpc:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
powerpc:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
sparc64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
sparc64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
sparc:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 8.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)
x86_64:py27-django-appmedia-1.0.1.tgz(NetBSD 9.0)

Binary packages can be installed with pkgin or pkg_add(1). 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.


[ Go up one level | Go to top of packages tree | List all packages ]