Forums

No module named myapp

Hi,

I'm following the Django tutorial, and after restart 3 times I didn't understand why they gave me this error : django.template.base.TemplateSyntaxError: Caught ImportError while rendering: No module named myapp !

My error log file : pastbin My urls.py : urls.py My settings.py : settings.py

Thanks for your help (and my apologies for my english, it's not my native language)

Hi there -- that's probably because you've only specified myapp in your settings.py. Try mysite.myapp.

Ok, that's it. Well done !

Sorry I didn't read all instruction

Thanks Giles

No problem, glad to help! Is there anything we could have put in the instructions to make it more obvious?

Yep, in french ? ;)

Ahh. Might be tricky :-S