Re: View function and URL Conf basic question

2014-02-27 Thread Camilo Torres
On Wednesday, February 26, 2014 9:24:51 AM UTC-4:30, Daniel Roseman wrote: > > On Wednesday, 26 February 2014 08:10:40 UTC, ApathyBear wrote: >> >> Here is my urls.py: >> >> from django.conf.urls.defaults import *from mysite.views import hello, >> current_datetime, hours_ahead >> urlpatterns = pat

Re: View function and URL Conf basic question

2014-02-26 Thread Daniel Roseman
On Wednesday, 26 February 2014 08:10:40 UTC, ApathyBear wrote: > > I am brand new to Django, so bare with me. > > I am a little confused with this example shown in the Django book: > > Here is my urls.py: > > from django.conf.urls.defaults import *from mysite.views import hello, > current_datetime

View function and URL Conf basic question

2014-02-26 Thread ApathyBear
I am brand new to Django, so bare with me. I am a little confused with this example shown in the Django book: Here is my urls.py: from django.conf.urls.defaults import *from mysite.views import hello, current_datetime, hours_ahead urlpatterns = patterns('', url(r'^hello/$', hello), url(