#8336: runserver option for disabling admin static files serving
------------------------------------------------+---------------------------
          Reporter:  jakub_vysoky               |         Owner:  nobody        
       
            Status:  closed                     |     Milestone:                
       
         Component:  django-admin.py runserver  |       Version:  SVN           
       
        Resolution:  wontfix                    |      Keywords:  admin media 
runserver
             Stage:  Design decision needed     |     Has_patch:  1             
       
        Needs_docs:  0                          |   Needs_tests:  0             
       
Needs_better_patch:  0                          |  
------------------------------------------------+---------------------------
Comment (by anonymous):

 This bit of magic just cost me an hour of head scratching.  I must have
 missed the documentation that says django-admin runserver will serve the
 built-in admin media no matter what you set ADMIN_MEDIA_PREFIX to (or so
 it seems?).  Since there is no CSS fallback system (ala the template
 hierarchical lookup system) it makes sense to just copy the whole admin
 media to another directory and edit it directly to avoid messing up
 django's installed admin media used by other apps.  I don't see how to do
 this except with the http://localhost trick proposed above. At the very
 least this should be documented better, magic is for Rails :-)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8336#comment:5>
Django Code <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 [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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to