1. Monwara LLC
  2. Untitled project
  3. django-related

Source

django-related / related / views.py

Author Commit Message Date Builds
Branko Vukelic
Customizable caching interface
Branko Vukelic
Fixed #2: Customizable context object names
Branko Vukelic
Fixed #1: Actually return response object Instead of calling render_to_response, simply propagate the response object back to form_valid method so it can return it.
Branko Vukelic
Fixed #3: No longer passing unnecessary arguments
Branko Vukelic
Added caching to get_related_object method This closes #1
Branko Vukelic
Return 410 on POST and 404 on GET getting related See ticket #1.
Branko Vukelic
Implemented adding related_object to context Related to #1. There is still no 410 exception on POST, and no caching, but this is a usable solution.
Branko Vukelic
Fixed form not honoring initial on GET
Branko Vukelic
Sometimes we don't use a form
Branko Vukelic
Import of the code with slight modification