mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-11 13:16:09 +00:00
Improve Operation numbering in accounting
This commit is contained in:
1 parent
150147c69f
commit
28aa143f39
8 files changed
+75
-10
No files matched your search
+1
-1
@@ -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
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user