Browse Source

Deprecated věci

pull/46/head
Jonas Havelka 1 year ago
parent
commit
6fe9beb0f0
  1. 1
      mamweb/settings_common.py
  2. 3
      seminar/migrations/0006_problem_add_timestamp.py

1
mamweb/settings_common.py

@ -28,7 +28,6 @@ APPEND_SLASH = True
LANGUAGE_CODE = 'cs'
TIME_ZONE = 'Europe/Prague'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)

3
seminar/migrations/0006_problem_add_timestamp.py

@ -3,7 +3,6 @@ from __future__ import unicode_literals
from django.db import models, migrations
import datetime
from django.utils.timezone import utc
class Migration(migrations.Migration):
@ -16,7 +15,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='problem',
name='timestamp',
field=models.DateTimeField(default=datetime.datetime(2015, 5, 15, 8, 54, 56, 319985, tzinfo=utc), verbose_name='vytvo\u0159eno', auto_now=True),
field=models.DateTimeField(default=datetime.datetime(2015, 5, 15, 8, 54, 56, 319985, tzinfo=datetime.timezone.utc), verbose_name='vytvo\u0159eno', auto_now=True),
preserve_default=False,
),
migrations.AlterField(

Loading…
Cancel
Save