1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/foreign_object
Nick Pope d06c5b3581 Fixed #32366 -- Updated datetime module usage to recommended approach.
- Replaced datetime.utcnow() with datetime.now().
- Replaced datetime.utcfromtimestamp() with datetime.fromtimestamp().
- Replaced datetime.utctimetuple() with datetime.timetuple().
- Replaced calendar.timegm() and datetime.utctimetuple() with datetime.timestamp().
2021-05-12 11:08:41 +02:00
..
models Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
__init__.py
test_agnostic_order_trimjoin.py
test_empty_join.py Switched setUp() to setUpTestData() where possible in Django's tests. 2018-11-27 09:35:17 -05:00
test_forms.py
tests.py Fixed #32366 -- Updated datetime module usage to recommended approach. 2021-05-12 11:08:41 +02:00