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]>
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
, 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
;
> 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
;
> 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
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
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
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
8 matches
Mail list logo