#12323: add support for STATIC_URL and STATIC_ROOT
-------------------------------------+--------------------------------------
          Reporter:  nagyv           |         Owner:  nobody                   
                               
            Status:  new             |     Milestone:                           
                               
         Component:  Core framework  |       Version:  1.1                      
                               
        Resolution:                  |      Keywords:  settings, media_url, 
media_root, static_url, static_root
             Stage:  Unreviewed      |     Has_patch:  1                        
                               
        Needs_docs:  0               |   Needs_tests:  0                        
                               
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Changes (by carljm):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I think the primary gain here would be if the form Media could be
 converted to use the new STATIC_ROOT setting rather than MEDIA_ROOT;
 currently form media in reusable apps using relative URL paths is a nasty
 sticking point if you are trying to separate user-uploaded media from
 static assets.

 Also, the [http://docs.djangoproject.com/en/dev/howto/static-files/#howto-
 static-files static file serving] documentation page currently
 demonstrates the creation of a custom setting, STATIC_DOC_ROOT; that could
 perhaps be changed to STATIC_ROOT if this goes through.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12323#comment:1>
Django <http://code.djangoproject.com/>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to