When you started using mysql did you do a fresh manage.py syndb or sqlite 
dump > mysql import? If the latter than you almost certainly have incorrect 
create statements.

Drop the mysql db and create it using manage.py syncdb. If you need to 
import the data from the existing sqlite db  I suggest using 
fixtures<https://docs.djangoproject.com/en/1.5/howto/initial-data/#where-django-finds-fixture-files>

Kirby

On Thursday, April 10, 2014 9:11:14 AM UTC-5, Adam Teale wrote:
>
> hmmm it seems that anything in the database is not set to auto increment
>
>
>
> On Thu, Apr 10, 2014 at 11:04 AM, Adam Teale <adam...@gmail.com<javascript:>
> > wrote:
>
>> ok, i just enabled auto increment to the comment id field
>>
>> Seems to work fine!
>>
>> Now is there any way that this could have been set automatically from 
>> django? So i don't have this issue in the future)
>>
>> Thanks!
>>
>>
>> On Thu, Apr 10, 2014 at 9:47 AM, Adam Teale <adam...@gmail.com<javascript:>
>> > wrote:
>>
>>> sorry I meant django.contrib.comments - not messages
>>>
>>
>>
>

-- 
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+unsubscr...@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/fda16d6f-bc9f-4352-9f3c-c08583535e7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to