From d3a10fbff7751559308c3a48755de676845b3372 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Wed, 7 Apr 2021 13:56:17 +0200 Subject: [PATCH] =?UTF-8?q?Passage=20=C3=A0=20Django=203.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/0020_alter_user_first_name.py | 20 +++++++++++++++++++ kadenios/settings/common.py | 2 ++ requirements.txt | 4 ++-- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 elections/migrations/0020_alter_user_first_name.py diff --git a/elections/migrations/0020_alter_user_first_name.py b/elections/migrations/0020_alter_user_first_name.py new file mode 100644 index 0000000..e9e298e --- /dev/null +++ b/elections/migrations/0020_alter_user_first_name.py @@ -0,0 +1,20 @@ +# Generated by Django 3.2 on 2021-04-07 11:56 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("elections", "0019_option_winner"), + ] + + operations = [ + migrations.AlterField( + model_name="user", + name="first_name", + field=models.CharField( + blank=True, max_length=150, verbose_name="first name" + ), + ), + ] diff --git a/kadenios/settings/common.py b/kadenios/settings/common.py index ca579f5..6e0051e 100644 --- a/kadenios/settings/common.py +++ b/kadenios/settings/common.py @@ -86,6 +86,8 @@ TEMPLATES = [ WSGI_APPLICATION = "kadenios.wsgi.application" +DEFAULT_AUTO_FIELD = "django.db.models.AutoField" + DEFAULT_FROM_EMAIL = "Kadenios " # ############################################################################# diff --git a/requirements.txt b/requirements.txt index f55ae9d..117f3e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -django==2.2.* -authens +django==3.2.* +authens>=0.1b2 numpy networkx