From ecd2c19b265e3974707da0d9b8e260749dcf4a9f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 21 Oct 2020 17:08:24 +0100 Subject: renamed a field in a model to date and look what I need! new migrations and fixed tests --- ctrack/users/migrations/0001_initial.py | 2 +- ctrack/users/tests/test_views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ctrack/users') diff --git a/ctrack/users/migrations/0001_initial.py b/ctrack/users/migrations/0001_initial.py index ec91581..a781a77 100644 --- a/ctrack/users/migrations/0001_initial.py +++ b/ctrack/users/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 3.1.2 on 2020-10-14 16:05 +# Generated by Django 3.1.2 on 2020-10-21 15:51 import django.contrib.auth.models import django.contrib.auth.validators diff --git a/ctrack/users/tests/test_views.py b/ctrack/users/tests/test_views.py index 525e261..e47d22b 100644 --- a/ctrack/users/tests/test_views.py +++ b/ctrack/users/tests/test_views.py @@ -30,7 +30,7 @@ class TestUserProfilePage: url="http://fake.url.com", requested_response_date="2021-01-24", response_received_date=None, - datetime="2020-10-10T15:00", + date="2020-10-10T15:00", comments="Comments on important event", # location is optional user=user, -- cgit v1.2.3