-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
Description
Description
I'd suggest to add the django-ninja option to the project creation options.
Instead of using the use_drf
option in the current template, it would be nice to have an option like the one below.
in cookiecutter.json
:
...
"api_framework": ["Django REST Framework", "Django ninja"],
The current template has a good separation of the api-related code under api
, so I think we could substitute schemas.py
for serializers.py
and so on to put the django ninja
related code there.
Rationale
Now that version 1.0 of django-ninja has been released, and it seems to have matured quite a bit, I think it's worth adding it to the template.
AxanIqbal, Agamenox, bosskopp, JPolonia, Qoyyuum and 10 more