Skip to main content

A basic Django application to store and manage media.

Project description

A reusable [Django](http://www.djangoproject.com/) application to store and manage media. This application was originally created by [Nathan Borror](http://nathanborror.com/) for [django-basic-apps](https://github.com/nathanborror/django-basic-apps), his collection of simple prebuilt Django applications.

How it Works

Models are included for storing audio, photos, and video, as well as sets of these three objects. URLs (using generic views) and templates are included for displaying these objects.

Requirements

Installation

django-media is available on PyPI and can be installed with PIP.

pip install django-media

Alternatively, you may download the source and install it.

python setup.py install

Setup

Add media to your settings.INSTALLED_APPS.

### URLs

If you wish to use the default URL structure, you may do so by adding them to your project’s URL patterns. For example:

urlpatterns = patterns(‘’,

… (r’^photos/’, include(‘media.urls.photos’)),

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-media-1.0.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

django_media-1.0.1-py2.7.egg (14.3 kB view details)

Uploaded Source

File details

Details for the file django-media-1.0.1.tar.gz.

File metadata

File hashes

Hashes for django-media-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a4f0c9de90cd73f7e620a76dc1cd40ddc35a925a46c9aa9c41275e6e96451c05
MD5 4c72c4e0dbb4e89f4775287b7268f3f6
BLAKE2b-256 aedac8d6df79c807071ca05823c2c523c0a3563eeb756f733c48d20838ed0e0c

See more details on using hashes here.

File details

Details for the file django_media-1.0.1-py2.7.egg.

File metadata

File hashes

Hashes for django_media-1.0.1-py2.7.egg
Algorithm Hash digest
SHA256 1343a08760430cb4f476d60a79b09edf26e77b801c01e876ae057d54c37a2092
MD5 56c6e8a0a8593f375336033a259b6b09
BLAKE2b-256 8da894eb2c8431e5e6f43b2f8afbcce32f401b0f612f4b5ccfe385af00bb28db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page