Contents

django-ninja 1.3.0

0

Django Ninja - Fast Django REST framework

Django Ninja - Fast Django REST framework

Stars: 7104, Watchers: 7104, Forks: 423, Open Issues: 348

The vitalik/django-ninja repo was created 4 years ago and the last code push was Yesterday.
The project is extremely popular with a mindblowing 7104 github stars!

How to Install django-ninja

You can install django-ninja using pip

pip install django-ninja

or add it to a project with poetry

poetry add django-ninja

Package Details

Author
Vitaliy Kucheryaviy
License
None
Homepage
https://django-ninja.dev
PyPi:
https://pypi.org/project/django-ninja/
Documentation:
https://django-ninja.dev
GitHub Repo:
https://github.com/vitalik/django-ninja

Classifiers

  • Internet
  • Internet/WWW/HTTP
  • Internet/WWW/HTTP/HTTP Servers
  • Software Development
  • Software Development/Libraries
  • Software Development/Libraries/Application Frameworks
  • Software Development/Libraries/Python Modules
No  django-ninja  pypi packages just yet.

Errors

A list of common django-ninja errors.

Code Examples

Here are some django-ninja code examples and snippets.

GitHub Issues

The django-ninja package has 348 open issues on GitHub

  • ModelSchema: related objects
  • Smarter schema improve
  • Provide a temporal HttpResponse typed argument to views
  • Django Ninja + GeoDjango
  • Docs restructure
  • Dynamic response schema based on request parameters
  • Schema class | value is not a valid enumeration member; permitted: …
  • Get operation Id for any given request.
  • Foreignkey assigning is searching for instance
  • error "AttributeError: fields"
  • strange presentation of validation error when using pydantic.error_wrappers.display_errors
  • Throttling support?
  • Docs - file uploads
  • Smarter schema that handles dotted aliases and resolver methods
  • TestClient lacks of authentication

See more issues on GitHub

Related Packages & Articles

drf-yasg 1.21.7

Automated generation of real Swagger/OpenAPI 2.0 schemas from Django Rest Framework code.

fastapi 0.115.0

FastAPI framework, high performance, easy to learn, fast to code, ready for production

apispec 6.6.1

A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification).

pydantic-gen generates pydantic schemas from YAML files

pydantic-gen is a code generation python package that takes a YML file containing a OpenAPI Schema and generates python pydantic models. pydantic-gen can get used in your codebase to dynamically regenerate your pydantic models or it can be used one time to generator python code. The author of the pydantic-gen module is Mikhail Beliansky.