On Wed, 2011-06-29 at 03:51 -0400, srinivasan panneer wrote:
> For example I have Views.py
is it Views.py or views.py?
--
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/
--
You received this message because you are subscribed to the Google Groups
"Djang
This can't be stressed enough.
Please read http://www.python.org/dev/peps/pep-0008/ and try to follow it as
best as you can.
Sincerely,
André Terra
On Wed, Jun 29, 2011 at 12:26 PM, bruno desthuilliers <
bruno.desthuilli...@gmail.com> wrote:
>
>
> On Jun 29, 3:41 pm, Bill Freeman wrote:
> >
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 "Views.py" using the
> name "views", as in "polls.views". You would have to u
A couple of basic python things for you to check:
1: You must have a file named "__init__.py" (it may be an empty file)
in any directory that is to occur before a "." in an import statement.
The presence of this file makes the directory a "package", just like
having a name ending in ".py" makes a
You do have a __init__.py file in each of the sub folders, correct?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/G33m7AMAv7wJ.
To post to this group, sen
Hi Guys
I am very new to Python and Django and having problem with importing modules in
my project,
I am following the tutorial, which i downloaded from django website. Where I
have the following folder hierarchy in my Django project.(using Pycharm IDE)
HelloWorldDjangoHelloWorldDjango/HelloWor
6 matches
Mail list logo