diff options
Diffstat (limited to 'website/models.py')
-rw-r--r-- | website/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/models.py b/website/models.py index f5b004a..06a84ac 100644 --- a/website/models.py +++ b/website/models.py @@ -31,7 +31,7 @@ def get_document_dir(instance, filename): # ename, eext = instance.user.email.split("@") fname, fext = os.path.splitext(filename) # print "----------------->",instance.user - return '%s/attachment/%s/%s.%s' % (instance.user, instance.proposal_type, fname+'_'+str(instance.user), fext) + return 'paper_uploads/%s/attachment/%s/%s.%s' % (instance.user, instance.proposal_type, fname+'_'+str(instance.user), fext) class Proposal(models.Model): |