Re: AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
Hey Tom,
My ROOT_URLCONF points to 'urls' which is the top level urlconf for my site. Besides all my urls do work. This error keeps coming intermittently but does not affect my application logic in any way I know. So I need to know why this error keeps getting reported and how to fix it.
Thanks,
Pratik
On Tuesday, July 2, 2013 4:53:09 PM UTC+5:30, Tom Evans wrote:
-- On Tuesday, July 2, 2013 4:53:09 PM UTC+5:30, Tom Evans wrote:
On Tue, Jul 2, 2013 at 12:14 PM, Pratik Mandrekar
<pratikm...@gmail.com> wrote:
>
> Hello,
>
>
> I keep getting the error AttributeError: 'RegexURLResolver' object has no
> attribute '_urlconf_module' and the only trace available is as shown below:
>
> 'RegexURLResolver' object has no attribute '_urlconf_module'
>
> My Sentry Error reporting normally shows the above error along with
> another error, both of which seem to happen simultaneously
>
>
> django.core.urlresolvers in urlconf_module
>
> AttributeError: 'RegexURLResolver' object has no attribute
> '_urlconf_module'
>
>
> The trace for which is
>
>
> @property
>
> def urlconf_module(self):
>
> try:
>
> return self._urlconf_module
>
> except AttributeError:
>
> self._urlconf_module = import_module(self.urlconf_name)
>
> return self._urlconf_module
>
> @property
>
>
> 'self'
>
> <RegexURLResolver urls (None:None) ^/>
>
>
> I'm on Django 1.4. I have been unable to debug this for weeks. Any help
> would be appreciated.
>
>
> Thanks,
>
> Pratik
>
Sounds like your ROOT_URLCONF is incorrectly specified in settings.
Cheers
Tom
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+unsubscribe@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.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home