We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
DjangoCon 2022 | Introducing Django Ninja
Discover Django Ninja, a powerful library that streamlines Django development with type annotations, ensuring REST APIs are type-safe, customizable, and high-performing, with extensive testing and seamless integration with Django.
- Django Ninja is a relatively small library on top of Django that uses type annotations to create REST APIs.
- It’s a Type-Safe way to create APIs
- You can use type annotations to hint about the types of arguments and results.
- It uses Pydantic for validation and integrates deeply with the Django framework.
- It’s highly customizable and can be used for complex JSON payloads.
- It’s 100% covered with tests, has constant code reviews, bug fixes, and is already used by more than 10 companies.
- It’s performance is good, even for complex data parsing and validation.
- It supports async views and can mix sync and async views in one project.
- It can be used for pagination and can be easily integrated with Django’s ORM.
- You can use file markers to work with files.
- It supports type hints for method parameters and return types.
- It supports nested objects and foreign keys.
- It’s easy to use and has a small learning curve.
- It’s highly extensible and can be easily integrated with other libraries and frameworks.
- It’s a production-ready library with over 50,000 downloads per month.
- You can use it for data validation and serialization.