﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35268	Error in Django Migration in PostgreSQL  : UnicodeDecodeError during 'python manage.py migrate'	Azim1900	nobody	"When running the command 'python manage.py migrate' in a Django project, a UnicodeDecodeError occurs during the migration process.

 The error trace indicates that the issue is related to decoding a byte (0xbb) at position 79, and the problematic code is within the PostgreSQL database backend connection setup. The error originates from the 'psycopg2' library, and the specific context points to a Unicode decoding problem in the 'data_handler.py' file. The error disrupts the migration process and prevents the successful execution of the command. 

Here is also Database Setting in  my  Django Project : 

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': 'Databank',
        'USER': 'user',
        'PASSWORD': '123456',
        'HOST': 'localhost',
        'PORT': '5432',
        'OPTIONS': {
            'client_encoding': 'UTF8',
        }
    }
}"	Uncategorized	new	Uncategorized	5.0	Normal		PostgreSQL		Unreviewed	0	0	0	0	0	0
