Commit 5f5c9907 authored by Benjamin S Waters's avatar Benjamin S Waters
Browse files

MORE README

parent 793b9f73
...@@ -59,8 +59,8 @@ Optional settings include: ...@@ -59,8 +59,8 @@ Optional settings include:
Make sure your project knows how to log users in and out by adding these to Make sure your project knows how to log users in and out by adding these to
your URL mappings:: your URL mappings::
(r'\^login/$', 'django_gmucas.views.login'), (r'^login/$', 'django_gmucas.views.login'),
(r'\^logout/$', 'django_gmucas.views.logout'), (r'^logout/$', 'django_gmucas.views.logout'),
Users should now be able to log into your site (and staff into the Users should now be able to log into your site (and staff into the
administration interface) using CAS. administration interface) using CAS.
...@@ -88,6 +88,7 @@ To add user data, subclass `CASBackend` and specify that as your ...@@ -88,6 +88,7 @@ To add user data, subclass `CASBackend` and specify that as your
application's backend. application's backend.
For example:: For example::
from django_gmucas.backends import CASBackend from django_gmucas.backends import CASBackend
class PopulatedCASBackend(CASBackend): class PopulatedCASBackend(CASBackend):
......
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