Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions htmlmin/tests/pico_django.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
https://github.com/readevalprint/mini-django/blob/master/pico_django.py
'''

from django.conf.urls import url
from django.urls import path
from django.http import HttpResponse
from htmlmin.decorators import minified_response, not_minified_response

Expand Down Expand Up @@ -40,7 +40,7 @@ def raw(request):


urlpatterns = [
url(r'^min$', minified),
url(r'^raw$', raw),
url(r'^not_min$', not_minified)
path('min', minified),
path('raw', raw),
path('not_min', not_minified)
]