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
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
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
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
4 matches
Mail list logo