Re: Django SYNCDB or SQL error, in core models.

2012-06-20 Thread Harjot Mann
SQL does not allow max_length>255 while using unique=Trueso either you have to minimize the max_length or to remove unique..For more information just go through the following links https://groups.google.com/forum/?fromgroups#!topic/django-developers/7fMxLE-h0tQ https://groups.google.com/for

Re: Django SYNCDB or SQL error, in core models.

2012-06-20 Thread Diego pascual lopez
On Tue, Jun 19, 2012 at 8:17 PM, upmauro wrote: > Hi all ! > HI, > > When i begin my application i used inspectdb to generate models, after > this when i try use SYNCDB or SQL > > Django raise this exception: > > python2.7 manage.py syncdb > > Error: One or more models did not validate: > cor

Django SYNCDB or SQL error, in core models.

2012-06-19 Thread upmauro
Hi all ! When i begin my application i used inspectdb to generate models, after this when i try use SYNCDB or SQL Django raise this exception: python2.7 manage.py syncdb Error: One or more models did not validate: core.djangocontenttype: "app_label": CharField cannot have a "max_length" grea