| - Add the parent directory of djaptcha to your pyt | | - Add the parent directory of djaptcha to your pyt |
| hon library path (e.g. by using sys.path.append(.. | | hon library path (e.g. by using sys.path.append(.. |
| .) in your settings.py | | .) in your settings.py |
| - Add 'djaptcha' to your INSTALLED_APPS setting. | | - Add 'djaptcha' to your INSTALLED_APPS setting. |
| - additional settings variables: | | - additional settings variables: |
| - FONT_PATH = '/usr/share/fonts/ttf-bitstream- | | - FONT_PATH = '/usr/share/fonts/ttf-bitstream- |
| vera/\VeraBd.ttf' | | vera/\VeraBd.ttf' |
| - FONT_SIZE = 16 | | - FONT_SIZE = 16 |
t | | t | - optional settings:
|
| | | - CAPTCHA_BGCOLOR, CAPTCHA_FGCOLOR: defines op |
| | | tionally the background and foreground color of th |
| | | e captcha
|
| | | - CAPTCHA_BORDER: the border in pixels around |
| | | the text
|
| - Make sure that in your project's urlconf is an e | | - Make sure that in your project's urlconf is an e |
| ntry like: (r'^community/', include('sphene.commun | | ntry like: (r'^community/', include('sphene.commun |
| ity.urls'), defaultdict), | | ity.urls'), defaultdict), |
| | | |
| | | |
| | | |
| ## Done | | ## Done |