Changeset feed77c for remit/vouchers/models.py
- Timestamp:
- Jul 9, 2014, 12:18:31 AM (10 years ago)
- Branches:
- master
- Children:
- 1a8ef12
- Parents:
- 922e0e5
- git-author:
- Alex Dehnert <adehnert@…> (07/09/14 00:17:52)
- git-committer:
- Alex Dehnert <adehnert@…> (07/09/14 00:18:31)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
remit/vouchers/models.py
r922e0e5 rfeed77c 111 111 rfp.item_amount = self.amount 112 112 rfp.item_desc = self.description 113 rfp.documentation = self.documentation 113 114 rfp.save() 114 115 self.create_transfers() … … 170 171 processed = models.BooleanField(default=False) 171 172 process_time = models.DateTimeField(blank=True, null=True,) 172 documentation = models.ForeignKey('Documentation', blank=True,null=True, )173 documentation = models.ForeignKey('Documentation', null=True, ) 173 174 174 175 def mailing_addr_lines(self): … … 226 227 227 228 def fill_addr(self, address): 229 if address == '': 230 return 228 231 match = self.addr_regex.match(address) 229 232 assert match != None
Note: See TracChangeset
for help on using the changeset viewer.