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.4.tar.gz (26.8 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.4-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mytech_rest_auth-1.1.4.tar.gz
  • Upload date:
  • Size: 26.8 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.4.tar.gz
Algorithm Hash digest
SHA256 a65600f0222e2d5d84aa475cdd93bd14fde8035b018ec942c250ebee9d8b6ad0
MD5 6204f69c876303a51bc4e1a038c2be4b
BLAKE2b-256 064102be612fc4cfdc065b4fe7dca4433cc14d5d1f1f71b8142a88c31c721c59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mytech_rest_auth-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b57dae64288affd1943f3dfaf145c2a76f5d3dc0a8a7f7280ca3a702c13962d2
MD5 cbea6d4ef38f29f1e8882854fcb4ede8
BLAKE2b-256 a2e7378b4f1daf6aa86cf139a11ab567f4139575c85fec7aaf543e94bd1e19c1

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