App de autenticação e gestão de entidades para Django REST Framework
Project description
lib
Este e para armazenar librires
django-cors-headers==4.9.0
pip install django-cors-headers
Inside settings.py:
INSTALLED_APPS = [
'corsheaders',
...
]
MIDDLEWARE = [
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
...
]
CORS_ALLOWED_ORIGINS = [
"http://84.247.162.222:9000",
]
CORS_ALLOW_CREDENTIALS = True
from corsheaders.defaults import default_headers
CORS_ALLOW_HEADERS = list(default_headers) + [
"fek",
"fep",
]
dependencies = [
"Django>=5.2.8",
"djangorestframework==3.16.1",
"djangorestframework-simplejwt==5.2.2",
"rest-framework-simplejwt==0.0.2",
"drf-writable-nested==0.7.2",
"drf-yasg==1.21.11",
"pyotp==2.9.0",
"pillow==12.0.0",
"django-cors-headers==4.9.0",
]
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
mytech_rest_auth-1.1.5.tar.gz
(28.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mytech_rest_auth-1.1.5.tar.gz.
File metadata
- Download URL: mytech_rest_auth-1.1.5.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b849cbf2ed34f880edf1543abdb66db2bbeb95abdc168810b79cf441ec92d45
|
|
| MD5 |
3c0128388e758b40eadc166450d850aa
|
|
| BLAKE2b-256 |
3c05bacb9994c08ba549b1ccdbc00c735287f169202d42c6e46cfe1146fc96bb
|
File details
Details for the file mytech_rest_auth-1.1.5-py3-none-any.whl.
File metadata
- Download URL: mytech_rest_auth-1.1.5-py3-none-any.whl
- Upload date:
- Size: 33.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4401cb869848c7b2fdeb926a7c3fffda2dd0a652b8fd23085b1cf52a3abe0ef
|
|
| MD5 |
bdc1031abd2564f9bbd01f8ab223a4a5
|
|
| BLAKE2b-256 |
84bc49bb7246cb666354bb9c45f7c95578d842b5b8198313fc3f877c3fc43dfb
|