Vote count:
0
Django 1.7 Python 2.7
I already made sqlite data base, and added some recordings to data base in admin page. Then i change my models, added a ForeignKey. Then i ./manage makemigrations
django asked about default values in previous recordings, i added wrong value ("08-808"), but i think i need added some id from another model (like 1,2,3 which exist).
Then (and now) i run ./manage migrate
, i have a error:
ValueError: invalid literal for int() with base 10: '08-808'
asked 23 secs ago
Django Migrate invalid literal for int()
Aucun commentaire:
Enregistrer un commentaire