More work on planned publish date and internal note. improved event
detail page and some form code.
This commit is contained in:
@@ -162,6 +162,11 @@ class Event(models.Model):
|
||||
additional_costs = models.CharField(max_length=config.ADDITIONAL_COSTS_MAX_LENGTH,
|
||||
blank=True)
|
||||
|
||||
# SummaryForm
|
||||
planned_publish_date = models.DateField(blank=True,
|
||||
null=True)
|
||||
internal_note = models.TextField(blank=True)
|
||||
|
||||
class Meta:
|
||||
verbose_name = _(u'Veranstaltung')
|
||||
verbose_name_plural = _(u'Veranstaltungen')
|
||||
@@ -408,6 +413,8 @@ class Event(models.Model):
|
||||
'trainer_3_email': self.trainer_3_email,
|
||||
'trainer_3_phone': self.trainer_3_phone,
|
||||
'registration_howto': self.registration_howto,
|
||||
'planned_publish_date': self.planned_publish_date,
|
||||
'internal_note': self.internal_note,
|
||||
}
|
||||
return context
|
||||
|
||||
|
||||
Reference in New Issue
Block a user