A Django api permission manager that helps you custom api url in regular expression and control access.
Project description
Django-API-Permission
1. Intro
A Django api permission manager that helps you custom api url in regular expression and control access.
2. Quick Start
2.1 Install
pip install django-api-permission
2.2 add to INSTALLED_APPS and MIDDLEWARE
INSTALLED_APPS = [
...
'api_permission',
...
]
MIDDLEWARE = [
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
...
'api_permission.middleware.APIPermCheckMiddleware',
]
2.3 migrate
./manage.py migrate api_permission
3. Demo
3.1 list
3.2 edit
3.3 result
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-api-permission-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a728903cf247ab063a0c5332be8f233c6c572d1b4b8878defa6bcd86141ef7 |
|
MD5 | 218a129d7b14510f14963e2af4ad7c15 |
|
BLAKE2b-256 | d64f6414a97f02a854ee15f875660eb99f99ca379d6cca0ddd9125ea0fec7870 |
Close
Hashes for django_api_permission-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c8f2cbf653737c03110696a3919b33e30b11a42001671c5f75c212ce9d694b8 |
|
MD5 | 1a2fe3b363b7773c6ff3b84fc664f384 |
|
BLAKE2b-256 | 87466a81d9d74d27ee1a9ab5fd78313df17233e13badff1528bd1bfd17a1f0be |