python manage.py syncdb error (L@@K)

2009-09-14 Thread about2flip
Hi: I am using learn django in 24 hours and I am following this example on models. from django.db import models class Person(models.Model): name = models.CharField('name', maxlength=200) email = models.EmailField('Email', blank=True) headshots = models.ImageField(upload_

Re: SyntaxError: unexpected character after line continuation character

2009-09-14 Thread about2flip
That worked, thank you very much! On Sep 14, 4:23 am, Tim Chase wrote: > >   File "C:\djproj\mysite\..\mysite\views.py", line 1 > > >     {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss > > \fcharset0 Arial;}} > > > ^ > > SyntaxError: unexpected character after line continuation ch

Re: django-admin.py the system cannot execute the specified program

2009-09-14 Thread about2flip
Thanks for reply. No I get: SyntaxError: unexpected character after line continuation character I am running it from my command prompt:>>python hello.py Is that correct? On Sep 13, 10:29 pm, Karen Tracey wrote: > On Sun, Sep 13, 2009 at 3:09 PM, about2flip wrote: > > > I

SyntaxError: unexpected character after line continuation character

2009-09-14 Thread about2flip
I am learning from djangobook.com using the 2edition online ver. I am doing my first view from django.http import HttpResponse def hello(request): return HttpResponse("Hello world") -- and this is my urls.py file: from django.conf.

django-admin.py the system cannot execute the specified program

2009-09-13 Thread about2flip
I am learning django, and I am having doubts if it is worth it. I am trying to startproject and I keep getting the system cannot execute the specified program error at my command prompt. I would type: django-admin.py startproject name and then I get the error. I am using python 2.6, django 1.1 o