Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

added support of programmatic configuration #3

Open
wants to merge 4 commits into
from

Conversation

Projects
None yet
3 participants
@ghost

ghost commented Jul 27, 2011

Hello, I've added a possibility to configure ReCaptcha programmatically.

In my case I store settings in the database, so needed an option to bypass settings.py, but parameters from settings.py will still work.

r = ReCaptchaField() #uses settings.py
r = ReCaptchaField(private_key = '...', public_key = '...', use_ssl = True) #use run time config

Would you merge it?

Also - the django-recaptcha module on the pypi.python.org is outdated - is there a way to refresh it?

If not - I am publishing django-recaptcha2 soon, because I really need this module installable via easy_install from the index.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment