On Wed, Feb 29, 2012 at 3:09 PM, furby <jasonno...@gmail.com> wrote: > A site I built several years ago is breaking randomly today due to the > extra leap year day. Any help on this would be appreciated. I can't > track it down. > > Traceback (most recent call last): > File "/home/nolenjb/django/django_src/django/core/handlers/base.py" in > get_response > 68. callback, callback_args, callback_kwargs = > resolver.resolve(request.path) > File "/home/nolenjb/django/django_src/django/core/urlresolvers.py" in > resolve > 160. for pattern in self.urlconf_module.urlpatterns: > File "/home/nolenjb/django/django_src/django/core/urlresolvers.py" in > _get_urlconf_module > 180. raise ImproperlyConfigured, "Error while importing URLconf %r: > %s" % (self.urlconf_name, e) > > ImproperlyConfigured at /admin/ > Error while importing URLconf 'permitprint.urls': day is out of > range for month >
So, it is going wrong because something that is in your urlconf causes an exception, and so the urlconf cannot be imported. You need to show the code from your urlconf. Two other unrelated things: 1) You're running with DEBUG=True on a production site! Don't do that! 2) You seem to be using Django 0.96! Django 1.4 is about to be released, there are 'several' bugs fixed in between those two versions. Perhaps even something that causes this problem! Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.