Commit ecf036dd authored by Daniel W Bond's avatar Daniel W Bond
Browse files

changed createstudent (done through cas) to updatestudent

parent edc2e08b
from django.conf.urls import patterns, include, url
from accounts.views import DetailStudent, CreateStudent, DetailStudentSettings, DetailCurrentStudent, DetailCurrentStudentSettings
from accounts.views import DetailStudent, UpdateStudent, DetailStudentSettings, DetailCurrentStudent, DetailCurrentStudentSettings
from accounts.models import Student
urlpatterns = patterns('',
......@@ -20,11 +20,11 @@ urlpatterns = patterns('',
template_name='detailStudent.html'),
name='detailCurrentStudent'),
url(r'^create/$',
CreateStudent.as_view(
url(r'^(?P<slug>[\w-]+)/welcome/$',
UpdateStudent.as_view(
model=Student,
template_name="createStudent.html"),
name='createStudent'),
template_name="updateStudent.html"),
name='updateStudent'),
url(r'^settings/$',
DetailCurrentStudentSettings.as_view(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment