Комментарии:
Hey man! Gold! How we can change a type using the migrations?
ОтветитьThanks
Ответитьthanks homie
ОтветитьThank you
ОтветитьThanks!
ОтветитьThank you!
ОтветитьTypeError at /admin/accounts/product/
argument must be int or float
this type of error is coming out in admin when DecimalField model is using...suggest me the solutions please sir...
I am getting '[42S22] [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Invalid column name 'pm_comments' while calling makemigrations
Ответить+
ОтветитьCool tutorial. My favorite setting so far is (blank=True, null=False).
ОтветитьHi Justin, Thanks for the awesome series ,
I am using MySql as my DB and when I change something in the model and try to migrate I get error "django.db.utils.OperationalError: (1067, "Invalid default value for 'id'")". I couldn't find how to fix this. I was trying to make a ForeignKey for a model into another model.
Please help.
This tutorial is absolute gold
ОтветитьIs it redundant to use null=true when creating string based fields like TextField or CharField? What would be the difference between empty string and null? Sorry for my english, I am non-native speaker. Thank in advance
ОтветитьI'm working on a blog app, i added a field a new field, and followed the "step 1) Provide one-off element .............." but when i run makemigrations i got this error "django.db.utils.IntegrityError: NOT NULL constraint failed: posts_post.html_field" .
Can you help me with this error ?
Have Django built in variable? If I use feature then raise wrong but featured variable is ok?
ОтветитьCan I use mysql?
ОтветитьHi Justin michel...I have a question Can I use django rest framework with Android...???
Ответить