Ignore:
Timestamp:
07/13/10 14:56:21 (23 months ago)
Author:
dart
Message:

LoReality?:
o Implement notifications
o Begin integration of ajax fmw dojo

File:
1 edited

Legend:

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

    r2109 r2111  
    100100    pilot_id = sa.Column(UUID(), ForeignKey('pilots.id')) 
    101101 
    102     def __init__(self): 
     102    def __init__(self, from_=None, subject=None, text=None): 
    103103        self.unread = True 
     104        if from_: 
     105            self.from_ = from_ 
     106        if subject: 
     107            self.subject = subject 
     108        if text: 
     109            self.text = text 
    104110 
    105111    def copy(self): 
Note: See TracChangeset for help on using the changeset viewer.