Changes between Initial Version and Version 1 of Ticket #15215, comment 8


Ignore:
Timestamp:
Apr 24, 2012, 8:49:58 PM (13 years ago)
Author:
Selwin Ong

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15215, comment 8

    initial v1  
    2727
    2828If this approach is acceptable, I'm more than happy to try writing a proper patch and tests for inclusion into django. Comments welcome :)
     29
     30If we simply require people to be logged in, we could also check for `login_required` boolean attribute on the view:
     31
     32{{{
     33class MyView(View):
     34    login_required = True
     35}}}
     36
     37*Edit: added login required check API
Back to Top