Projet

Général

Profil

0003-DONTAPPLY-There-is-something-wrong-with-the-Attribut.patch

Nickolas Grigoriadis, 12 décembre 2014 08:13

Télécharger (1,34 ko)

Voir les différences:

Subject: [PATCH 3/3] DONTAPPLY There is something wrong with the
 Attribute.kind field enum, it always points to some proxymodel instance,
 hence is unstable. You have a better idea as to what REALLY needs to be done
 here.

 authentic2/migrations/0002_auto_20141212_0756.py | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 authentic2/migrations/0002_auto_20141212_0756.py
authentic2/migrations/0002_auto_20141212_0756.py
1
# -*- coding: utf-8 -*-
2
from __future__ import unicode_literals
3

  
4
from django.db import models, migrations
5

  
6

  
7
class Migration(migrations.Migration):
8

  
9
    dependencies = [
10
        ('authentic2', '0001_initial'),
11
    ]
12

  
13
    operations = [
14
        migrations.AlterField(
15
            model_name='attribute',
16
            name='kind',
17
            field=models.CharField(max_length=16, verbose_name='kind', choices=[(b'string', '<django.utils.functional.__proxy__ object at 0x7f508a0ce990>')]),
18
            preserve_default=True,
19
        ),
20
    ]
0
-