Models don't work on MySQL
Bug #1018682 reported by
François Marier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Libravatar (obsolete) |
Triaged
|
Low
|
Unassigned |
Bug Description
root@app1:
Error: One or more models did not validate:
account.
255 when using "unique=True".
It looks like we'll have to limit OpenID URLs to 255 characters. Not ideal, but probably OK for the vast majority of them.
Changed in libravatar: | |
importance: | Medium → Low |
To post a comment you must log in.
15:35 < hellekin> fmarier: BTW the Django docs say that "Any fields that are stored with VARCHAR column
types have their max_length restricted to 255 characters if you are using unique=True
for the field." URLField( unique= True,
verify_ exists= False, max_length= MAX_LENGTH_ URL)
15:36 < hellekin> and ComfirmedOpenId class says: openid = models.
15:36 < hellekin> so it *will* be restricted to 255 chars anyway