Wednesday, June 29, 2011

Re: unable to import Modules Present in subdirectores

On Jun 29, 3:41 pm, Bill Freeman <> wrote:
> A couple of basic python things for you to check:
> 2: Python imported names are case sensitive, even if your filesystem
> is not.  Thus you cannot import a module named "" using the
> name "views", as in "polls.views".  You would have to use, for
> example, "polls.View".  If the name of the package is "Polls" then you
> would have to use "Polls.Views".

The obvious conclusion being: only use all_lower names for your
packages and modules names.

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment