Set cookie and delete cookie and other minor changes.
authorSofia Papagiannaki <papagian@gmail.com>
Thu, 2 Feb 2012 10:31:24 +0000 (12:31 +0200)
committerSofia Papagiannaki <papagian@gmail.com>
Thu, 2 Feb 2012 10:31:24 +0000 (12:31 +0200)
commit63ecdd20a4fc92bba14c1ed9435cec71ef428844
tree21b12be64b204723ac7555da1d310dfcc1e1284f
parenta196eb7e7390af35940ba84d159723ab535157bf
Set cookie and delete cookie and other minor changes.

* move login and setting cookie in one place (prepare_response)
* delete cookie in logout
* delete unused imports
* change requires_anonymous to redirect to logout with next
18 files changed:
astakos/im/admin/forms.py
astakos/im/admin/views.py
astakos/im/api.py
astakos/im/auth_backends.py
astakos/im/backends.py
astakos/im/context_processors.py
astakos/im/forms.py
astakos/im/models.py
astakos/im/target/invitation.py
astakos/im/target/local.py
astakos/im/target/redirect.py
astakos/im/target/shibboleth.py
astakos/im/target/twitter.py
astakos/im/target/util.py [deleted file]
astakos/im/urls.py
astakos/im/util.py
astakos/im/views.py
astakos/settings.py