summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authormaheshgudi2018-07-13 16:56:29 +0530
committermaheshgudi2018-07-13 16:56:29 +0530
commit5dce610047070dabb1ae69b1acce4ab090d4be47 (patch)
tree8b65f6e01e6e03a922a4e0563779127b9668b00b /yaksh/models.py
parente7cfaf3370cfdc135ce8c5c61abf25cf16a8daad (diff)
downloadonline_test-5dce610047070dabb1ae69b1acce4ab090d4be47.tar.gz
online_test-5dce610047070dabb1ae69b1acce4ab090d4be47.tar.bz2
online_test-5dce610047070dabb1ae69b1acce4ab090d4be47.zip
pep8 cleanup for release v0.9
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py1
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)