Socket
Socket
Sign inDemoInstall

django-invisible-recaptcha-admin

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    django-invisible-recaptcha-admin

Invisible captcha in administrative login.


Maintainers
1

Readme

############################### 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/>_

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc