File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
+ ## [ 1.0.1] 2022-10-24
4
+ ### Improvements
5
+
6
+ - DOCS Update
7
+
3
8
## [ 1.0.0] 2022-10-24
4
9
### STABLE_RELEASE
5
10
Original file line number Diff line number Diff line change @@ -42,11 +42,12 @@ INSTALLED_APPS = [
42
42
43
43
<br />
44
44
45
- > ** Step #3 ** - ` Register the model ` in ` core/settings.py ` (API_GENERATOR section)
45
+ > ** Step #3 ** - ` Register the model ` in ` core/settings.py ` (DYNAMIC_API section)
46
46
47
47
This sample code assumes that ` app1 ` exists and model ` Book ` is defined and migrated.
48
48
49
49
``` python
50
+
50
51
DYNAMIC_API = {
51
52
# pattern:
52
53
# API_SLUG -> Import_PATH
@@ -59,6 +60,7 @@ REST_FRAMEWORK = {
59
60
' rest_framework.authentication.TokenAuthentication' ,
60
61
],
61
62
}
63
+
62
64
```
63
65
64
66
<br />
Original file line number Diff line number Diff line change 8
8
9
9
setup (
10
10
name = 'django-dynamic-api' ,
11
- version = '1.0.0 ' ,
11
+ version = '1.0.1 ' ,
12
12
zip_safe = False ,
13
13
packages = find_packages (),
14
14
include_package_data = True ,
You can’t perform that action at this time.
0 commit comments