Initial commit

This commit is contained in:
2024-08-27 20:33:44 +02:00
commit 1f1832267d
14794 changed files with 1599592 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
def user_can_edit_setting_type(user, model):
"""Check if a user has permission to edit this setting type"""
return user.has_perm(f"{model._meta.app_label}.change_{model._meta.model_name}")