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_
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
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
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.
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
5 matches
Mail list logo