11 """School system administrators can create and delete multiple
12 schools rather than just one school.
16 'userid': (
'INTEGER',
'PRIMARY KEY NOT NULL',),
18 'profile': (
'TRANSLATION',
"NOT NULL DEFAULT ''",),
21 'contactinfo': (
'TRANSLATION',
"NOT NULL DEFAULT ''",),
22 'flags': (
'INT',
'NOT NULL DEFAULT 0',),
25 _dblinks = [
'learn_school']
26 _dbdisplay = [
'displayname',
'profile',
'phone',
'email']
School system administrators can create and delete multiple schools rather than just one school.
def __init__(self)
Initialize all fields at creation like a good programmer should.
Base class for all database models.
Throws an exception on blank values.