From 2dc14f49e6c0a7f21eeaacb19ebd5eee2f094c5c Mon Sep 17 00:00:00 2001 From: "Zack M. Davis" Date: Mon, 19 Oct 2015 21:56:34 -0700 Subject: [PATCH] ... and the Case of the Missing Migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit b2b3de77 introduced a ordering on -published_at. At the time, it evidently wasn't noticed that this—apparently—merited a migration. (Indeed, would the migrations framework's predecessor South have generated one here?—but perhaps we prefer not to dwell on that time.) --- core/migrations/0009_auto_20151020_0455.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 core/migrations/0009_auto_20151020_0455.py diff --git a/core/migrations/0009_auto_20151020_0455.py b/core/migrations/0009_auto_20151020_0455.py new file mode 100644 index 0000000..ab58a36 --- /dev/null +++ b/core/migrations/0009_auto_20151020_0455.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0008_auto_20150311_0549'), + ] + + operations = [ + migrations.AlterModelOptions( + name='post', + options={'ordering': ('-published_at',)}, + ), + ]