Search code examples
pythondjango-adminapache2mod-wsgislicehost

"Caught ImportError while rendering: No module named urls" in Admin


I have recently created an account at SliceHost and made a new Slice. I copied my new project in and changed the paths in settings, and every file. But, when i try to access the admin interface, I get this error:

TemplateSyntaxError at /admin/
Caught ImportError while rendering: No module named urls

In template /usr/local/lib/python2.6/dist-packages/django/contrib/admin/templates/admin/base.html, error at line 31
Caught ImportError while rendering: No module named urls

Anyone know why?


Solution

  • I fixed my problem. It was because I was at the wrong version of Haystack. Thanks though guys.