Re: settings.py DEBUG crash

39 views
Skip to first unread message

Rafael E. Ferrero

unread,
Aug 31, 2012, 5:49:11 PM8/31/12
to django...@googlegroups.com
maybe you are using the development server for serve statics files.
I had the same problem, in google i find the answer (if you copy all css files from contrib.admin in your media directory, django look for that files first)

hope to help you

2012/8/31 Alex Bruno Cáceres <alexbruno...@gmail.com>
Hello people!
I'm learning Django and have a doubt.
When I set DEBUG=False in settings.py, Dajngo Admin looses CSS theme, it crashes layout and show only HTML.
Why it happens? I did something wrong?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/QZCqSHkbXDQJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Rafael E. Ferrero
Claro: (03562) 15514856

Rafael E. Ferrero

unread,
Aug 31, 2012, 5:52:05 PM8/31/12
to django...@googlegroups.com

Alex Bruno Cáceres

unread,
Sep 2, 2012, 10:58:43 AM9/2/12
to django...@googlegroups.com
Thank you guys! I'll try these solutions.
Reply all
Reply to author
Forward
0 new messages