Thanks,

I changed that and my path in urls.py and it worked. I appreciate the
help.



On Dec 17, 2:37 pm, "Tim Riley" <[EMAIL PROTECTED]> wrote:
> you are missing the beginning quote in the html line.
>
> On Dec 17, 2007 2:27 PM, newDjangoer <[EMAIL PROTECTED]> wrote:
>
>
>
> > That is the html line
>
> > from django.http import HttpResponse
> > import datetime
>
> > def current_datetime(request):
> >         now = datetime.datetime.now()
> >         html = :<html><body>It is now %s.</body></html>" % now
> >         return HttpResponse(html)
>
> > On Dec 17, 2:13 pm, Christian Joergensen <[EMAIL PROTECTED]> wrote:
> > > newDjangoer wrote:
> > > > Hello,
>
> > > > I am a new user to Django and developing apps at that. I ran the
> > > > server successfully . Once I created the "First View" tutorial
> > > > (datetime page17) in the book and changed the settings.py and urls.py,
> > > > I get the following:
>
> > > [...]
>
> > > > Exception Type:    SyntaxError
> > > > Exception Value:   invalid syntax (views.py, line 6)
>
> > > What's on that line?
>
> > > --
> > > Christian Joergensen | Linux, programming or web 
> > > consultancyhttp://www.razor.dk|     Visit us at:http://www.gmta.info
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to