Changes between Initial Version and Version 1 of Ticket #32966, comment 3


Ignore:
Timestamp:
Jul 28, 2021, 1:26:02 AM (3 years ago)
Author:
Chris Jerdonek

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32966, comment 3

    initial v1  
    66{{{#!python
    77from django.db import models
    8 import django.utils.timezone as timezone
     8from django.utils.timezone import now
    99
    1010class MyModel(models.Model):
    11     tz = models.TimeField(default=timezone.now().timetz())
     11    tz = models.TimeField(default=now().timetz())
    1212   
    1313    class Meta:
Back to Top