Skip to main content

Blog #2

Good morning Humans!

Its 10:56 AM in the morning, I just wake up and thinking what to do today. Today I am gonna learn flask chapter I.e. basis app structure and templates and do a little bit of coding. Make some files to learn Github after completing flask chapters. Easy enough for today.

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...