Commit 48e6e552 by bmedx

PLAT-1633: Upgrade django-ratelimit-backend to 1.1.1

parent b411fa0c
......@@ -6,9 +6,9 @@ import logging
from smtplib import SMTPException
from django.conf import settings
from django.contrib import admin
from django.core.mail import send_mail
from django.dispatch import receiver
from ratelimitbackend import admin
from course_creators.models import CourseCreator, send_admin_notification, send_user_notification, update_creator_state
from course_creators.views import update_course_creator_group
......
from django.conf import settings
from django.conf.urls import include, patterns, url
from django.conf.urls.static import static
# There is a course creators admin table.
from ratelimitbackend import admin
from django.contrib import admin
from cms.djangoapps.contentstore.views.organization import OrganizationListView
......
""" Django admin pages for student app """
from config_models.admin import ConfigurationModelAdmin
from django import forms
from django.contrib import admin
from django.contrib.admin.sites import NotRegistered
from django.contrib.auth import get_user_model
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from django.utils.translation import ugettext_lazy as _
from opaque_keys import InvalidKeyError
from opaque_keys.edx.keys import CourseKey
from ratelimitbackend import admin
from student.models import (
CourseAccessRole,
......
......@@ -2,7 +2,7 @@
django admin pages for courseware model
'''
from ratelimitbackend import admin
from django.contrib import admin
from track.models import TrackingLog
......
"""Admin interface for the util app. """
from ratelimitbackend import admin
from django.contrib import admin
from util.models import RateLimitConfiguration
......
from django.contrib import admin
from config_models.admin import ConfigurationModelAdmin, KeyedConfigurationModelAdmin
from ratelimitbackend import admin
from courseware import models
......
"""Django admin interface for the shopping cart models. """
from ratelimitbackend import admin
from django.contrib import admin
from shoppingcart.models import (
Coupon,
......
......@@ -4,7 +4,7 @@ Admin site configurations for verify_student.
"""
from config_models.admin import ConfigurationModelAdmin
from ratelimitbackend import admin
from django.contrib import admin
from lms.djangoapps.verify_student.models import SoftwareSecurePhotoVerification
......
......@@ -8,7 +8,7 @@ from django.conf.urls import include, patterns, url
from django.conf.urls.static import static
from django.views.generic.base import RedirectView
from ratelimitbackend import admin
from django.contrib.admin import autodiscover as django_autodiscover
from courseware.views.index import CoursewareIndex
from courseware.views.views import CourseTabView, EnrollStaffView, StaticCourseTabView
from django_comment_common.models import ForumsConfig
......@@ -20,9 +20,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_
from openedx.features.enterprise_support.api import enterprise_enabled
# Uncomment the next two lines to enable the admin:
if settings.DEBUG or settings.FEATURES.get('ENABLE_DJANGO_ADMIN_SITE'):
admin.autodiscover()
django_autodiscover()
# Use urlpatterns formatted as within the Django docs with first parameter "stuck" to the open parenthesis
urlpatterns = (
......
"""
Django Admin model registry for Course Structures sub-application
"""
from ratelimitbackend import admin
from django.contrib import admin
from .models import CourseStructure
......
"""
Django admin page for credit eligibility
"""
from ratelimitbackend import admin
from django.contrib import admin
from openedx.core.djangoapps.credit.models import (
CreditConfig,
......
......@@ -2,7 +2,7 @@
django admin pages for courseware model
'''
from ratelimitbackend import admin
from django.contrib import admin
from openedx.core.djangoapps.external_auth.models import ExternalAuthMap
......
......@@ -110,7 +110,7 @@ stevedore==1.10.0
sure==1.2.3
sympy==0.7.1
xmltodict==0.4.1
django-ratelimit-backend==1.0
django-ratelimit-backend==1.1.1
unicodecsv==0.14.1
django-require==1.0.11
django-webpack-loader==0.4.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment