Loading README.md +3 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ BOTSCOUT_NETWORK_TIMEOUT = 5 Additionally, you can set the following variables on individual forms to alter their behavior: ```python BOTSCOUT_NAME_FIELD = 'name' BOTSCOUT_EMAIL_FIELD = 'email' Loading @@ -25,6 +26,7 @@ BOTSCOUT_ERROR_MESSAGE = 'This request was matched in the BotScout database' Basic Usage ----------- In forms.py: ```python from botscout import BotScoutForm from django import forms Loading @@ -36,6 +38,7 @@ class ContactForm(BotScoutForm, forms.Form): ``` In views.py: ```python from .forms import ContactForm Loading Loading
README.md +3 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ BOTSCOUT_NETWORK_TIMEOUT = 5 Additionally, you can set the following variables on individual forms to alter their behavior: ```python BOTSCOUT_NAME_FIELD = 'name' BOTSCOUT_EMAIL_FIELD = 'email' Loading @@ -25,6 +26,7 @@ BOTSCOUT_ERROR_MESSAGE = 'This request was matched in the BotScout database' Basic Usage ----------- In forms.py: ```python from botscout import BotScoutForm from django import forms Loading @@ -36,6 +38,7 @@ class ContactForm(BotScoutForm, forms.Form): ``` In views.py: ```python from .forms import ContactForm Loading