Breaking

Code Gripper

Code Gripper

Responsive Advertisement
  • Home
Django
Django

How to enable CORS on Django REST Framework

byMahabubur Rahman -November 12, 2022

You can install python package first -  python -m pip install django-cors-headers and then add it to your installed apps: INSTALLED_APPS = ( ... 'corsheaders' , ... ) Yo…

Django

Problem with an elipsis when loading the Django server

byMahabubur Rahman -September 13, 2022

It looks like your  AUTHENTICATION_BACKENDS  setting [Django-doc]  contains an ellipsis ( ... ). Indeed: AUTHENTICATION_BACKENDS = [ # Needed to login by username in Django admin, reg…

CKEditor5

ModuleNotFoundError: No module named 'ckeditor_uploader'

byMahabubur Rahman -September 13, 2022

If this exception occurred you can solve this exception by some deferent way   Some times you need to upgrade django-ckeditor by bellow commend - pip install django-ckeditor --upgrade Som…

Django

ImportError: cannot import name 'force_text' from 'django.utils.encoding'

byMahabubur Rahman -August 17, 2022

Maybe you installed Django 4 . Currently Django 4 dont have force_text. So you need to install Django 3 or less version for resolve the issue

Django

Django self-referential foreign key

byMahabubur Rahman -December 26, 2021

You can pass in the name of a model as a string to ForeignKey and it will do the right thing.   parent = models.ForeignKey( "Comment" )   Or you can use the string "self&qu…

Django

ModuleNotFoundError: No module named 'psycopg2' django

byMahabubur Rahman -September 17, 2021

Solutions Install package -  pip install psycopg2 OR pip install psycopg2-binary Source: Tech Tutorial

Django

ModuleNotFoundError: No module named 'decouple' django

byMahabubur Rahman -September 16, 2021

Solution  Install package -  pip install python-decouple Source : Tech Tutorial

Load More
That is All

Follow Us

Popular Posts

Subscribe Us

Facebook

Categories

Main Tags

Code Gripper

September 30, 2023

Total Pageviews

Search This Blog

CODE GRIPPER

Code Gripper
CODE GRIPPER

  • Home
  • Python
  • PHP

Menu Footer Widget

  • Home
  • About
  • Contact Us
Code Gripper

About Us

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's.

Categories

Main Tags

Latest Posts

Most Popular

Design by Blogger | Distributed by Gooyaabi
  • Home
  • About Us
  • Contact Us
  • RTL Version