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
How to hide the ID field from the Django admin? By: Mohamed Rasik 24 April 2024 In this video tutorial I will show you how to hide the ID field from the Django admin. 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
AttributeError: 'NoneType' object has no attribute 'get_text' - Python By: Mohamed Rasik 14 February 2024 I got this following error while running the program to extract the text from an HTML address tag using Python. Read More
ModuleNotFoundError: No module named 'openpyxl' - Python By: Mohamed Rasik 30 January 2024 I got this following error while running a program to create an Excel file from a list of titles in python. Read More