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
4af2e111
Commit
4af2e111
authored
Jan 23, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changing login and register to login_user and register_user
parent
d2e130ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
common/djangoapps/student/views.py
+2
-2
lms/urls.py
+2
-2
No files found.
common/djangoapps/student/views.py
View file @
4af2e111
...
...
@@ -204,14 +204,14 @@ def _cert_info(user, course, cert_status):
return
d
def
login
(
request
):
def
login
_user
(
request
):
"""
This view will display the non-modal login form
"""
context
=
{}
return
render_to_response
(
'login.html'
,
context
)
def
register
(
request
):
def
register
_user
(
request
):
"""
This view will display the non-modal registration form
"""
...
...
lms/urls.py
View file @
4af2e111
...
...
@@ -15,8 +15,8 @@ urlpatterns = ('',
url
(
r'^update_certificate$'
,
'certificates.views.update_certificate'
),
url
(
r'^$'
,
'branding.views.index'
,
name
=
"root"
),
# Main marketing page, or redirect to courseware
url
(
r'^dashboard$'
,
'student.views.dashboard'
,
name
=
"dashboard"
),
url
(
r'^signin$'
,
'student.views.login
'
,
name
=
"login
"
),
url
(
r'^register$'
,
'student.views.register
'
,
name
=
"regist
er"
),
url
(
r'^signin$'
,
'student.views.login
_user'
,
name
=
"login_user
"
),
url
(
r'^register$'
,
'student.views.register
_user'
,
name
=
"register_us
er"
),
url
(
r'^admin_dashboard$'
,
'dashboard.views.dashboard'
),
...
...
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