コード例 #1
0
 def submit_url(self):
     if self.is_logged_in():
         return 'castle_logout'
     else:
         return util.login_URL(self.context)
コード例 #2
0
 def __call__(self):
     return util.login_URL(self.context)