Parent module adsite.adsiteviews.mainhanlder does not exist

Jason Friedman jason at powerpull.net
Sun Jan 20 09:49:40 EST 2013


> I created a django project using django 1.4.2. There is one 'app'(adsite) in this project. And It works. But when I copied some 'py' files into the 'app' folder, I got "Parent module adsite.adsiteviews.mainhanlder does not exist." Should I register the new files to __init__ in the 'app'? Did new coped files break the "import" rules?

I do not know if this is your problem, and I know little about django,
but is "mainhanlder" a typographical error?



More information about the Python-list mailing list