model string reprentations

2008-12-12 Thread ben852
Hi, I am new to django and programming. I have a problem with the method _str_( ). Following the tutorial, I edited my models.py file in mysite/books and wrote: class Publisher(models.Model): name = models.Charfield(max_length=30) address = models.Charfield(max_length=30) websit

Re: model string reprentations

2008-12-12 Thread ben852
thanks a lot On Dec 12, 3:06 pm, Jeff FW wrote: > Sure do: it should be __str__() with two underscores on either side, > not one. > > -Jeff > > On Dec 12, 7:33 am, ben852 wrote: > > > Hi, > > I am new to django and programming. > > I have a problem with

database sqlite3

2008-12-12 Thread ben852
C:\Users\Benjamin\Desktop\mysite\sqlite3 SQLite3 version 3.6.6.2 Enter".help" for instructions... C:\Users\Benjamin\Desktop\mysite\python manage.py dbshell Error: You appear not to have the 'sqlite3'program installed or on your path I have the latest version of django (SVNsubversion) and I

django database SQLite3

2008-12-14 Thread ben852
C:\Users\Benjamin\Desktop\mysite\sqlite3 SQLite3 version 3.6.6.2 Enter".help" for instructions... C:\Users\Benjamin\Desktop\mysite\python manage.py dbshell Error: You appear not to have the 'sqlite3'program installed or on your path I have the latest version of django (SVNsubversion) and I t