Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools

Captcha

Captcha

Back to Snip <-- Previous Change | Next Change -->

Diff Summary
Title
Date 2007-06-10 22:57:57 2008-06-14 11:11:10
Editor Herbert Poul Herbert Poul
Tags

2007-06-10 22:57:57 by Herbert Poul
2008-06-14 11:11:10 by Herbert Poul
17- Add the parent directory of djaptcha to your pyt17- 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
18- Add 'djaptcha' to your INSTALLED_APPS setting.18- Add 'djaptcha' to your INSTALLED_APPS setting.
19- additional settings variables:19- additional settings variables:
20    - FONT_PATH = '/usr/share/fonts/ttf-bitstream-20    - FONT_PATH = '/usr/share/fonts/ttf-bitstream-
>vera/\VeraBd.ttf'>vera/\VeraBd.ttf'
21    - FONT_SIZE = 1621    - FONT_SIZE = 16
tt22- optional settings:
23    - CAPTCHA_BGCOLOR, CAPTCHA_FGCOLOR: defines op
 >tionally the background and foreground color of th
 >e captcha
24    - CAPTCHA_BORDER: the border in pixels around 
 >the text
22- Make sure that in your project's urlconf is an e25- 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),
2326
2427
2528
26## Done29## Done


Powered by Sphene Community Tools