Back to index

plone3  3.1.7
Public Member Functions
plone.app.layout.alias.login.LoginAlias Class Reference
Inheritance diagram for plone.app.layout.alias.login.LoginAlias:
Inheritance graph
[legend]
Collaboration diagram for plone.app.layout.alias.login.LoginAlias:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def redirect

Detailed Description

Base class for views that perform a redirect

Definition at line 3 of file login.py.


Member Function Documentation

Definition at line 7 of file login.py.

00007 
00008     def redirect(self):
00009         url = self.request.get('HTTP_REFERER', None)
00010         if not url:
00011             url = self.context.absolute_url()
00012         self.request.response.redirect('login_form?came_from=%s' % url)

The documentation for this class was generated from the following file: