Skip to content

Commit c9ee2a3

Browse files
Documentation update, see issue #46: Update for django 4.2
1 parent d570fce commit c9ee2a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,11 @@ Imagefit is a resize service, therefore include its urls.
9999
Prefix it with whatever you want (here "imagefit" for example):
100100

101101
```python
102+
from django.urls import re_path
103+
102104
urlpatterns = urlpatterns('',
103105
104-
url(r'^imagefit/', include('imagefit.urls')),
106+
re_path(r'^imagefit/', include('imagefit.urls')),
105107
)
106108
```
107109

0 commit comments

Comments
 (0)