Basics for SIP Miniconf
This commit is contained in:
parent
d49aeefc17
commit
df7836e07e
3 changed files with 16 additions and 1 deletions
|
@ -6,7 +6,7 @@ from pinaxcon.proposals.fields import HelpTextField
|
|||
from pinaxcon.proposals.models import TalkProposal, TutorialProposal, MiniconfProposal
|
||||
from pinaxcon.proposals.models import SysAdminProposal, KernelProposal, OpenHardwareProposal
|
||||
from pinaxcon.proposals.models import GamesProposal, DevDevProposal, ArtTechProposal
|
||||
from pinaxcon.proposals.models import OpenEdProposal, DocsProposal
|
||||
from pinaxcon.proposals.models import OpenEdProposal, DocsProposal, SecurityProposal
|
||||
|
||||
|
||||
DEFAULT_FIELDS = [
|
||||
|
@ -99,6 +99,14 @@ class SysadminProposalForm(ProposalForm):
|
|||
model = SysAdminProposal
|
||||
fields = TALK_FORMAT_FIELDS
|
||||
|
||||
|
||||
class SecurityProposalForm(ProposalForm):
|
||||
|
||||
class Meta:
|
||||
model = SecurityProposal
|
||||
fields = TALK_FORMAT_FIELDS
|
||||
|
||||
|
||||
class KernelProposalForm(ProposalForm):
|
||||
|
||||
class Meta:
|
||||
|
|
|
@ -124,6 +124,12 @@ class KernelProposal(Proposal):
|
|||
verbose_name = "Kernel Miniconf Proposal"
|
||||
|
||||
|
||||
class SecurityProposal(Proposal):
|
||||
|
||||
class Meta:
|
||||
verbose_name = "Security, Identity and Privacy Miniconf Proposal"
|
||||
|
||||
|
||||
class GamesProposal(Proposal):
|
||||
|
||||
TYPE_PRESENTATION = 1
|
||||
|
|
|
@ -344,6 +344,7 @@ PROPOSAL_FORMS = {
|
|||
"devdev-miniconf": "pinaxcon.proposals.forms.DevDevProposalForm",
|
||||
"arttech-miniconf": "pinaxcon.proposals.forms.ArtTechProposalForm",
|
||||
"docs-miniconf": "pinaxcon.proposals.forms.DocsProposalForm",
|
||||
"security-miniconf": "pinaxcon.proposals.forms.SecurityProposalForm"
|
||||
}
|
||||
|
||||
# Registrasion bits:
|
||||
|
|
Loading…
Reference in a new issue