On 10/10/07, drdukk <drdukk gmail.com> wrote:
>
> I'm new to python and django and I'm trying to follow
the tutorial on
> djangobook.com, but when i get to the step (chapter 3)
where the first
> piece of code should be executed (current_time) i get a
NameError
> telling me "name 'current_datetime' is not
defined"
>
> I'm running django 0.96 on python 2.5.1 on windows
2003.
>
> I get the "It worked" screen fine.
>
> I think I have all paths as they should be, my project
is in
> pythonpath, I can import my project, the url is
mapped.
>
> Any tips would be greatly appreciated, I can't seem to
find anything
> about it elsewhere (as it's apparently a very generic
error).
>
drdukk, sorry for lack of response on mailing list. The
beta version
of the book has been out for quite a while and is not in
line w/
django is some respects.
Even so, when reporting errors like this, putting code on
dpaste.com
as well as (full) traceback will generally get you a more
helpful and
informed response.
Glad IRC worked for you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-users googlegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|