Create new proposal
Consider the proposer is logged in, the page should display form containing fields like title, description, target_audience, prerequisites, content_urls, speaker_info, speaker_links, status
.
title
is a text field, description
is a markdown field, target_audience
is a drop down list with the values beginner, intermediate, advance
, prerequisites, content urls, speaker_info, speaker_links
are a markdown field, status
is a drop down field with DRAFT, PUBLIC, WITHDRAW
and proposal section and proposal type
should be relevant drop down box.
title, description, target_audience, status, proposal section, proposal type
are mandatory fields.
After successfully creating proposal, page should redirect to view page with a success message.
View page
Any one can view page.
Edit
Only creator of the proposal can edit the proposal. The edit form should be same as create form with pre populated value from DB.
List
List page should list all proposal in descending order of proposal created date. Any one can view the page.
Delete
Only proposal creator can delete the proposal.
Model for Proposal is available at https://github.com/pythonindia/junction/blob/master/junction/proposals/models.py.
Relevant foreign keys can be set in view function/class.