Please make to modify settings.py file:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': str(os.path.join(BASE_DIR, "db.sqlite3"))
}
}
Django Common Errors and Resolutions
Please make to modify settings.py file:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': str(os.path.join(BASE_DIR, "db.sqlite3"))
}
}
{% load staticfiles %}
and {% load admin_static %}
were deprecated in django 2.1, and removed in django 3.1.
If you have any of the following in your template:
{% load staticfiles %}
{% load static from staticfiles %}
{% load admin_static %}
You should replace the tag with simply:
{% load static %}
Try running below command in Command prompt
pip install django-phonenumber-field
Try to install with pip3:
pip3 install django-widget-tweaks
Please make to modify settings.py file: DATABASES = { 'default' : { 'ENGINE' : 'django.db.backends.sqlite3&...