Django3 has removed python_2_unicode_compatible.

Execute the codemodes on this file and removed all usage.
This commit is contained in:
Awais Qureshi
2021-07-15 12:28:06 +05:00
parent cfe81cd834
commit 251fcaa586
3 changed files with 5 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ send_admin_notification = Signal(providing_args=["user"])
# A signal that will be sent when user should be notified of change in course creator privileges
send_user_notification = Signal(providing_args=["user", "state"])
class CourseCreator(models.Model):
"""
Creates the database table model.

View File

@@ -5,6 +5,7 @@ Django Model for tags
from django.db import models
class TagCategories(models.Model):
"""
This model represents tag categories.

View File

@@ -24,6 +24,8 @@ from common.djangoapps.edxmako.shortcuts import render_to_string
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
log = logging.getLogger(__name__)
class ApiAccessRequest(TimeStampedModel):
"""
Model to track API access for a user.