All Projects → Maximilien-R → django-rest-framework-recaptcha

Maximilien-R / django-rest-framework-recaptcha

Licence: MIT license
reCAPTCHA field for Django REST framework serializers

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to django-rest-framework-recaptcha

django-rest-framework-datatables-editor
Seamless integration between Django REST framework, Datatables and Datatables Editor.
Stars: ✭ 25 (+4.17%)
Mutual labels:  django-rest-framework, drf
django-rest-multitokenauth
An extension to Django-Rest-Frameworks Token Authentication, enabling a user to have multiple authorization tokens
Stars: ✭ 13 (-45.83%)
Mutual labels:  django-rest-framework, drf
drf-angular-docker-tutorial
Dockerized Django Back-end API using DRF with Angular Front-end Tutorial
Stars: ✭ 53 (+120.83%)
Mutual labels:  django-rest-framework, drf
django-ninja-extra
Django Ninja Extra - Class-Based Utility and more for Django Ninja(Fast Django REST framework)
Stars: ✭ 53 (+120.83%)
Mutual labels:  django-rest-framework, drf
drf-registration
Simple user registration package based on Django Rest Framework. DRF Registration - The easy way to generate registration RESTful APIs
Stars: ✭ 32 (+33.33%)
Mutual labels:  django-rest-framework, drf
Drf Recaptcha
Django REST framework reCAPTCHA
Stars: ✭ 47 (+95.83%)
Mutual labels:  recaptcha, django-rest-framework
PRRecaptchaBundle
Recaptcha v3 bundle for Symfony
Stars: ✭ 14 (-41.67%)
Mutual labels:  recaptcha
django-aws-template
Opinionated Django Project Template for AWS deployment
Stars: ✭ 36 (+50%)
Mutual labels:  django-rest-framework
react-grecaptcha
React.js Google reCAPTCHA v2 integration component.
Stars: ✭ 52 (+116.67%)
Mutual labels:  recaptcha
rnacentral-webcode
RNAcentral website source code
Stars: ✭ 23 (-4.17%)
Mutual labels:  django-rest-framework
django-rest-framework-oauth
OAuth support for Django REST Framework
Stars: ✭ 52 (+116.67%)
Mutual labels:  django-rest-framework
batamlawancorona api
Unofficial API of Batam Lawan Corona. Documentation and sample of use can be found at http://batamlawancoronaapi.herokuapp.com/docs/
Stars: ✭ 22 (-8.33%)
Mutual labels:  django-rest-framework
django todo app
python django를 활용한 웹 개발 튜토리얼! todo_app 만들기
Stars: ✭ 82 (+241.67%)
Mutual labels:  django-rest-framework
dcat-auth-captcha
Sliding captcha for dcat-admin auth / dcat-admin登陆 滑动验证插件 多平台支持
Stars: ✭ 38 (+58.33%)
Mutual labels:  recaptcha
Dailyfresh-B2C
这是一个 ☛全栈/全端/全平台☚ 的B2C模式的电商项目, web后台基于Django2.0 + Python3.6, 前后端分离,前端使用Vue框架开发。移动端基于Flutter开发,一套代码支持Android&IOS平台。微信小程序基于mpvue框架开发。
Stars: ✭ 74 (+208.33%)
Mutual labels:  django-rest-framework
django-user-management
User management model mixins and api views.
Stars: ✭ 56 (+133.33%)
Mutual labels:  django-rest-framework
django-rest-framework-condition
Decorators @​condition, @​last_modified and @​etag for Django Rest Framework
Stars: ✭ 26 (+8.33%)
Mutual labels:  django-rest-framework
drf dynamics
Dynamic queryset and serializer setup for Django REST Framework
Stars: ✭ 26 (+8.33%)
Mutual labels:  django-rest-framework
recaptcha2
Easy verifier for google reCAPTCHA version 2 for Node.js and Express.js
Stars: ✭ 48 (+100%)
Mutual labels:  recaptcha
Cetus-GUI
cetus web端管理工具
Stars: ✭ 53 (+120.83%)
Mutual labels:  django-rest-framework

Django REST framework reCAPTCHA

https://travis-ci.org/Maximilien-R/django-rest-framework-recaptcha.svg?branch=master https://coveralls.io/repos/github/Maximilien-R/django-rest-framework-recaptcha/badge.svg?branch=master Documentation Status

Django REST framework reCAPTCHA provides you a serializer field to handle and validate Google reCAPTCHA response.

Documentation

The full documentation is at https://django-rest-framework-recaptcha.readthedocs.io.

Requirements

  • Python: 2.7, 3.4, 3.5, 3.6, 3.7
  • Django: 1.10, 1.11, 2.0, 2.1
  • Django REST framework: 3.4, 3.5, 3.6, 3.7, 3.8, 3.9

Installation

To install Django REST framework reCAPTCHA, run this command in your terminal:

$ pip install djangorestframework-recaptcha

This is the preferred method to install Django REST framework reCAPTCHA, as it will always install the most recent stable release.

If you don't have pip installed, this Python installation guide can guide you through the process.

Once the djangorestframework-recaptcha installed, add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    "rest_framework_recaptcha",
    ...
)

Next, register yourself and obtain your reCAPTCHA credentials at https://www.google.com/recaptcha/admin.

Finally, copy/paste your Google reCAPTCHA secret key to the DRF_RECAPTCHA_SECRET_KEY setting:

DRF_RECAPTCHA_SECRET_KEY = "<your_reCAPTCHA_secret_key>"

Usage

To use Django REST framework reCAPTCHA within your project you'll need to import and add the ReCaptchaField serializer field into the wanted serializer. For example:

from rest_framework import serializers
from rest_framework_recaptcha import ReCaptchaField


class MySerializer(serializers.Serializer):
    recaptcha = ReCaptchaField()
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].