Hi, When Django 1.5.1 is being used with DEBUG=False then ALLOWED_HOSTS parameter in settings.py must be set up.
Please try to check if that solves the problem. Cheers, <http://www.facebook.com/quobis> <http://www.linkedin.com/company/quobis-networks> <http://twitter.com/#%21/quobis> <http://blog.quobis.com/> <http://blog.quobis.com/>* David Patiño Quintela *VoIP Engineer * Fixed: *+34 902 999 465 * Mobile:* +34 653 802 009 *Email:* david.pat...@quobis.com *Site: *http://www.quobis.com *Blog:* http://blog.quobis.com * * <http://blog.quobis.com/> — This electronic message contains information which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. * * 2013/4/22 liu li <alajl...@gmail.com> > Hi > > When Debug = False, all of things are working fine, > > when Debug = True, browser got an error with 500 > > so do you know why? > > I am using nginx to handle all of static files like css,img > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.