Tuesday, September 29, 2015

Re: Admin: Unknown fields

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWCs3jAAoJEH2EY3tf/UcFO4gQAIk2VvwGM8OsAz255ipEuwRO
IUgelLIO2DWXuFPYdQcVy7mmRtI6+9btqt6clKfGTgc59ZKt6yqldv/URnrdF/Fu
CPn4CpBxck5EgQQAyNDPAlGmFznflx7V2vNZg/riIFVMFq1xQF0DODLnP+op3fw8
qLfuG6BR9TsCOpd9Vlz6CSG1cUBYtsQo+Y/14McDBgCo+l16VmlhOXxZ+rax3jvr
5qbJ9QN0FUaIoblSahP3YMR6n3Z1j0B845Xet71JPE4uHX7Ljq2sO2Heve/1IeDo
m5Kc202Q4IpYcONIbFygaqkS7HiV8vs3bKw9t7gzwPof5J0AOp2/1mjtRzDZXXoC
wOHD74nl/HRrXnT7nR9oC4+H5jXhykDzugWFuijLmYiEdvhKo0PZ+NNilbvleTJU
q12aIcP2hR1Xr+IX93vHDfdK3uR5aKFEKkG7hnVrS0mDCj16THWdd/PQTAjtSe5L
gBew2IDueEC7fBR4glbq9suSLJaL4pP9jNbD7SMF0fMIod96mP+3KA3JIBBjU5dN
ZeFNgjem29qmr4oaynq7RmR6AuK2H1mmGzBr8uH1h3MbYnE8PvAa8qqaadI4yF4K
SGHVSt8pA3t49VhwxaTRT/M8yDPRFHxI5CWwwebPG59i2kMP2U4jbndeMRysfvlF
DDBZ7LiP6zMFhh9zvl3E
=uZje
-----END PGP SIGNATURE-----
On 29/09/15 18:47, Rolston Jeremiah wrote:
> class Genus(models.Model):
> genus_id = models.AutoField(primary_key=True),
> scientific_genus = models.CharField(max_length=32),
> common_name = models.CharField(max_length=32),
> common_examples = models.TextField(),

It's probably because of the ',' at each line end.
I think genus_id became a tuple of fields, remove them and try again :)

--
Florian

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/560ACDDF.7010201%40ist-total.org.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment