|
1 | 1 | # Generated by Django 2.2.7 on 2020-07-15 15:04 |
2 | 2 |
|
3 | | -import datetime |
4 | 3 | from django.conf import settings |
5 | 4 | import django.core.validators |
6 | 5 | from django.db import migrations, models |
7 | 6 | import django.db.models.deletion |
| 7 | +from django.utils import timezone |
8 | 8 | import taggit.managers |
9 | 9 |
|
10 | 10 |
|
@@ -93,7 +93,7 @@ class Migration(migrations.Migration): |
93 | 93 | ('edited_user_notes', models.TextField(blank=True, help_text='Notes to display on public map', verbose_name='Public Note')), |
94 | 94 | ('message_for_user', models.TextField(blank=True, help_text='Message that user will receive when viewing report on phone', verbose_name='Message to User')), |
95 | 95 | ('status', models.IntegerField(choices=[(1, 'public'), (0, 'flagged'), (-1, 'hidden')], default=1, help_text='Whether report should be displayed on public map, flagged for further checking before public display), or hidden.', verbose_name='Status')), |
96 | | - ('last_modified', models.DateTimeField(default=datetime.datetime.now)), |
| 96 | + ('last_modified', models.DateTimeField(default=timezone.now)), |
97 | 97 | ('validation_complete', models.BooleanField(default=False, help_text='Mark this when you have completed your review and are ready for your annotation to be displayed to public.')), |
98 | 98 | ('revise', models.BooleanField(default=False, help_text='For superexperts: Mark this if you want to substitute your annotation for the existing Expert annotations. Make sure to also complete your annotation form and then mark the "validation complete" box.')), |
99 | 99 | ('linked_id', models.CharField(blank=True, help_text='Use this field to add any other ID that you want to associate the record with (e.g., from some other database).', max_length=10, verbose_name='Linked ID')), |
|
0 commit comments