A reusable Django app for uploading/previewing audio files with a simple id3 tag reader.
Requires Django 1.7 or greater
Install from PyPi with pip:
pip install django-audioadmin
Add
"audioadmin"
to theINSTALLED_APPS
in yoursettings.py
:INSTALLED_APPS = ( ... "audioadmin" ... )
Make sure you have your Media folder setup. Add these to your
settings.py
:MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
Make sure your media files can be served on dev. Add these to your
urls.py
:urlpatterns = patterns('', ... url(r'^admin/', include(admin.site.urls)), ... ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Run migrations:
./manage.py migrate
Start development server:
./manage.py runserver
To run tests:
./manage.py test
- Audio playback is provided by SoundManager2
Django-Audioadmin is licensed under MIT, see MIT-LICENSE.txt.