Skip to main content

Blog #3

Hey Humans!
Its 5:42PM I was gone to sleep 6:16AM in the morning so I woke up late today(11:AM). I don't know what to do so I just wasted entire day watching YouTube. I got an error on my gitbash so just planning to solve it along with it I am gonna learn designing home blogs page and creating admin dashboard. Lets see how far I can go. Easy enough for today, I will start learning the book after completing harry's tutorials, it will get easy for me. 
Let the coding begin!

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