Django download file from media - nice
django-media-explorer 0.3.10
Update settings
Add these to your INSTALLED_APPS settings
'rest_framework', 'micawber.contrib.mcdjango', 'media_explorer', 'ckeditor',Add these to your urls.py
url("^ckeditor/", include("ckeditor.urls")), url("^", include("media_explorer.urls")),Copy and paste this code into the bottom of your settings.py file.
try: from media_explorer.settings import * except ImportError: passThe DME application will try to resize your images during your upload. If you do not want to resize your images then set the setting DME_RESIZE = False somewhere in your settings.py file (after the “media_explorer.settings” import).
If you use your own JQuery in your admin pages and you do not want the DME application JQuery to conflict with yours then set DME_INCLUDE_JQUERY = False (since v0.3.6).
Create tables
Run these migration commands to create your database tables.
python manage.py makemigrations python manage.py migrate
-