summaryrefslogtreecommitdiff
path: root/workshop_app/models.py
diff options
context:
space:
mode:
authorAkshen2018-08-06 16:36:15 +0530
committerAkshen2018-08-06 16:36:15 +0530
commitc90b389e388a572862e484fb7b0b674f8c676dd7 (patch)
treeda1b73420e2528e71b6b06e4223a58ec0ded566e /workshop_app/models.py
parent49b05ba8b289430f2d0483f544106bb6d0057a9a (diff)
downloadworkshop_booking-c90b389e388a572862e484fb7b0b674f8c676dd7.tar.gz
workshop_booking-c90b389e388a572862e484fb7b0b674f8c676dd7.tar.bz2
workshop_booking-c90b389e388a572862e484fb7b0b674f8c676dd7.zip
Add testcases for ProfileComments Model
- Add testcases for ProfileComments model - Add ProfileComments to ModelAdmin - update ReadMe and Getting_Started
Diffstat (limited to 'workshop_app/models.py')
-rw-r--r--workshop_app/models.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/workshop_app/models.py b/workshop_app/models.py
index 3f78e1d..04c3227 100644
--- a/workshop_app/models.py
+++ b/workshop_app/models.py
@@ -288,5 +288,7 @@ class ProfileComments(models.Model):
def __str__(self):
return u"{0} | {1}".format(
self.comment,
- self.created_date
+ self.created_date,
+ self.coordinator_profile,
+ self.instructor_profile
) \ No newline at end of file