You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Easy and Fast Django REST framework based on Django-Ninja-Extra
12
+
#Easy CRUD API Framework
12
13
13
14
- Zero code for a full CRUD API: Automatic and configurable, inspired by [NextJs-Crud](https://github.com/nestjsx/crud).
14
15
- Async CRUD API with Django RBAC security protection
15
16
- Prefetch and retrieve all m2m fields if configured
16
17
- Recursively retrieve all FK/OneToOne fields if configured
17
18
- Excluding fields you do not want, or define a list of sensitive fields of your choice
19
+
- Pure class based [Django-Ninja](https://github.com/vitalik/django-ninja) APIs: thanks to [Django-Ninja-Extra](https://github.com/eadwinCode/django-ninja-extra)
18
20
- Domain/Service/Controller Base Structure: for better code organization.
19
21
- Base Permission/Response/Exception Classes: and some handy features to help your API coding easier.
20
-
- Pure class based [Django-Ninja](https://github.com/vitalik/django-ninja) APIs: thanks to [Django-Ninja-Extra](https://github.com/eadwinCode/django-ninja-extra)
21
22
22
23
```
23
24
Django-Ninja features:
@@ -34,13 +35,7 @@ Plus Extra:
34
35
Dependency Injection: Controller classes supports dependency injection with python Injector or django_injector. Giving you the ability to inject API dependable services to APIController class and utilizing them where needed
35
36
```
36
37
37
-
### Requirements
38
-
- Python >= 3.6
39
-
- Django >= 3.1
40
-
- pydantic >= 1.6
41
-
- Django-Ninja-Extra >= 0.15.0
42
-
43
-
### Install
38
+
## Install
44
39
`pip install django-api-framework`
45
40
46
41
Then add "easy" to your django INSTALLED_APPS:
@@ -53,8 +48,8 @@ Then add "easy" to your django INSTALLED_APPS:
53
48
]
54
49
```
55
50
56
-
###Usage
57
-
####Get all your Django app CRUD APIs up and running in < 1 min
51
+
## Usage
52
+
### Get all your Django app CRUD APIs up and running in < 1 min
58
53
In your Django project next to urls.py create new apis.py file:
0 commit comments