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.5.tar.gz (28.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.5-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mytech_rest_auth-1.1.5.tar.gz
  • Upload date:
  • Size: 28.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.5.tar.gz
Algorithm Hash digest
SHA256 9b849cbf2ed34f880edf1543abdb66db2bbeb95abdc168810b79cf441ec92d45
MD5 3c0128388e758b40eadc166450d850aa
BLAKE2b-256 3c05bacb9994c08ba549b1ccdbc00c735287f169202d42c6e46cfe1146fc96bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mytech_rest_auth-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f4401cb869848c7b2fdeb926a7c3fffda2dd0a652b8fd23085b1cf52a3abe0ef
MD5 bdc1031abd2564f9bbd01f8ab223a4a5
BLAKE2b-256 84bc49bb7246cb666354bb9c45f7c95578d842b5b8198313fc3f877c3fc43dfb

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