summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2020-03-01 23:19:25 +0530
committerprashantsinalkar2020-03-01 23:19:25 +0530
commit398f19633ff99333bd76321dfccdd12c0fd6dbb0 (patch)
tree6632a5479d800b00208eaa9fb2e828f90501821c
parentb45dbd8d445b3e951e586c186c90a9b40597050d (diff)
downloadarduino_projects_website-398f19633ff99333bd76321dfccdd12c0fd6dbb0.tar.gz
arduino_projects_website-398f19633ff99333bd76321dfccdd12c0fd6dbb0.tar.bz2
arduino_projects_website-398f19633ff99333bd76321dfccdd12c0fd6dbb0.zip
added new models
-rw-r--r--arduino_blog/models.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/arduino_blog/models.py b/arduino_blog/models.py
index 4d2f36d..b8c60c8 100644
--- a/arduino_blog/models.py
+++ b/arduino_blog/models.py
@@ -119,5 +119,8 @@ class Proposal(BaseClass):
abstract = models.TextField(max_length=700)
attachment = models.FileField(upload_to=get_document_dir)
status = models.CharField(max_length=100, default='Pending', editable=True)
+ completion_date = models.DateTimeField(null=True, blank=True)
+ approval_date = models.DateTimeField(null=True, blank=True)
+ proposal_status = models.IntegerField(default=0, editable=True)
#tags = models.CharField(max_length=250)
- terms_and_conditions = models.BooleanField(default= 'True') \ No newline at end of file
+ terms_and_conditions = models.BooleanField(default= 'True')