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.7.tar.gz
(27.0 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.7.tar.gz.
File metadata
- Download URL: mytech_rest_auth-1.1.7.tar.gz
- Upload date:
- Size: 27.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d5d5199021e616d989c6080f07fde530c6ad56e48cc16fd0374e7f7ab9f13ac
|
|
| MD5 |
efd17b3ea4232eeb167100f8120a82b5
|
|
| BLAKE2b-256 |
ba2525e8971535ec681c2821561668d2cdaf3ca621017576ef3e797a5d3495d0
|
File details
Details for the file mytech_rest_auth-1.1.7-py3-none-any.whl.
File metadata
- Download URL: mytech_rest_auth-1.1.7-py3-none-any.whl
- Upload date:
- Size: 31.5 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 |
53a1b65069ff391450564a6a1ed590390da5d23a8c901bec7bcc40046e53f5f6
|
|
| MD5 |
ea15df70f15da6c3db3313b71d5e134d
|
|
| BLAKE2b-256 |
5f50168a30a268bcac734e6a16c6ae3f3b806da3074693a6582f66595501e404
|