summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index 87e6260..30ecde0 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -92,11 +92,6 @@ def get_model_class(model):
return model_class
-def has_profile(user):
- """ check if user has profile """
- return True if hasattr(user, 'profile') else False
-
-
def get_upload_dir(instance, filename):
return os.sep.join((
'question_%s' % (instance.question.id), filename