Skip to content

Make Django non-hard dependency

No due date 85% complete

Currently Django and DRF are hard dependencies and used under the hood for:

  • Authorization - to be implemented within winter_security, removed from the framework for now.
  • WSGI adapter - we'll consider starlette and uvicorn instead.
  • static files handling (starlette)
  • HTTP sessions (starlette)
  • forms handling
  • built-in caching mechanism
  • management commands

Currently Django and DRF are hard dependencies and used under the hood for:

  • Authorization - to be implemented within winter_security, removed from the framework for now.
  • WSGI adapter - we'll consider starlette and uvicorn instead.
  • static files handling (starlette)
  • HTTP sessions (starlette)
  • forms handling
  • built-in caching mechanism
  • management commands
  • HTTP request/response - to be implemented in winter_http to abstract away from the specific underlying technology.
  • gettext translations
  • middleware - to be replaced with interceptors
  • configuration via settings.py - replace with injector and profiles
  • drf_yasg as a base for openapi generation - replaced with openapi-schema-pydantic
  • 500 handler (set_default_handler)
Loading