diff options
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index f7adfd8..60b09c5 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -135,6 +135,7 @@ def get_file_dir(instance, filename): upload_dir = instance.name.replace(" ", "_") return os.sep.join((upload_dir, filename)) + def create_group(group_name, app_label): try: group = Group.objects.get(name=group_name) |