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",
]

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.2.tar.gz (26.6 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.2-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mytech_rest_auth-1.1.2.tar.gz
  • Upload date:
  • Size: 26.6 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.2.tar.gz
Algorithm Hash digest
SHA256 54d9a0dd9f0e56298c29f09f7432b9504cc105d35389896833578a4aa513f5ad
MD5 06d5eae44730a57010c9b6a84e53b392
BLAKE2b-256 72130da44a3de32380542bb138f495ecc086958472e99f072fdcc4fa039dcae1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mytech_rest_auth-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c56c46efb59d0e75a2d5841816e72dc3033e9c28ce87bb3255eba5a93e9907a7
MD5 474e517e07ca665f34c4adc5d02b3321
BLAKE2b-256 3f6a6fa1ed48fa2880fe90b3bf105f1af39e6673e08d5110981383fa51a57ae1

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