Skip to main content

Invisible captcha in administrative login.

Project description

###############################
Django Invisible Recaptcha Admin
###############################

###############################
How do I get set up?
###############################

Instale usando PyPI:

pip install django_invisible_recaptcha_admin

Add the app ``django_invisible_recaptcha_admin`` to ``settings.py``



INSTALLED_APPS = (
'django_invisible_recaptcha_admin',

'nocaptcha_recaptcha',

...
)


Add to ``urls.py`` from:

from django_invisible_recaptcha_admin.admin import my_admin

urlpatterns = [
#url(r'^admin/', include(admin.site.urls)),

url(r'^admin/', include(my_admin.urls)),
]


Add `keys <https://www.google.com/recaptcha/>`_ in ``settings.py``

NORECAPTCHA_SITE_KEY = 'SITEKEY'

NORECAPTCHA_SECRET_KEY = 'SECRET_KEY'


Now, in your ``admin.py`` you should use like this:


from django_invisible_recaptcha_admin.admin import my_admin

...

class TODOAdmin(admin.ModelAdmin):

list_display = ['todo']

...

my_admin.register(TODO, TODOAdmin)


###############################
To Do
###############################

* Create tests
* Organize the code according to the `PEP 8 <http://www.python.org/dev/peps/pep-0008/>`_



Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-invisible-recaptcha-admin, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size django_invisible_recaptcha_admin-1.0.0-py3-none-any.whl (6.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page