Re: django.db.utils.DatabaseError when resyncing django app models

2012-08-22 Thread Mhlanga Bothin
On 23/08/2012, at 10:59 AM, Melvyn Sopacua wrote: > On 23-8-2012 2:37, Mhlanga Bothin wrote: > >> Thanks a lot for your help. I am not adding any classes to the app on >> the second sync, correct me if I am wrong but django only resyncs new >> classes? > > Yes

Re: django.db.utils.DatabaseError when resyncing django app models

2012-08-22 Thread Mhlanga Bothin
On 22/08/2012, at 1:51 PM, Karen Tracey wrote: > The key part of the traceback is this: > > File > "/usr/local/lib/python2.7/site-packages/django/core/management/sql.py", line > 189, in emit_post_sync_signal > interactive=interactive, db=db) > File > "/usr/local/lib/python2.7/site-pack

Re: django.db.utils.DatabaseError when resyncing django app models

2012-08-21 Thread Mhlanga Bothin
Great Thanks I will hunt around for it :) On 22/08/2012, at 11:56 AM, Kurtis Mullins wrote: > It looks to me like you might have a CharField with a max_length that is > greater than what your Database supports. That's my guess anyways :) > > On Tue, Aug 21, 2012 at 9:21 P

django.db.utils.DatabaseError when resyncing django app models

2012-08-21 Thread Mhlanga Bothin
Hi, I am very new to Django, I have created multiple models in my app. I am using postgresql_psycopg2 as my data base. When I run ./manage validate it returns without errors, sqlall works fine and when I syncdb it works as expected, the issue occurs when I run syncdb a second time I get the fo