datatracker/ietf/person/migrations
Jennifer Richards ebebdbed3e
refactor: replace datetime.now and datetime.today with timezone.now (#4211)
* refactor: replace datetime.now with timezone.now

* refactor: migrate model fields to use timezone.now as default

* refactor: replace datetime.today with timezone.now

datetime.datetime.today() is equivalent to datetime.datetime.now(); both
return a naive datetime with the current local time.

* refactor: rephrase datetime.now(tz) as timezone.now().astimezone(tz)

This is effectively the same, but is less likely to encourage accidental
use of naive datetimes.

* refactor: revert datetime.today() change to old migrations

* refactor: change a missed datetime.now to timezone.now

* chore: renumber timezone_now migration

* chore: renumber migrations
2022-08-25 13:45:16 -03:00
..
0001_initial.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
0002_auto_20180330_0808.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
0003_auto_20180504_1519.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
0004_populate_email_origin.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
0005_populate_person_name_from_draft.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
0006_auto_20180910_0719.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
0007_auto_20180929_1303.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
0008_auto_20181014_1448.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
0009_auto_20190118_0725.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
0010_auto_20200415_1133.py Migration for updated list of personal API endpoints. 2020-04-15 18:35:25 +00:00
0011_auto_20200608_1212.py Added migrations for model changes 2020-06-08 19:28:15 +00:00
0012_auto_20200624_1332.py Changed NullBoleanField() to BooleanField(null=True), according to the 2.1 upgrade recommendations. 2020-06-24 20:33:57 +00:00
0013_auto_20200711_1036.py Tweaked a migration. 2020-07-11 20:29:23 +00:00
0014_auto_20200717_0743.py Added a missing migration 2020-07-20 00:02:12 +00:00
0015_extres.py Merged in the ExtResource work from rjsparks@nostrum.com, based on a feature request and contributions from rsalz@akamai.com. This provides external resource models for Person, Group, and Document models, as a generalisation of the previous related-URL concept. This provides a consistent labelling and classification of URLs and other resources related to a Group, Document, or Person. The GroupURL (and similar) classes will be removed in a later step. Some DocumentURL instances (such as auth48 URLs) remain to convert, as they have come in with other merged-in work while the ExtResource work was in transit. 2020-07-20 01:58:26 +00:00
0016_auto_20200807_0750.py Added a migration corresponding to the new /api/notify/meeting/bluesheet endpoint selection for personal API keys. 2020-08-07 14:53:32 +00:00
0017_auto_20201028_0902.py Modified the name and help text of the Person.plain field, to make the intended use clearer (to avoid cases of incorrect usage seen recently). 2020-10-28 16:30:30 +00:00
0018_auto_20201109_0439.py Added matching indexes to a number of models with ordering by multiple keys. 2020-11-09 19:41:12 +00:00
0019_auto_20210604_1443.py Avoid duplicate choices for person api endpoints. 2021-06-04 21:45:16 +00:00
0020_auto_20210920_0924.py Add missing migration 2021-09-20 16:26:25 +00:00
0021_auto_20211210_0805.py Added missing migration for addition of personal api key endpoint. 2021-12-10 16:07:18 +00:00
0022_auto_20220513_1456.py chore: keep the database in sync with django-simple-history (#3967) 2022-05-14 08:12:35 -05:00
0023_auto_20220615_1006.py feat: explicitly model session attendance (#4025) 2022-06-20 10:46:36 -05:00
0024_pronouns.py fix: adjust migration leaves (#4109) 2022-06-21 16:04:17 -05:00
0025_use_timezone_now_for_person_models.py refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
__init__.py From mcr@sandelman.ca: 2014-07-31 22:13:01 +00:00