Skip to main content

Blog #11

Its 6:12PM... Just preparing myself for doing some coding stuff. I am stuck at a problem called pagination so I decided to skip this for later and move on to the next tutorials. The blog is at its end.
After that Django and react js party confirmed.

Comments

Popular posts from this blog

Got an error while coding in django

 error is in an element name "price" in model.py. error:    return field.get_db_prep_save(self._effective_default(field), self.conne ction)   File "C:\Users\Shubrajit Acharjee\PycharmProjects\untitled\lib\site-packag es\django\db\models\fields\__init__.py", line 823, in get_db_prep_save     return self.get_db_prep_value(value, connection=connection, prepared=Fal se)   File "C:\Users\Shubrajit Acharjee\PycharmProjects\untitled\lib\site-packag es\django\db\models\fields\__init__.py", line 818, in get_db_prep_value     value = self.get_prep_value(value)   File "C:\Users\Shubrajit Acharjee\PycharmProjects\untitled\lib\site-packag es\django\db\models\fields\__init__.py", line 1776, in get_prep_value     raise e.__class__( ValueError: Field 'price' expected a number but got ''. solution:Go to migrations file and delete all the auto generated migration files related to element "price" and code correctly in models.py file and ru...