summaryrefslogtreecommitdiff
path: root/arduino_blog/models.py
diff options
context:
space:
mode:
authorPrashant S2020-03-02 11:23:14 +0530
committerGitHub2020-03-02 11:23:14 +0530
commitc8e48471348ff02f679b5185e01291f059c93e6c (patch)
treeb9cedf30374fb9a2a3b39ab739b60fc84b26bba1 /arduino_blog/models.py
parent61c91c743fabb5c31127e8f8a8109364eda9b8ff (diff)
parentad1a740a6b70ff349b1cb1eb006d4eb8ae5c69d7 (diff)
downloadarduino_projects_website-c8e48471348ff02f679b5185e01291f059c93e6c.tar.gz
arduino_projects_website-c8e48471348ff02f679b5185e01291f059c93e6c.tar.bz2
arduino_projects_website-c8e48471348ff02f679b5185e01291f059c93e6c.zip
Merge pull request #5 from prashantsinalkar/master
updated to django 3 and added dashboard
Diffstat (limited to 'arduino_blog/models.py')
-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')