Skip to content

Commit d04241c

Browse files
committed
Upgrade to Django 3
1 parent 3355633 commit d04241c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Django==1.11.28
2-
django-bootstrap3==6.2.2
3-
django-jquery==1.9.1
1+
Django==3.0.4
2+
django-bootstrap3==12.0.3
3+
django-jquery==3.1.0

templates/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% load bootstrap3 %}
2-
{% load staticfiles i18n %}
2+
{% load static i18n %}
33
<!DOCTYPE HTML>
44
<html lang="en">
55
<head>

views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from django.shortcuts import render, redirect
2-
from django.core.urlresolvers import reverse
2+
from django.urls import reverse
33
from .forms import *
44
from django import forms
55
from django.http import HttpResponse

0 commit comments

Comments
 (0)