[Answered ]-TemplateSyntaxError at /admin/ Caught ImportError while rendering: No module named model.urls

2👍

Apparently, somewhere in your project you are importing model.urls, which is a very un-django place to put something related to urls and makes me think you just mis-typed a line. There are no urls inside of a models folder or models file in the django project.

While that specific error @ admin-docs is notorious for giving a useless traceback (the real error is too deep), can you post it anyways?

Either way, I would search your own source code for model.urls via grep to fix your problem.
Navigate to your project root folder and type in grep -r "model.urls" .

Leave a comment