How to create custom 404 error page in Django? By: Mohamed Rasik 20 November 2024 In this tutorial I will show you how to create custom 404 error page in Django. Read More
Requested setting INSTALLED_APPS, but settings are not configured. You must either define.. By: Mohamed Rasik 17 October 2024 I got this following error while running the python outside of the usual manage.py commands. Read More
How to restrict access to the page Access only for logged user in Django By: Mohamed Rasik 26 June 2024 In this tutorial I will show you how to restrict access to the page Access only for logged user in Django. Read More
Migration admin.0001_initial is applied before its dependency admin.0001_initial on database default By: Mohamed Rasik 15 June 2024 I got this following error on migrate "Migration admin.0001_initial is applied before its dependency admin.0001_initial on database default" Read More
Add or change a related_name argument to the definition for 'auth.User.groups' or 'DriverUser.groups'. -Django ERROR By: Mohamed Rasik 8 June 2024 The following error indicates that the relation with model 'AUTH_USER_MODEL', which is not installed in settings.py Read More
Addition of two numbers in django python By: Mohamed Rasik 20 May 2024 In this tutorial I will show you how to add two numbers in django python program. Read More
FieldError: Cannot resolve keyword 'id' into field in Django project By: Mohamed Rasik 28 April 2024 I got this following error while running django web application "FieldError Cannot resolve keyword 'id' into field. Read More
It is impossible to add a non nullable field without specifying a default. Django error By: Mohamed Rasik 20 April 2024 I got this following error while trying to add a non-nullable field (description) to an existing model (Category) without specifying a default value. Read More
ImportError: cannot import name 'url' from 'django.conf.urls' - Django Error By: Mohamed Rasik 11 April 2024 I got this following error while running the django web project "ImportError: cannot import name 'url' from 'django.conf.urls'" Read More
ProgrammingError at /admin/ Table 'django_session' doesn't exist python By: Mohamed Rasik 19 December 2023 I got this following error while running django project "ProgrammingError at /admin/ Table 'django_session' doesn't exist". Read More