Hi All,
I'm using render_to_response() in my views.py module. And of course,
I've imported the method:
"from django.shortcuts import render_to_response"
# This is the code that's generating the error:
def hours_ahead(request, offset):
try:
offset = int(offset)
except ValueError:
Hello All,
I'm going through the tutorial on djangoproject.com, and can't seem to
hurdle over this section that reads "Write views that actually do
something"
Here's the code I have so far, which is directly copied from the
tutorial or prescribed by the tutorial:
views.py:
"from django.template
Django Gurus,
I'm an absolute beginner using Python in Django. I'm currently going
through the tutorial, part 1, on the djangoproject.com main website:
https://docs.djangoproject.com/en/1.3/intro/tutorial01/. I keep trying
to complete part 1 of the tutorial, step by step, meaning, I'll go
through
3 matches
Mail list logo