Skip to main content

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


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.0.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mytech_rest_auth-1.1.0-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file mytech_rest_auth-1.1.0.tar.gz.

File metadata

  • Download URL: mytech_rest_auth-1.1.0.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for mytech_rest_auth-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1c28e1565581c79c83de7f3228a3240ad19526b319d809678ea043999c2daa43
MD5 1719f92ec1bc9044a1632f9c15e13309
BLAKE2b-256 ae0d4f34c03dd65fc7a8e9d146dcc951fd357f1ffa8e763967fb03ee83d1f1b5

See more details on using hashes here.

File details

Details for the file mytech_rest_auth-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mytech_rest_auth-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4816c890488ecf9f8bb1ed7e3ee14ae6c2b7d3a56dae3c0409d089f3b6e152c3
MD5 f0307a2f0f4c70bb59d53d26d53b7c05
BLAKE2b-256 4b57cd7f607fdee5d82ad0e145739353d94e9698913702c7caf6c134a29572d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page