Introduction

Overview of Django Ninja CRUD

Django Ninja CRUD is a declarative, powerful, and yet opinionated framework that simplifies the development of CRUD (Create, Read, Update, Delete) views and tests with Django Ninja.
It promotes best practices for efficient, robust endpoint creation, allowing you to focus on what matters most: solving real problems.
Initially inspired by DRF's ModelViewSet, Django Ninja CRUD evolved to address its limitations, adopting a composition-over-inheritance approach to achieve true modularity – a foundational step towards a broader declarative interface for endpoint creation.

✨ Key Features

  • Purely Declarative: Embrace an approach where defining views and tests is a matter of declaring what you want, not how to achieve it.
  • Unmatched Modularity: Tailor your viewsets with the desired CRUD views and customize each view's behavior with ease. Extend the flexibility by creating your own subclasses of the provided views and tests.
  • Powerful Testing Framework: Leverage a matrix-based testing framework for defining diverse test scenarios declaratively.
  • Focus on What Matters: Spend more time solving real-world problems and less on CRUD boilerplate.

Its blend of declarative syntax, modularity, and powerful testing capabilities sets a new standard for developers seeking efficiency and precision.

Django Ninja CRUD is not just a tool; it's a paradigm shift in Django web application development and testing.

📝 Requirements

Python versions
Django versions
Django Ninja versions

⚒️ Installation

pip install django-ninja-crud

💬 What's Next?

  • Quick Examples: The section contains easy-to-understand examples of how to use the package and test its features. This will provide you with a practical understanding of how the package works.
  • Detailed Documentation: For a more comprehensive understanding of Django Ninja CRUD, navigate to our detailed documentation. Here, you'll find in-depth explanations of the package's features and capabilities, as well as advanced usage examples.
  • Community: Join our community for discussions, support, and updates related to Django Ninja CRUD. Share your experiences, learn from others, and contribute to improving the package.