diff options
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index b4c665c..d9218ef 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -96,11 +96,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 |