Added access-controls to admin-option editing; general cleanup of views.py.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 10 Mar 2009 02:44:47 +0000 (02:44 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 10 Mar 2009 02:44:47 +0000 (02:44 +0000)
commit2c78b7e0850daa92795a8604acdf896891890414
treec31e88eac72a636a1a491b3eb79ac8d36f77d254
parentc84c8c6eda49afcda83974e73b653467b3f812fb
Added access-controls to admin-option editing; general cleanup of views.py.

Admin-option editing was public; that's changed, you must now be an
'admin' which for now means you are Django's 'user.is_staff'.

I reorganized views.py into more-logical sections, and think we are
going to split it up into multiple views/* files.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@164 6d9bc8c9-1ec2-4278-b937-99fde70a366f
.gitignore
conifer/syrup/generics.py
conifer/syrup/views.py