Added Venue views, urls and templates

This commit is contained in:
tomtom5152
2014-11-05 23:01:15 +00:00
parent 0f84327e0b
commit 802bd8d336
6 changed files with 253 additions and 0 deletions

View File

@@ -86,6 +86,8 @@ class Venue(models.Model, RevisionMixin):
three_phase_available = models.BooleanField(default=False)
notes = models.TextField(blank=True, null=True)
address = models.TextField(blank=True, null=True)
def __str__(self):
string = self.name
if self.notes and len(self.notes) > 0: