Use Django 3.1

This commit is contained in:
Pēteris Caune 2020-08-05 13:11:39 +03:00
parent 9edb8aa08d
commit 750b96c374
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
4 changed files with 31 additions and 3 deletions

View File

@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.
## v1.17.0-dev - Unreleased
## Improvements
- Django 3.1
## v1.16.0 - 2020-08-04
### Improvements

View File

@ -0,0 +1,23 @@
# Generated by Django 3.1 on 2020-08-05 10:04
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0074_auto_20200803_1411'),
]
operations = [
migrations.AlterField(
model_name='check',
name='last_ping_was_fail',
field=models.BooleanField(default=False),
),
migrations.AlterField(
model_name='check',
name='manual_resume',
field=models.BooleanField(default=False),
),
]

View File

@ -78,13 +78,13 @@ class Check(models.Model):
subject = models.CharField(max_length=100, blank=True)
subject_fail = models.CharField(max_length=100, blank=True)
methods = models.CharField(max_length=30, blank=True)
manual_resume = models.NullBooleanField(default=False)
manual_resume = models.BooleanField(default=False)
n_pings = models.IntegerField(default=0)
last_ping = models.DateTimeField(null=True, blank=True)
last_start = models.DateTimeField(null=True, blank=True)
last_duration = models.DurationField(null=True, blank=True)
last_ping_was_fail = models.NullBooleanField(default=False)
last_ping_was_fail = models.BooleanField(default=False)
has_confirmation_link = models.BooleanField(default=False)
alert_after = models.DateTimeField(null=True, blank=True, editable=False)
status = models.CharField(max_length=6, choices=STATUSES, default="new")

View File

@ -1,6 +1,6 @@
cron-descriptor==1.2.24
croniter==0.3.31
Django==3.0.8
Django==3.1
django-compressor==2.4
psycopg2==2.8.4
pytz==2020.1