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
8a0cc6e6
Commit
8a0cc6e6
authored
Jan 23, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Fixing namespace issue for "login""
This reverts commit
dcc53c2b
.
parent
dcc53c2b
Show 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 @
8a0cc6e6
...
@@ -204,14 +204,14 @@ def _cert_info(user, course, cert_status):
...
@@ -204,14 +204,14 @@ def _cert_info(user, course, cert_status):
return
d
return
d
def
login
_user
(
request
):
def
login
(
request
):
"""
"""
This view will display the non-modal login form
This view will display the non-modal login form
"""
"""
context
=
{}
context
=
{}
return
render_to_response
(
'login.html'
,
context
)
return
render_to_response
(
'login.html'
,
context
)
def
register
_user
(
request
):
def
register
(
request
):
"""
"""
This view will display the non-modal registration form
This view will display the non-modal registration form
"""
"""
...
...
lms/urls.py
View file @
8a0cc6e6
...
@@ -15,8 +15,8 @@ urlpatterns = ('',
...
@@ -15,8 +15,8 @@ urlpatterns = ('',
url
(
r'^update_certificate$'
,
'certificates.views.update_certificate'
),
url
(
r'^update_certificate$'
,
'certificates.views.update_certificate'
),
url
(
r'^$'
,
'branding.views.index'
,
name
=
"root"
),
# Main marketing page, or redirect to courseware
url
(
r'^$'
,
'branding.views.index'
,
name
=
"root"
),
# Main marketing page, or redirect to courseware
url
(
r'^dashboard$'
,
'student.views.dashboard'
,
name
=
"dashboard"
),
url
(
r'^dashboard$'
,
'student.views.dashboard'
,
name
=
"dashboard"
),
url
(
r'^signin$'
,
'student.views.login
_user'
,
name
=
"login_user
"
),
url
(
r'^signin$'
,
'student.views.login
'
,
name
=
"login
"
),
url
(
r'^register$'
,
'student.views.register
_user'
,
name
=
"register_us
er"
),
url
(
r'^register$'
,
'student.views.register
'
,
name
=
"regist
er"
),
url
(
r'^admin_dashboard$'
,
'dashboard.views.dashboard'
),
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