Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes it easier to customise proposals #164

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

chrisjrn
Copy link

In at least one conference I've worked on, we needed to fork Symposion to remove the description field on ProposalBase, as we didn't use it.

This PR makes description, abstract, and additional_notes blankable, and adds a convenience mixin for ModelForm that lets you make these fields required again.

This preserves original functionality, and also makes it possible to customise/disable fields from BaseProposal without needing to fork Symposion.


def __init__(self, *a, **k):
super(ProposalForm, self).__init__(*a, **k)
print "Hello!"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this print a debugging remnant?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that should definitely not be there.

@jhrr
Copy link

jhrr commented Aug 19, 2017

This all looks reasonable to me. I'll consult with @jtauber and hopefully be able to get this merged into master on Monday.

Thanks for the effort!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants