Skip to main content

A reusable Django app for uploading/previewing audio files plus a simple id3 tag reader (Title/Artist/Album)

Project description

A reusable Django app for uploading/previewing audio files with a simple id3 tag reader.

https://github.com/ngrinkevich/django-audioadmin/raw/master/docs/images/audioadmin.gif

Installation

  • Requires Django 1.7 or greater

  • Install from PyPi with pip:

    pip install django-audioadmin
  • Add "audioadmin" to the INSTALLED_APPS in your settings.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

Credits

License

Django-Audioadmin is licensed under MIT, see MIT-LICENSE.txt.

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-audioadmin-0.1.0.tar.gz (534.5 kB view hashes)

Uploaded Source

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