Skip to content
Dhiraj edited this page Jun 15, 2019 · 10 revisions

Welcome to the Python-Interview-Questions wiki! https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html

https://kite.com/python/docs/django.contrib.auth.models.PermissionsMixin

send email throgh django

https://librenepal.com/article/send-html-emails-with-django/

"(1146, "Table 'newrastey.retail_user_otp' doesn't exist")",

Unicode-objects must be encoded before hashing -- add encode('utf') then resolve

"MultiValueDictKeyError"

get() missing 1 required positional argument: 'booking_type'

integrityerror

1054, "Unknown column 'created_date' in 'field list'"

MultiValueDictKeyError

MySQL TRUNCATE Table vs DROP Table You can also use DROP TABLE command to delete complete table but it will remove complete table data and structure both. You need to re-create the table again if you have to store some data. But in the case of TRUNCATE TABLE, it removes only table data not structure. You don't need to re-create the table again because the table structure already exists

Clone this wiki locally