On Mon, Apr 7, 2008 at 10:10 PM, Purcell <[EMAIL PROTECTED]> wrote:
>
> views.py--
> from django.http import HttpResponse
> import datetime
>
> def current_datetime(request):
> now = datetime.datetime.now()
> html = "It is now %s." %
> now
> return HttpResponse(html)
>
> def hour
I am sure this is an incredibly stupid error that is staring me in the
face, but I do not know what it is. On the example where you make an
hours_ahead view. I created the view in views.py and I added the
pattern to urls.py, but when I try to go to a pages to test such as
http://127.0.0.1:8000/tim
2 matches
Mail list logo