Monday, March 28, 2016

Re: Help me! Error in Django. Migrate mysql, datetime and more.


problem one : the databases backend does not accept 0 as a ' valueError: The databases backend does not accept 0 as value for AutoField.
problem two: TypeError: int() argument must be a string or a number, not 'datetime.datetime'


When or where do you get these errors? The models themselves look correct. Do you have code that runs that generates these errors?

Can you please post the entire traceback that you are receiving for both errors?

-James

--
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciUvVYtKK3LX6X05-Ydzv8D2aNTPZMhyGDyJUafSGXWPng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment