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.11.tar.gz
(28.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.11.tar.gz.
File metadata
- Download URL: mytech_rest_auth-1.1.11.tar.gz
- Upload date:
- Size: 28.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 |
7a493381c8244ab96b89ce97b0ca71cd82481932e77a90912f719de8bb9e80d7
|
|
| MD5 |
7bec413a8a3f46bcebca75e2cfe9c67e
|
|
| BLAKE2b-256 |
c5d4811b59d598f8f8472fa86089c5494ad9426b9f3d2276bcbf1d1b413229cd
|
File details
Details for the file mytech_rest_auth-1.1.11-py3-none-any.whl.
File metadata
- Download URL: mytech_rest_auth-1.1.11-py3-none-any.whl
- Upload date:
- Size: 32.6 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 |
b3220fa85ad5acf6039997b8ac864329fc22093ec26f5e30bdf7e2476b2d4884
|
|
| MD5 |
d124a42cfdcf9e699e8f150f28058806
|
|
| BLAKE2b-256 |
e4da55d2671f0686462355e6f5d1bd8a9aa687168910678e3e365a4ebaf7718a
|