Admin options for editing terms, deparments: generic indexes and forms.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 2 Mar 2009 04:09:18 +0000 (04:09 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 2 Mar 2009 04:09:18 +0000 (04:09 +0000)
commit7e273f7b65adbb481306c7489124a9c653def7b3
treec9eb72bba8aedcb961383a402d37c7cb327589d0
parentfbf4f90ebb1ea4c87bf46d5136e877feb7877faa
Admin options for editing terms, deparments: generic indexes and forms.

The big change in this rev is introduction of the Django 'newforms'
system. Since we're using Genshi (not Django templating), newforms
seemed a bad fit. But I think I've got a fairly nice compromise
between Django and Genshi going on in my generics.py.

See the ModelForm subclasses in views.py: the Index attribute is
novel, and specific to the generics.py system.

There is still more to do here, notably figuring out how to handle
permissions and i18n.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@133 6d9bc8c9-1ec2-4278-b937-99fde70a366f
13 files changed:
conifer/genshi_namespace.py
conifer/static/main.css
conifer/syrup/generics.py [new file with mode: 0644]
conifer/syrup/models.py
conifer/syrup/on_courses.txt [new file with mode: 0644]
conifer/syrup/urls.py
conifer/syrup/views.py
conifer/templates/admin/index.xhtml [new file with mode: 0644]
conifer/templates/admin/term.xhtml [new file with mode: 0644]
conifer/templates/generic/delete.xhtml [new file with mode: 0644]
conifer/templates/generic/edit.xhtml [new file with mode: 0644]
conifer/templates/generic/index.xhtml [new file with mode: 0644]
conifer/templates/tabbar.xhtml