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.10.tar.gz (27.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.10-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mytech_rest_auth-1.1.10.tar.gz
  • Upload date:
  • Size: 27.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.10.tar.gz
Algorithm Hash digest
SHA256 4a6686fb9f1c15a7de72c53067cddeab7b335ccd305c5a7af81622462f110f3c
MD5 c8a8ace4725de12ca469fd2dfd5e63bb
BLAKE2b-256 f9410d99dc4d242f561085441429975f5b27c290bcde4d6f2f77cf66ac4b96d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mytech_rest_auth-1.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 8e0bbcae2c3769e4597588aae81ae040442d152044c8b90754f2d1fbd0746158
MD5 32e43646f798fdf03ccccb31c1bbd296
BLAKE2b-256 85ee30fcde7d3f1662fcdfdf467ee5f231c530f68777e3b9a5d7088b40159d4f

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