Tag: django
How to create custom 404 error page in Django?
In this tutorial I will show you how to create custom 404 error page in Django.
Read ArticleRequested setting INSTALLED_APPS, but settings are not configured. You must either define..
I got this following error while running the python outside of the usual manage.py commands.
Read ArticleHow to restrict access to the page Access only for logged user in Django
In this tutorial I will show you how to restrict access to the page Access only for logged user in …
Read ArticleMigration admin.0001_initial is applied before its dependency admin.0001_initial on database default
I got this following error on migrate "Migration admin.0001_initial is applied before its dependency admin.0001_initial on database default"
Read ArticleAdd or change a related_name argument to the definition for 'auth.User.groups' or 'DriverUser.groups'. -Django ERROR
The following error indicates that the relation with model 'AUTH_USER_MODEL', which is not installed in settings.py
Read ArticleAddition of two numbers in django python
In this tutorial I will show you how to add two numbers in django python program.
Read ArticleFieldError: Cannot resolve keyword 'id' into field in Django project
I got this following error while running django web application "FieldError Cannot resolve keyword 'id' into field.
Read ArticleIt is impossible to add a non nullable field without specifying a default. Django error
I got this following error while trying to add a non-nullable field (description) to an existing model (Category) without specifying …
Read ArticleImportError: cannot import name 'url' from 'django.conf.urls' - Django Error
I got this following error while running the django web project "ImportError: cannot import name 'url' from 'django.conf.urls'"
Read ArticleProgrammingError at /admin/ Table 'django_session' doesn't exist python
I got this following error while running django project "ProgrammingError at /admin/ Table 'django_session' doesn't exist".
Read ArticleModuleNotFounEerror:No module named celery in Django Project
I got this following error while running django project "ModuleNotFounEerror:No module named celery".
Read ArticleModulenotFoundError: no module named 'debug_toolbar' -SOLUTION
I got this following error while running the django project. "ModulenotFoundError: no module named 'debug_toolbar'"
Read ArticleHow to create superuser in django project hosted in cPanel without terminal
In this tutorial I will show you how to create superuser in django project hosted in cPanel without terminal.
Read ArticleCSS & images not loading in django admin | cpanel without terminal
In this tutorial I will show you how to to run "manage.py collectstatic" command in cpanel without Terminal & SSH …
Read ArticleCould not build wheels for mysqlclient, which is required to install pyproject.toml-based projects
I got this following error while installing mysqlclient in django project. "Could not build wheels for mysqlclient, which is required …
Read ArticleTemplateSyntaxError at / Could not parse the remainder: ' + 1' from 'forloop.counter0 + 1'
I want to add one to variable in forloop, But I m getting the following error "TemplateSyntaxError at / Could …
Read Articleurllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0
I got this following error in django project "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled …
Read ArticleCommandError- Conflicting migrations detected multiple leaf nodes in the migration graph
I got this following error while running migration command: CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph:
Read ArticleHow to integrate NicEdit rich text editor for the description field in a Django Python?
In this tutorial I will show you how to integrate NicEdit rich text editor for the description field in a …
Read ArticleHow to Reset Django Admin Username and Password? | Python
You can use the manage.py changepassword <username> replace the <username> with user you want to reset the password.
Read ArticleImport "django.shortcuts" could not be resolved from source in Django Project
I got this following error in django project. "Import 'django.shortcuts' could not be resolved from source in Django Project"
Read ArticleHow to enable Search Feature in Django admin?
In this tutorial I will show how to enable search feature in django admin. The search function in Django admin …
Read ArticleHow to customize pagination for django admin?
In this tutorial I will show how to customize pagination for django admin. Django admin already provides pagination by default. …
Read Article