Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
d98133a9
Unverified
Commit
d98133a9
authored
5 years ago
by
Ayub
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21071 from edx/INCR-407
INCR-407 python3 compatibility
parents
829855f6
07275a57
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/djangoapps/student/management/commands/manage_user.py
+2
-0
2 additions, 0 deletions
common/djangoapps/student/management/commands/manage_user.py
common/djangoapps/student/management/commands/set_staff.py
+2
-1
2 additions, 1 deletion
common/djangoapps/student/management/commands/set_staff.py
with
4 additions
and
1 deletion
common/djangoapps/student/management/commands/manage_user.py
+
2
−
0
View file @
d98133a9
...
...
@@ -3,6 +3,8 @@ Management command `manage_user` is used to idempotently create or remove
Django users, set/unset permission bits, and associate groups by name.
"""
from
__future__
import
absolute_import
from
django.contrib.auth
import
get_user_model
from
django.contrib.auth.hashers
import
is_password_usable
from
django.contrib.auth.models
import
Group
...
...
This diff is collapsed.
Click to expand it.
common/djangoapps/student/management/commands/set_staff.py
+
2
−
1
View file @
d98133a9
from
__future__
import
print_function
from
__future__
import
absolute_import
,
print_function
import
re
from
django.contrib.auth.models
import
User
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment