My favorites | Sign in
Logo
                
Activity: Low
Code license:
New BSD License
Labels:
django, file, upload, media, browser
Featured wiki pages:
ToDo
Show all »
External links:
Lincoln Loop
Feeds:
Project feeds

This code is no longer maintained and no longer works in current versions of Django. Forks of it live on in a few different places:

File/media browser for Django admin interface. Designed to insert images and files into textareas in the admin interface with a simple GUI interface.

To install:

svn co http://django-admin-uploads.googlecode.com/svn/trunk/ django-admin-uploads
  1. Move upload to your Python Path
  2. Move upload_media to your MEDIA_ROOT
  3. Create uploads folder in your MEDIA_ROOT
  4. Move the upload folder inside templates to your project template folder
  5. Add upload to your INSTALLED_APPS
  6. Add this to your urlpatterns: (r'^uploads/', include('upload.urls'))
  7. Add the following line to the Admin class on any model you would like to have uploads available
  8. js = ['/static/upload_media/jquery.js', '/static/upload_media/model.js']

or to add TinyMCE for WYSIWYG editing

js = ['/static/upload_media/jquery.js', '/static/upload_media/tiny_mce/tiny_mce.js', '/static/upload_media/model.js']

where /static is your MEDIA_ROOT

Now manage.py syncdb and cross your fingers :)

External Services (Flickr, YouTube)









Powered by Google Project Hosting