Skip to content

Commit

Permalink
docs(README): point Django documentation links to stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Nov 25, 2024
1 parent f87ad58 commit 8accb2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ poetry run ./manage.py runserver
```

To use the APIS framework in your application, you will need to add the following dependencies to
[`INSTALLED_APPS`](https://docs.djangoproject.com/en/4.2/ref/settings/#installed-apps):
[`INSTALLED_APPS`](https://docs.djangoproject.com/en/stable/ref/settings/#installed-apps):

```python
INSTALLED_APPS = [
Expand Down Expand Up @@ -127,14 +127,14 @@ INSTALLED_APPS = [
]
```

Finally, add the APIS urls to your applications [URL Dispatcher](https://docs.djangoproject.com/en/4.2/topics/http/urls/)
Finally, add the APIS urls to your applications [URL Dispatcher](https://docs.djangoproject.com/en/stable/topics/http/urls/)

```python
urlpatterns = [
path("", include("apis_core.urls", namespace="apis")),
# https://docs.djangoproject.com/en/5.0/topics/auth/default/#module-django.contrib.auth.views
# https://docs.djangoproject.com/en/stable/topics/auth/default/#module-django.contrib.auth.views
path("accounts/", include("django.contrib.auth.urls")),
# https://docs.djangoproject.com/en/5.0/ref/contrib/admin/#hooking-adminsite-to-urlconf
# https://docs.djangoproject.com/en/stable/ref/contrib/admin/#hooking-adminsite-to-urlconf
path("admin/", admin.site.urls),
]
```
Expand Down

0 comments on commit 8accb2b

Please sign in to comment.