Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / views / decorators.py @ 95b7c3f6

History | View | Annotate | Download (6.8 kB)

# Date Author Comment
b6496f0c 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Dynamically resolve login_url in login_required

duplicated django user_passes_test and login_required decorators to be able
to dynamicaly resolve the url to which we redirect unauthorized users. Replaced
django login_required with astakos.im.views.decorators.login_required.

70e11eaa 05/20/2013 09:18 pm Sofia Papagiannaki

astakos: reorganize views

  • split project views from the rest views
  • move third party authentication views (astakos.im.target)
    under astakos.im.views
  • move view decorators to a separate module
  • move utility methods utilized by views to a separate module