add item match permission
This commit is contained in:
parent
0438eb0b6a
commit
6abf3af6c0
2 changed files with 20 additions and 1 deletions
|
@ -29,7 +29,9 @@ class Item(SoftDeleteModel):
|
|||
|
||||
class Meta:
|
||||
unique_together = (('uid', 'event'),)
|
||||
|
||||
permissions = [
|
||||
('match_item', 'Can match item')
|
||||
]
|
||||
|
||||
class Container(SoftDeleteModel):
|
||||
cid = models.AutoField(primary_key=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue