Re: OperationalError -- Table has no column named ..

2008-12-09 Thread djan
e) videos = models.ManyToManyField(Videos, blank=True) location = models.ForeignKey(Gallery) expiry = models.DateField() def __unicode__(self): return u'%s %s' % (self.location, self.expiry) On Dec 9, 10:31 am, Daniel Roseman <[EMAIL PROTECTED]>

OperationalError -- Table has no column named ..

2008-12-08 Thread djan
Hello, I'm running OpenSuSE-11.0 with the lastest version of django and sqlite3. When I enter the admin interface to enter data into my database, I got the error: OperationalError at /admin/archive/artist/add/ table archive_artist has no column named salutation Request Method: POST Req

Re: admin.py -- AlreadyRegistered

2008-12-02 Thread djan
, BookAdmin) When I entered just this class, it worked for me the first time around, though later adding more fields I still do not understand what provoked that error. Thanks for helping me get it running at any rate! On Dec 3, 4:39 am, djan <[EMAIL PROTECTED]> wrote: > Thanks for the r

Re: admin.py -- AlreadyRegistered

2008-12-02 Thread djan
; > Just put '#' in front of admin.site.register(Book, BookAdmin) .Now run the > server ,if it s ok then remove the # > > On Tue, Dec 2, 2008 at 12:47 PM, Roland van Laar <[EMAIL PROTECTED]> wrote: > > > > > djan wrote: > > > Hello. > > &g

Re: admin.py -- AlreadyRegistered

2008-12-02 Thread djan
; > Just put '#' in front of admin.site.register(Book, BookAdmin) .Now run the > server ,if it s ok then remove the # > > On Tue, Dec 2, 2008 at 12:47 PM, Roland van Laar <[EMAIL PROTECTED]> wrote: > > > > > djan wrote: > > > Hello. > > &g

admin.py -- AlreadyRegistered

2008-12-01 Thread djan
Hello. I'm following along with djangobook.com and trying to make necessary changes to port django to version 1.0. In Django's Site Administration, chapter 6, I run into the error: Exception Type: AlreadyRegistered Exception Value:The model Book is already registered Exception L

Re: djangobook.com, chapter 5, __init__() got an unexpected keyword argument 'maxlength'

2008-12-01 Thread djan
Thank you all! This did the trick, and I'm sure it will help be avoid future problems. On Dec 1, 9:57 am, Praveen <[EMAIL PROTECTED]> wrote: > write max_length instead of maxlength > > On Dec 1, 1:01 pm, Roland van Laar <[EMAIL PROTECTED]> wrote: > > > d

djangobook.com, chapter 5, __init__() got an unexpected keyword argument 'maxlength'

2008-11-30 Thread djan
Hello, I'm following along with djangobook.com, and I have a problem in chapter 5 that I cannot resolve. I am using OpenSuSE-11.0, Python 2.5.2, sqlite3-3.5.7-17.1 (and incidentally, this same error occurs with MySQL). When I run the following: $ python manage.py validate I receive: Traceback