| - 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 |
| - optional settings (showing default settings): | | - optional settings (showing default settings): |
t | - CAPTCHA_BGCOLOR = (39, 36, 81) # background | t | - CAPTCHA_BGCOLOR = (39, 36, 81) # background |
| color for captcha images | | color RGB tuple for captcha images |
| - CAPTCHA_FGCOLOR = (153, 204, 0) # foreground | | - CAPTCHA_FGCOLOR = (153, 204, 0) # foreground |
| color for captcha images | | color RGB tuple for captcha images |
| - CAPTCHA_BORDER = 2 # border width in pixels | | - CAPTCHA_BORDER = 2 # border width in pixels |
| around captcha text | | around captcha 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 |