#2423: Admin uploads go to admin media folder, not MEDIA_ROOT
---------------------------------------------------+------------------------
 Reporter:  Tyson Tate <[EMAIL PROTECTED]>  |       Owner:  adrian   
     Type:  defect                                 |      Status:  new      
 Priority:  normal                                 |   Milestone:           
Component:  Admin interface                        |     Version:  SVN      
 Severity:  normal                                 |    Keywords:  upload_to
---------------------------------------------------+------------------------
 I have the following settings in my settings.py file:
 
 {{{
 MEDIA_ROOT = '/Users/ttate/Desktop/fallingbullets/project-media/'
 MEDIA_URL = 'http://localhost:8000/project-media/'
 ADMIN_MEDIA_PREFIX = '/media/'
 }}}
 
 I also have a model with the following:
 
 {{{
 image = models.ImageField(upload_to="portfolio", core=True)
 }}}
 
 When I use the admin interface to upload an image, it gets placed in
 {{{/media/portfolio}}} and not {{{/project-media/portfolio}}}, where it
 should have gone.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2423>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to