On 23/03/11 10:32, Matt Harasymczuk wrote: > I give you an example: > > BTW switch name from media to "useruploaded" or "uploaded", which IMHO > is self explaining, hence MEDIA is not. > > STATICFILES = { > 'uploaded' : { # old name MEDIA > 'PREFIX' : '', > 'ROOT': '', > 'URL': '', > }, > 'admin': { > 'PREFIX' : '', > 'ROOT': '', > 'URL': '', > }, > 'static': { > 'PREFIX' : '', > 'ROOT': '', > 'URL': '', > } > } >
If you look at the actual settings that exist, and the way they are used, there isn't really enough symmetry in them to support this change (only 5 of the 9 slots are needed). Given that things like 'settings.MEDIA_URL' are going to be used in many bits of code (unlike settings for caches and databases, which are very rarely used in user code), and these would have change to "settings.STATICFILES['uploaded']['URL']", I don't see the case to make this change. Cheers, Luke -- "I am going to let you move around more, just to break up the mahogany." (True Quotes From Induhviduals, Scott Adams) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.