thinkserver/thinks/migrations/0004_think_creation_time.py
Christian Lawson-Perfect 500eb38774 lots of changes
Added a creation_time field to thinks - using the modified time on the
  filesystem wasn't reliable.

Styled the login page.

The index shows the most recent thinks at the top.

Allow authentication by an Authorization header, with a token specified
in settings.py.

Lots of improvements to the editor, including showing the log, and a
form to install Elm packages when editing .elm files.

The Makefile for a project is automatically run each time a file is saved.
2025-02-07 07:08:01 +00:00

20 lines
533 B
Python

# Generated by Django 5.0.3 on 2024-12-07 12:03
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('thinks', '0003_think_category'),
]
operations = [
migrations.AddField(
model_name='think',
name='creation_time',
field=models.DateTimeField(auto_now_add=True, default=datetime.datetime(2024, 12, 7, 12, 3, 5, 567875, tzinfo=datetime.timezone.utc)),
preserve_default=False,
),
]