summaryrefslogtreecommitdiff
path: root/taskapp/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'taskapp/models.py')
-rw-r--r--taskapp/models.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/taskapp/models.py b/taskapp/models.py
index 9a58603..64809c9 100644
--- a/taskapp/models.py
+++ b/taskapp/models.py
@@ -43,11 +43,9 @@ NOTIFY_CHOICES = (
("RU", "Remove user"), ## remove from working users list in task
)
-
IMAGES_DIR = "./images"
UPLOADS_DIR = "./uploads"
-
class CustomImageStorage(FileSystemStorage):
def path(self, name):
@@ -87,7 +85,6 @@ class Profile(models.Model):
def __unicode__(self):
return unicode(self.user.username)
-
class Task(models.Model):
prim_key = models.AutoField(primary_key = True)
@@ -117,7 +114,6 @@ class Map(models.Model):
main = models.ForeignKey('Task', related_name = "%(class)s_main")
subs = models.ManyToManyField('Task', blank = True, null = True, related_name = "%(class)s_subs")
-
class Comment(models.Model):
task = models.ForeignKey('Task')
@@ -169,7 +165,6 @@ class Notification(models.Model):
sent_from = models.ForeignKey(User, related_name = "%(class)s_sent_from", null = True, blank = True)
task = models.ForeignKey(Task, related_name = "%(class)s_sent_for", null = True, blank = True)
-
sub = models.CharField(max_length = 100)
message = models.TextField()
remarks = models.CharField(max_length = 100)