PO
On Jun 16, 6:55 pm, "!...@!!!" wrote:
> P
>
> On Jun 16, 6:49 pm, "!...@!!!" wrote:
>
>
>
> > Thanks Thierry, but problem solved!...:)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@google
P
On Jun 16, 6:49 pm, "!...@!!!" wrote:
> Thanks Thierry, but problem solved!...:)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email t
Thanks Thierry, but problem solved!...:)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com
I noticed you are importing your project name, are you invoking your
"python manage.py shell" from within your project folder? If you are,
try the following:
project_folder/python manage.py shell
>>> from polls.models import Poll
>>> dir(Poll)
The above should show you that "was_published_today"
Never mind I solved the problem!
For all of you with the same problem: it appears that the first time
that you use or import (i'm not really sure) a class in the python
shell, it's source-code file is compiled automatically in a ".pyc"
file, in the same directory where the source-code file is locat
Never mind I solved the problem!
For all of you with the same problem: it appears that the first time
that you use or import (i'm not really sure) a class in the python
shell, it's source-code file is compiled automatically in a ".pyc"
file, in the same directory where the source-code file is locat
Hello,
I am a Python newbie and this is my first time I use Django and
Python.
I was reading the Django App tutorial Part 1 and got stuck in a place.
I execute these statements in the Python Shell:
>>> from mysite.polls.models import Poll, Choice
>>> import datetime
>>> p = Poll(question="What's
7 matches
Mail list logo