Changeset dfcab53
- Timestamp:
- Apr 2, 2010, 11:34:05 AM (14 years ago)
- Branches:
- master, client
- Children:
- 36d2293
- Parents:
- e02a4b2
- git-author:
- Alex Dehnert <adehnert@…> (04/02/10 11:34:05)
- git-committer:
- Alex Dehnert <adehnert@…> (04/02/10 11:34:05)
- Location:
- remit/finance_core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
remit/finance_core/models.py
rdd2c3d9 rdfcab53 105 105 def __unicode__(self,): 106 106 return u"%s [%s] (%s)" % (self.name, self.contact_address(), self.always, ) 107 108 class Meta: 109 permissions = ( 110 ('use_reporting', 'Can use basic reporting functionality',), 111 ) 107 112 108 113 -
remit/finance_core/views.py
rea32cd9 rdfcab53 13 13 return HttpResponse(root.dump_to_html()) 14 14 15 @user_passes_test(lambda u: u.has_perm('finance_core.use_reporting')) 15 16 def reporting(request): 16 17 compute_method = 'default'
Note: See TracChangeset
for help on using the changeset viewer.