diff options
author | Nishanth Amuluru | 2011-01-06 12:08:36 +0530 |
---|---|---|
committer | Nishanth Amuluru | 2011-01-06 12:08:36 +0530 |
commit | 8770cc845531ffce0ad205aca0340cc872588eba (patch) | |
tree | 1b59781b356a0d0a740820327122fbc87b27b7c1 /taskapp/models.py | |
parent | 0e7872852f7b99fbc158c0159a2c8081845408fa (diff) | |
download | pytask-8770cc845531ffce0ad205aca0340cc872588eba.tar.gz pytask-8770cc845531ffce0ad205aca0340cc872588eba.tar.bz2 pytask-8770cc845531ffce0ad205aca0340cc872588eba.zip |
the upload of attachments works correctly now
Diffstat (limited to 'taskapp/models.py')
-rw-r--r-- | taskapp/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/taskapp/models.py b/taskapp/models.py index 7e7e70b..7900645 100644 --- a/taskapp/models.py +++ b/taskapp/models.py @@ -171,7 +171,7 @@ class Notification(models.Model): class WorkReport(models.Model): - attachment = models.FileField(upload_to=UPLOADS_DIR) + attachment = models.FileField(upload_to=IMAGES_DIR) remarks = models.TextField() revision = models.PositiveIntegerField(default=0) task = models.ForeignKey(Task, related_name = "%(class)s_report") |