Fix #381 -- Add location field (#398)

* add location field

* rearrange the display order
This commit is contained in:
jlwt90
2017-02-03 00:51:13 +08:00
committed by Raphael Michel
parent 01c3200258
commit 3037309711
5 changed files with 33 additions and 1 deletions

View File

@@ -51,6 +51,8 @@ class Event(LoggedModel):
:type presale_start: datetime
:param presale_end: No tickets will be sold after this date.
:type presale_end: datetime
:param location: venue
:type location: str
:param plugins: A comma-separated list of plugin names that are active for this
event.
:type plugins: str
@@ -99,6 +101,11 @@ class Event(LoggedModel):
verbose_name=_("Start of presale"),
help_text=_("No products will be sold before this date."),
)
location = I18nCharField(
null=True, blank=True,
max_length=200,
verbose_name=_("Location"),
)
plugins = models.TextField(
null=True, blank=True,
verbose_name=_("Plugins"),