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
[Python Imaging Library](http://www.pythonware.com/products/pil/) is required for getting photo EXIF data.
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’)),
Release files for django-media 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-media-1.0.1.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_media-1.0.1-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 20.7 kB
Release files / django-media-1.0.1.tar.gz
| Download URL | django-media-1.0.1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4f0c9de90cd73f7e620a76dc1cd40ddc35a925a46c9aa9c41275e6e96451c05
|
|
BLAKE2b-256 checksum How to use checksums |
aedac8d6df79c807071ca05823c2c523c0a3563eeb756f733c48d20838ed0e0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_media-1.0.1-py2.7.egg
| Download URL | django_media-1.0.1-py2.7.egg |
|---|---|
| Size | 14.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
1343a08760430cb4f476d60a79b09edf26e77b801c01e876ae057d54c37a2092
|
|
BLAKE2b-256 checksum How to use checksums |
8da894eb2c8431e5e6f43b2f8afbcce32f401b0f612f4b5ccfe385af00bb28db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |