Skip to content

Commit 2630dcc

Browse files
committed
Release v1.0.3 - Fixes & DOCS Update
1 parent 576be6a commit 2630dcc

File tree

3 files changed

+13
-20
lines changed

3 files changed

+13
-20
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## [1.0.3] 2022-10-30
4+
### Improvements
5+
6+
- `DOCS` Update
7+
- Remove `settings` module hard coding
8+
- Now use `getattr()` to bind the configuration
9+
310
## [1.0.2] 2022-10-24
411
### Improvements
512

README.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -78,33 +78,19 @@ $ python manage.py migrate
7878
7979
```python
8080
from django.contrib import admin
81-
from django.urls import path, include # <-- NEW: 'include` directive added
82-
83-
urlpatterns = [
84-
path("admin/", admin.site.urls),
85-
path('', include('django_dyn_api.urls')), # <-- NEW: API routing rules
86-
]
87-
```
88-
89-
<br />
90-
91-
> **Step #6** - `Update routing`, include `DRF` JWT authentication
92-
93-
```python
94-
from django.contrib import admin
81+
from django.urls import path, include # <-- UPD: 'include` directive
9582
from rest_framework.authtoken.views import obtain_auth_token # <-- NEW
9683

9784
urlpatterns = [
98-
path("admin/", admin.site.urls),
99-
100-
path('', include('django_dyn_api.urls')), # <-- Added in the previous step
101-
path('login/jwt/', view=obtain_auth_token), # <-- NEW
85+
path("admin/", admin.site.urls),
86+
path('', include('django_dyn_api.urls')), # <-- NEW
87+
path('login/jwt/', view=obtain_auth_token), # <-- NEW
10288
]
10389
```
10490

10591
<br />
10692

107-
> **Step #7** - `Use API`
93+
> **Step #6** - `Use API`
10894
10995
If the managed model is `Books`, the API interface is `/api/books/` and all CRUD methods are available.
11096

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name='django-dynamic-api',
11-
version='1.0.2',
11+
version='1.0.3',
1212
zip_safe=False,
1313
packages=find_packages(),
1414
include_package_data=True,

0 commit comments

Comments
 (0)