Thank you Kevin, problem solved. I'm actually reading the book from
www.djangobook.com. I need to cross reference with the documentation on
www.thedjangoproject.com.
Best,
SB
On Thu, Mar 15, 2012 at 11:43 AM, Kevin Wetzels wrote:
>
>
> On Thursday, March 15, 2012 7:32:53 PM UTC+1, Django_for_S
On Thursday, March 15, 2012 7:32:53 PM UTC+1, Django_for_SB wrote:
>
> 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
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:
3 matches
Mail list logo