~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/subject.py

  • Committer: Matt Giuca
  • Date: 2010-02-24 01:57:56 UTC
  • mto: This revision was merged to the branch mainline in revision 1682.
  • Revision ID: matt.giuca@gmail.com-20100224015756-cn3chw6oysr5afhk
SubjectFormView: Creating a new subject or editing one now redirects to the subject page, not the subjects page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
    def validator(self):
146
146
        return SubjectSchema()
147
147
 
148
 
    def get_return_url(self, obj):
149
 
        return '/subjects'
150
 
 
151
148
 
152
149
class SubjectNew(SubjectFormView):
153
150
    """A form to create a subject."""