#8596: Error while importing URLconf 'mysite.urls': No module named models
--------------------------------------+-------------------------------------
Reporter: tolano | Owner: nobody
Status: new | Milestone: 1.0
Component: Admin interface | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Comment (by Karen Tracey <[EMAIL PROTECTED]>):
Replying to [comment:5 tolano]:
> I have attached a patch. This just make the site work if there is some
error making an import.
>
> My site is working now but there is no admin interface for one of my
apps. I think it must be a problem with namespaces but it's one of the
most weird s things I have ever seen.
>
The problem seems to be, then, that the import of the admin.py for this
app is failing. Your patch simply ignores the error, which is not likely
what Django wants to do. Try importing the admin.py file for this app
from a manage.py shell prompt and see what is causing it to fail. That's
the real problem that needs fixing.
--
Ticket URL: <http://code.djangoproject.com/ticket/8596#comment:6>
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
-~----------~----~----~----~------~----~------~--~---