Skip to content

Commit

Permalink
Fix UTC warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
juanifioren committed Oct 22, 2023
1 parent 6627e33 commit efc90a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions oidc_provider/migrations/0007_auto_20160111_1844.py
Expand Up @@ -4,7 +4,6 @@

import datetime
from django.db import migrations, models
from django.utils.timezone import utc


class Migration(migrations.Migration):
Expand All @@ -30,7 +29,7 @@ class Migration(migrations.Migration):
model_name='client',
name='date_created',
field=models.DateField(
auto_now_add=True, default=datetime.datetime(2016, 1, 11, 18, 44, 32, 192477, tzinfo=utc)),
auto_now_add=True, default=datetime.datetime(2016, 1, 11, 18, 44, 32, 192477, tzinfo=datetime.timezone.utc)),
preserve_default=False,
),
migrations.AlterField(
Expand Down
Expand Up @@ -6,7 +6,6 @@
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
from django.utils.timezone import utc


class Migration(migrations.Migration):
Expand All @@ -20,7 +19,7 @@ class Migration(migrations.Migration):
model_name='userconsent',
name='date_given',
field=models.DateTimeField(
default=datetime.datetime(2016, 6, 10, 17, 53, 48, 889808, tzinfo=utc), verbose_name='Date Given'),
default=datetime.datetime(2016, 6, 10, 17, 53, 48, 889808, tzinfo=datetime.timezone.utc), verbose_name='Date Given'),
preserve_default=False,
),
migrations.AlterField(
Expand Down

0 comments on commit efc90a6

Please sign in to comment.