Skip to content

Commit 6ea0e6d

Browse files
committed
code update for latest django
1 parent 482a170 commit 6ea0e6d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cryptobox_template.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% load static %}
12
<!DOCTYPE html>
23
<html>
34
<head>

urls.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from django.conf.urls import url
2-
from . import views
1+
from django.urls import path
2+
from . import views as view
33

44
urlpatterns = [
55
# (...) your other url's
6-
url(r'^gourl_callback.html/$', views.callback, name='callback')
6+
path('gourl_callback.html/', view.callback, name='callback')
77
]

0 commit comments

Comments
 (0)