Skip to content

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