Closed dsh2dsh closed 13 years ago
Could you take a look into
https://github.com/dsh2dsh/cmsplugin-contact
I've added some code for easier subclassing cmsplugin_contact.
Thanks!
Can you make a pull request with those changes?
Done, I've make the request.
Thanks!
Hello!
Could you change models.py a little and convert Contact class into abstract class? Something like
I'd like to add more fields into my contact form, but I can't subclass non abstract model. Django CMS doesn't allow it. After that change I could subclass BaseContact and add more fileds into my new subclassed model.
Also, it would be nice to change cms_plugin.ContactPlugin for easier subclassing. May be something like
In this case anyone can subclass ContactPlugin and override model, form, contact_form and email_template properties without copying some code from ContactPlugin.
Thank you!