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
03095643
Commit
03095643
authored
Jun 20, 2016
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exposed admin for LogoutViewConfiguration
ECOM-4610
parent
949ddb11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
common/djangoapps/student/admin.py
+3
-1
No files found.
common/djangoapps/student/admin.py
View file @
03095643
...
...
@@ -11,7 +11,7 @@ from xmodule.modulestore.django import modulestore
from
config_models.admin
import
ConfigurationModelAdmin
from
student.models
import
(
UserProfile
,
UserTestGroup
,
CourseEnrollmentAllowed
,
DashboardConfiguration
,
CourseEnrollment
,
Registration
,
PendingNameChange
,
CourseAccessRole
,
LinkedInAddToProfileConfiguration
,
UserAttribute
PendingNameChange
,
CourseAccessRole
,
LinkedInAddToProfileConfiguration
,
UserAttribute
,
LogoutViewConfiguration
)
from
student.roles
import
REGISTERED_ACCESS_ROLES
...
...
@@ -183,6 +183,8 @@ admin.site.register(CourseEnrollmentAllowed)
admin
.
site
.
register
(
Registration
)
admin
.
site
.
register
(
PendingNameChange
)
admin
.
site
.
register
(
DashboardConfiguration
,
ConfigurationModelAdmin
)
admin
.
site
.
register
(
LogoutViewConfiguration
,
ConfigurationModelAdmin
)
# We must first un-register the User model since it may also be registered by the auth app.
admin
.
site
.
register
(
User
,
UserAdmin
)
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