[gen] A page can now be visible on edit but not on view (ie, the new User page containing only fields 'password' and 'retype password'. Default User class has now 2 pages: the 2 password fields are on a separate page. Zone containing user name in the user strip has evolved.
This commit is contained in:
parent
c316ab896b
commit
412d9f939f
20 changed files with 150 additions and 106 deletions
|
@ -228,4 +228,12 @@ class No:
|
|||
def __init__(self, msg): self.msg = msg
|
||||
def __nonzero__(self): return False
|
||||
def __repr__(self): return '<No: %s>' % self.msg
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
class Model: pass
|
||||
class Tool(Model):
|
||||
'''Subclass me to extend or modify the Tool class.'''
|
||||
class User(Model):
|
||||
'''Subclass me to extend or modify the User class.'''
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue