This commit is contained in:
2019-03-11 06:31:39 -04:00
parent ee215ce59e
commit c27bac6319
3 changed files with 28 additions and 1 deletions
-1
View File
@@ -1,4 +1,3 @@
.env
db.sqlite3
core/migrations/0002_auto_20190310_1337.py
core/models.py
+1
View File
@@ -1 +1,2 @@
web: waitress-serve --port=8041 --url-scheme=https --port=$PORT morepython.wsgi:application
release: python manage.py migrate
@@ -0,0 +1,27 @@
# Generated by Django 2.1.7 on 2019-03-10 17:37
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='post',
name='created_date',
),
migrations.RemoveField(
model_name='post',
name='published_date',
),
migrations.AddField(
model_name='post',
name='timestamp',
field=models.DateTimeField(default=django.utils.timezone.now),
),
]