Changeset 332
- Timestamp:
- 04/30/08 19:58:20 (8 months ago)
- Files:
-
- trunk/src/dm/view/base.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/dm/view/base.py
r313 r332 636 636 637 637 pageCreated = dm.times.getLocalNowCWithZone() 638 localNow = dm.times.getLocalNow() 638 639 639 640 self.context.update({ 640 641 'pageCreated' : pageCreated, 642 'localNow' : localNow, 641 643 'view' : self, 642 644 'uriPrefix' : self.dictionary[URI_PREFIX], … … 670 672 671 673 def setRedirect(self, redirectPath): 672 redirectPath = self.dictionary[URI_PREFIX] + redirectPath 673 self.logger.info('Redirecting to: %s' % redirectPath) 674 self.redirect = redirectPath 674 if redirectPath: 675 redirectPath = self.dictionary[URI_PREFIX] + redirectPath 676 self.logger.info('Redirecting to: %s' % redirectPath) 677 self.redirect = redirectPath 675 678 676 679 def setRedirectLogin(self, returnPath=''):
