Open ghost opened 12 years ago
Sorry, it's an error in documentation. Try to use {% show_feedback 'order' %} in your template.
corrected this raised another one ImproperlyConfigured at /contact/ Error importing can not import feedback form illucent.custom_feedback.forms.OrderForm: "No module named custom_feedback.forms"
how should i call this module ? illucent.redsolutioncms.django_simple_feedback.forms.OrderForm ?
Do you have illucent.custom_feedback.forms module? FEEDBACK_FORMS accepts full import path to form class.
/nfs/http7/illucent/modules/redsolutioncms.django_simple_feedback-0.3.8-py2.6.egg
name of module and path...
i've thought in settings.py i should assign FEEDBACK_FORMS = { 'default': 'feedback.forms.FeedbackForm', 'custom': 'illucent.custom_feedback.forms.OrderForm', } " 'custom': 'illucent.custom_feedback.forms.OrderForm'," -- "illucent" is the name of the project
Is OrderForm class can be imported from manage.py shell?
ImportError: No module named OrderForm
Form class should be importable. Correct errors and set FEEDBACK_FORMS dictionary value to importable class. For example, if you form lives in illucent/custom_feedback/forms.py and class name is CutomForm, FEEDBACK_FORMS should look like that:
FEEDBACK_FORMS = { 'default': 'feedback.forms.FeedbackForm', 'order': 'illucent.custom_feedback.forms.CutomForm', }
http://illucent.info/contact/
ImproperlyConfigured at /contact/ Form not registered in FEEDBACK_FORMS though settings.py has FEEDBACK_FORMS = { 'default': 'feedback.forms.FeedbackForm', 'order': 'itsme.custom_feedback.forms.OrderForm', }