Skip to main content

Django package to add Google reCAPTCHA to the admin login page

Project description

Features

  • Adds Google reCAPTCHA to the Django admin login page.

  • Easy to configure and customize.

  • Compatible with Django 4.2 and later.

Quick Start

  1. Install the package:

    pip install django-recaptcha-admin-login
  2. Add django_recaptcha_admin_login.recaptcha and django_recaptcha_admin_login.recaptcha.captcha to your INSTALLED_APPS in your settings.py:

    INSTALLED_APPS = [
        ...
        "django_recaptcha_admin_login.recaptcha",
        "django_recaptcha_admin_login.recaptcha.captcha",
    ]
  3. Add the Google reCAPTCHA keys to your settings:

    RECAPTCHA_PUBLIC_KEY = "your-public-key"
    RECAPTCHA_PRIVATE_KEY = "your-private-key"
  4. Update your base URLs to use the custom admin:

    from django_recaptcha_admin_login.recaptcha import admin
    
    urlpatterns = [
          path('admin/', admin.site.urls),
    ]

Project details


Download files

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

Source Distribution

django_recaptcha_admin_login-1.0.3.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Django_recaptcha_admin_login-1.0.3-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file django_recaptcha_admin_login-1.0.3.tar.gz.

File metadata

File hashes

Hashes for django_recaptcha_admin_login-1.0.3.tar.gz
Algorithm Hash digest
SHA256 9cd5696488d9d5a61845654d6d021ae34879d3a515aa4eec3a0f003ba3363f19
MD5 f4166d0c84f1c48a7b50d6438303d010
BLAKE2b-256 f92f762d5f248d36d4cb516c0549296b9d1e1104028a7a26e3b397ebf6acb838

See more details on using hashes here.

File details

Details for the file Django_recaptcha_admin_login-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for Django_recaptcha_admin_login-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 da35f80b022a4f43117c280a8ec0ee12511716ead90b4f480cca233f6725300e
MD5 b31aae0509b5a56e2c98f07b3a961b6e
BLAKE2b-256 645600b0ce487eb197cfe224a58039667f3f485b1890e80ce911a3d7595f12ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page