Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit e52bd8c

Browse files
authored
Merge pull request #183 from TwilioDevEd/upgrade-django-3-2
Upgrade Django to 3.2.0
2 parents 49e5ad3 + cc3f47f commit e52bd8c

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
flake8==3.7.8
55

66
# Django Framework
7-
Django==2.2.5
7+
Django==3.2.0
88

99
# Third-party app dependencies
1010
twilio==6.30.0
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 3.2 on 2021-12-16 20:12
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('task_router', '0001_initial'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='missedcall',
15+
name='id',
16+
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
17+
),
18+
]

templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% load staticfiles %}
1+
{% load static %}
22

33
<!DOCTYPE html>
44
<html lang="en">

twilio_sample_project/settings/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,5 @@
148148

149149
# Redirect login to /support/dashboard
150150
LOGIN_REDIRECT_URL = '/support/dashbaord'
151+
152+
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

0 commit comments

Comments
 (0)