diff --git a/TODO.md b/TODO.md index 6972c886..d604ba12 100644 --- a/TODO.md +++ b/TODO.md @@ -385,7 +385,6 @@ uwsgi --reload /tmp/project-master.pid # or if uwsgi was started with touch-reload=/tmp/somefile touch /tmp/somefile -# Change zone ttl # batch zone edditing # datetime metric storage granularity: otherwise innacurate detection of billed metric on order.billed_on @@ -424,6 +423,3 @@ Colaesce('total', 'computed_total') Case # case on payment transaction state ? case when trans.amount > - - -# ORDERS keep content_object verbose name for deleted objects diff --git a/orchestra/contrib/orders/migrations/0003_order_content_object_repr.py b/orchestra/contrib/orders/migrations/0003_order_content_object_repr.py new file mode 100644 index 00000000..a5368eb1 --- /dev/null +++ b/orchestra/contrib/orders/migrations/0003_order_content_object_repr.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('orders', '0002_auto_20150709_1018'), + ] + + operations = [ + migrations.AddField( + model_name='order', + name='content_object_repr', + field=models.CharField(editable=False, default='', verbose_name='content object repr', max_length=256), + preserve_default=False, + ), + ]