2015-10-16 17:53:02 +00:00
|
|
|
from django.db import models
|
|
|
|
|
|
|
|
from symposion.proposals.models import ProposalBase
|
|
|
|
|
|
|
|
|
|
|
|
class Proposal(ProposalBase):
|
|
|
|
|
2016-06-20 23:58:27 +00:00
|
|
|
TARGET_USER = 1
|
|
|
|
TARGET_BUSINESS = 2
|
|
|
|
TARGET_COMMUNITY = 3
|
|
|
|
TARGET_DEVELOPER = 4
|
|
|
|
|
|
|
|
TARGET_AUIDENCES = [
|
|
|
|
(TARGET_USER, "User"),
|
|
|
|
(TARGET_BUSINESS, "Business"),
|
|
|
|
(TARGET_COMMUNITY, "Community"),
|
|
|
|
(TARGET_DEVELOPER, "Developer"),
|
2015-10-16 17:53:02 +00:00
|
|
|
]
|
|
|
|
|
2016-06-20 23:58:27 +00:00
|
|
|
target_audience = models.IntegerField(choices=TARGET_AUIDENCES)
|
2015-10-16 17:53:02 +00:00
|
|
|
|
|
|
|
recording_release = models.BooleanField(
|
|
|
|
default=True,
|
2016-06-20 23:58:27 +00:00
|
|
|
help_text="I allow Linux Australia to release any recordings of "
|
|
|
|
"presentations covered by this proposal, under the <a "
|
|
|
|
"href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> "
|
|
|
|
"Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"
|
|
|
|
)
|
|
|
|
|
|
|
|
materials_release = models.BooleanField(
|
|
|
|
default=True,
|
|
|
|
help_text="I allow Linux Australia to release any other material "
|
|
|
|
"(such as slides) from presentations covered by this proposal, under "
|
|
|
|
"the <a "
|
|
|
|
"href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> "
|
|
|
|
"Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"
|
2015-10-16 17:53:02 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
abstract = True
|
|
|
|
|
|
|
|
|
|
|
|
class TalkProposal(Proposal):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "talk proposal"
|
2016-06-20 23:42:51 +00:00
|
|
|
|
|
|
|
class TutorialProposal(Proposal):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "tutorial proposal"
|
|
|
|
|
|
|
|
class MiniconfProposal(ProposalBase):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "miniconf proposal"
|
2016-09-23 11:23:46 +00:00
|
|
|
|
|
|
|
class SysAdminProposal(Proposal):
|
|
|
|
|
|
|
|
TYPE_SHORT_PRESENTATION = 1
|
|
|
|
TYPE_LIGHTNING_TALK = 2
|
|
|
|
|
|
|
|
TALK_FORMATS = [
|
2016-09-25 05:38:15 +00:00
|
|
|
(TYPE_SHORT_PRESENTATION, "Short Presentation (15-25 min)"),
|
|
|
|
(TYPE_LIGHTNING_TALK, "Lightning Talk (5-10 min)"),
|
2016-09-23 11:23:46 +00:00
|
|
|
]
|
|
|
|
|
2016-09-25 05:38:15 +00:00
|
|
|
talk_format = models.IntegerField(choices=TALK_FORMATS,
|
|
|
|
help_text="Please indicate your preferred talk length in the private abstract field below.")
|
2016-09-23 11:23:46 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "System Administration Miniconf Proposal"
|
|
|
|
|
|
|
|
class WriteTheDocsProposal(Proposal):
|
|
|
|
|
|
|
|
TYPE_LONG_PRESENTATION = 1
|
|
|
|
TYPE_SHORT_PRESENTATION = 2
|
|
|
|
|
|
|
|
TALK_FORMATS = [
|
|
|
|
(TYPE_LONG_PRESENTATION, "Long Presentation (40 min)"),
|
|
|
|
(TYPE_SHORT_PRESENTATION, "Short Presentation (20 min)"),
|
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(choices=TALK_FORMATS)
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "WriteThe Docs Miniconf Proposal"
|
|
|
|
|
2016-09-25 05:56:33 +00:00
|
|
|
class OpenRadioProposal(Proposal):
|
2016-09-23 11:23:46 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "OpenRadio Miniconf Proposal"
|
|
|
|
|
2016-09-25 05:56:33 +00:00
|
|
|
class WootconfProposal(Proposal):
|
2016-09-23 11:23:46 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "WOOTCONF Miniconf Proposal"
|
|
|
|
|
2016-09-25 05:56:33 +00:00
|
|
|
class KernelProposal(Proposal):
|
2016-09-23 11:23:46 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Kernel Miniconf Proposal"
|
|
|
|
|
2016-09-25 05:56:33 +00:00
|
|
|
class SecurityProposal(Proposal):
|
2016-09-23 11:23:46 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Security/Privacy Miniconf Proposal"
|
2016-09-25 05:38:15 +00:00
|
|
|
|
|
|
|
class GamesProposal(Proposal):
|
|
|
|
|
2016-09-27 08:10:41 +00:00
|
|
|
TYPE_PRESENTATION = 1
|
2016-09-25 05:38:15 +00:00
|
|
|
TYPE_DEMONSTRATION = 2
|
|
|
|
TYPE_OTHER = 3
|
2016-09-27 08:10:41 +00:00
|
|
|
|
2016-09-25 05:38:15 +00:00
|
|
|
TALK_FORMATS = [
|
2016-09-27 08:10:41 +00:00
|
|
|
(TYPE_PRESENTATION, "Presentation"),
|
2016-09-25 05:38:15 +00:00
|
|
|
(TYPE_DEMONSTRATION, "Demonstration"),
|
|
|
|
(TYPE_OTHER, "Other"),
|
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(choices=TALK_FORMATS)
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Games and FOSS Miniconf Proposal"
|
2016-09-27 08:10:41 +00:00
|
|
|
|
|
|
|
class TestingProposal(Proposal):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Testing/Automation Miniconf Proposal"
|
|
|
|
|
|
|
|
class KnowledgeProposal(Proposal):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Open Knowledge Australia Miniconf Proposal"
|
|
|
|
|
|
|
|
class LawProposal(Proposal):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Open Law and Policy Miniconf Proposal"
|