Django3 has removed python_2_unicode_compatible.
Execute the codemodes on this file and removed all usage.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -5,6 +5,7 @@ Django Model for tags
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
class TagCategories(models.Model):
|
||||
"""
|
||||
This model represents tag categories.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user