Require Django versions: 1.4.11
To install the spicy.feedback
package, simply place it anywhere on your
PYTHONPATH
.
INSTALLED_APPS = ( ... 'spicy.feedback', ... ) FEEDBACK_BACKENDS = ( 'spicy.feedback.backends.email', # backend send email(base) 'spicy.feedback.backends.sms', # backend send SMS(optional) 'spicy.feedback.backends.rest', # backend send data to CRM(optional) )
USE_DEFAULT_FEEDBACK = False CUSTOM_FEEDBACK_MODEL = 'apps.webapp.NewFeedbackModel' CUSTOM_FEEDBACK_FORM = 'apps.webapp.forms.NewFeedbackForm'
urlpatterns = patterns('', ... url(r'^', include('spicy.feedback.urls', namespace='feedback')), ... )
You must perform syncdb
before using any FB
in setting.py
because we need database table before we can use FB
1.1.0 - stable version