Allow login in the cms, and read a particular course from mongo

This commit is contained in:
Calen Pennington
2012-06-08 16:55:38 -04:00
parent 8134bcbc3d
commit dc85e46315
15 changed files with 281 additions and 4 deletions

11
cms/templates/login.html Normal file
View File

@@ -0,0 +1,11 @@
<form name="login" action="login", method="post">
<input type="hidden" name="csrfmiddlewaretoken" value="${csrf_token}"/>
% if next is not None:
<input type="hidden" name="next" value="${next}"/>
% endif
Username: <input type="text" name="username" />
Possword: <input type="password" name="password" />
<input type="submit" value="Submit" />
</form>