Ignore:
Timestamp:
07/12/10 14:48:12 (23 months ago)
Author:
dart
Message:

LoReality?:
o Messager is working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loreality/loreality/model/form.py

    r2106 r2109  
    66from formencode.foreach import ForEach 
    77from formencode.api import NoDefault 
     8 
     9class FormField: 
     10    name = "" 
     11    formtype = "" 
     12    def __init__( self, **kwargs): 
     13        self.__dict__.update( kwargs ) 
    814 
    915class CampaignNameForm(Schema): 
     
    5763    plane =  String() 
    5864 
     65class MessageForm(Schema): 
     66    allow_extra_fields = True 
     67    filter_extra_fields = True 
     68 
     69    pre_validators = [variabledecode.NestedVariables()] 
     70    subject =  String(not_empty=True) 
     71    # pilots = ForEach( Pilot()) 
     72    text =  String() 
     73 
Note: See TracChangeset for help on using the changeset viewer.