Improve Operation numbering in accounting

This commit is contained in:
Skia
2016-07-20 18:48:18 +02:00
parent 150147c69f
commit 28aa143f39
8 changed files with 75 additions and 10 deletions

View File

@ -65,7 +65,7 @@ class Product(models.Model):
icon = models.ImageField(upload_to='products', null=True, blank=True)
club = models.ForeignKey(Club, related_name="products")
def is_owned_by(self, user): # TODO do this for all models
def is_owned_by(self, user):
"""
Method to see if that object can be edited by the given user
"""