Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
48e6e552
Commit
48e6e552
authored
Jul 28, 2017
by
bmedx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PLAT-1633: Upgrade django-ratelimit-backend to 1.1.1
parent
b411fa0c
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
15 additions
and
17 deletions
+15
-17
cms/djangoapps/course_creators/admin.py
+1
-1
cms/urls.py
+1
-2
common/djangoapps/student/admin.py
+1
-1
common/djangoapps/track/admin.py
+1
-1
common/djangoapps/util/admin.py
+1
-1
lms/djangoapps/courseware/admin.py
+2
-1
lms/djangoapps/shoppingcart/admin.py
+1
-1
lms/djangoapps/verify_student/admin.py
+1
-1
lms/urls.py
+2
-4
openedx/core/djangoapps/content/course_structures/admin.py
+1
-1
openedx/core/djangoapps/credit/admin.py
+1
-1
openedx/core/djangoapps/external_auth/admin.py
+1
-1
requirements/edx/base.txt
+1
-1
No files found.
cms/djangoapps/course_creators/admin.py
View file @
48e6e552
...
...
@@ -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
...
...
cms/urls.py
View file @
48e6e552
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
...
...
common/djangoapps/student/admin.py
View file @
48e6e552
""" 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
,
...
...
common/djangoapps/track/admin.py
View file @
48e6e552
...
...
@@ -2,7 +2,7 @@
django admin pages for courseware model
'''
from
ratelimitbackend
import
admin
from
django.contrib
import
admin
from
track.models
import
TrackingLog
...
...
common/djangoapps/util/admin.py
View file @
48e6e552
"""Admin interface for the util app. """
from
ratelimitbackend
import
admin
from
django.contrib
import
admin
from
util.models
import
RateLimitConfiguration
...
...
lms/djangoapps/courseware/admin.py
View file @
48e6e552
from
django.contrib
import
admin
from
config_models.admin
import
ConfigurationModelAdmin
,
KeyedConfigurationModelAdmin
from
ratelimitbackend
import
admin
from
courseware
import
models
...
...
lms/djangoapps/shoppingcart/admin.py
View file @
48e6e552
"""Django admin interface for the shopping cart models. """
from
ratelimitbackend
import
admin
from
django.contrib
import
admin
from
shoppingcart.models
import
(
Coupon
,
...
...
lms/djangoapps/verify_student/admin.py
View file @
48e6e552
...
...
@@ -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
...
...
lms/urls.py
View file @
48e6e552
...
...
@@ -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
=
(
...
...
openedx/core/djangoapps/content/course_structures/admin.py
View file @
48e6e552
"""
Django Admin model registry for Course Structures sub-application
"""
from
ratelimitbackend
import
admin
from
django.contrib
import
admin
from
.models
import
CourseStructure
...
...
openedx/core/djangoapps/credit/admin.py
View file @
48e6e552
"""
Django admin page for credit eligibility
"""
from
ratelimitbackend
import
admin
from
django.contrib
import
admin
from
openedx.core.djangoapps.credit.models
import
(
CreditConfig
,
...
...
openedx/core/djangoapps/external_auth/admin.py
View file @
48e6e552
...
...
@@ -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
...
...
requirements/edx/base.txt
View file @
48e6e552
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment