Views refactoring
-
Reimplement all views as class-based views -
Move all detail views to GET methods -
Simpler permission lookups, users have all lower tiers of clearance then own -
Rename any templates that have a folder named same as them to folder/index.html -
Merge render()
function intoContext
for easier usage, store request in context -
Page number and length inside add_pagination_context
-
Walk through all redirect
s and add a call toreverse
to look up the correct path
Edited by Amélie Lilith Krejčí