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
[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’)),
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-media-1.0.tar.gz
.
File metadata
- Download URL: django-media-1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 090e0516042d5278a890546f1c51841362b3469eff29004bd42404bdb903b74c |
|
MD5 | 0c16697092624961c5bcb150e711e365 |
|
BLAKE2b-256 | 653dd01e8d7761ce14ca65932f78183b167ab221ec6f4b161a5438d1eedba144 |
File details
Details for the file django_media-1.0-py2.7.egg
.
File metadata
- Download URL: django_media-1.0-py2.7.egg
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6460399e48d88214304e786536f5f22ab656e3bb21b19f57b66ec3330384c519 |
|
MD5 | 67323f902d62dad45b218c189bee7c84 |
|
BLAKE2b-256 | 962123ba9f31be42ccad14f50a68e1b59a749e9c754b2f564ec2e9177390ed81 |