Validation error with syncdb
|Reported by:||Chris Beaven||Owned by:||Adrian Holovaty|
|Component:||Core (Management commands)||Version:|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have an
model linked to a
model has an EmailField named
Syncdb is complaining that:
Reverse query name for field 'contact' clashes with field 'Contact.email'."
If my understanding is correct, the reverse query name will be
so this shouldn't be a clash, should it? My work around at the moment is to actually set
, syncdb stops complaining but this is (in my understanding) the default reverse query name in this case anyway so it's a bit weird.
(Just to be clear, the
model is an actual email and the
field is an email address so they do serve seperate purposes)