src/core/migrations/0005_set_semantic_link_level.py
author ymh <ymh.work@gmail.com>
Mon, 03 Feb 2014 02:31:21 +0100
changeset 334 169b7cfd1f58
parent 48 f4fadc1b9d70
permissions -rw-r--r--
Add headers to py files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
35
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
# -*- coding: utf-8 -*-
334
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
     2
#
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
     3
# Copyright Institut de Recherche et d'Innovation © 2014
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
     4
#
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
     5
# contact@iri.centrepompidou.fr
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
     6
#
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
     7
# Ce code a été développé pour un premier usage dans JocondeLab, projet du 
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
     8
# ministère de la culture et de la communication visant à expérimenter la
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
     9
# recherche sémantique dans la base Joconde
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    10
# (http://jocondelab.iri-research.org/).
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    11
#
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    12
# Ce logiciel est régi par la licence CeCILL-C soumise au droit français et
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    13
# respectant les principes de diffusion des logiciels libres. Vous pouvez
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    14
# utiliser, modifier et/ou redistribuer ce programme sous les conditions
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    15
# de la licence CeCILL-C telle que diffusée par le CEA, le CNRS et l'INRIA 
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    16
# sur le site "http://www.cecill.info".
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    17
#
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    18
# En contrepartie de l'accessibilité au code source et des droits de copie,
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    19
# de modification et de redistribution accordés par cette licence, il n'est
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    20
# offert aux utilisateurs qu'une garantie limitée.  Pour les mêmes raisons,
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    21
# seule une responsabilité restreinte pèse sur l'auteur du programme,  le
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    22
# titulaire des droits patrimoniaux et les concédants successifs.
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    23
#
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    24
# A cet égard  l'attention de l'utilisateur est attirée sur les risques
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    25
# associés au chargement,  à l'utilisation,  à la modification et/ou au
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    26
# développement et à la reproduction du logiciel par l'utilisateur étant 
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    27
# donné sa spécificité de logiciel libre, qui peut le rendre complexe à 
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    28
# manipuler et qui le réserve donc à des développeurs et des professionnels
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    29
# avertis possédant  des  connaissances  informatiques approfondies.  Les
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    30
# utilisateurs sont donc invités à charger  et  tester  l'adéquation  du
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    31
# logiciel à leurs besoins dans des conditions permettant d'assurer la
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    32
# sécurité de leurs systèmes et ou de leurs données et, plus généralement, 
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    33
# à l'utiliser et l'exploiter dans les mêmes conditions de sécurité. 
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    34
#
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    35
# Le fait que vous puissiez accéder à cet en-tête signifie que vous avez 
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    36
# pris connaissance de la licence CeCILL-C, et que vous en avez accepté les
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    37
# termes.
169b7cfd1f58 Add headers to py files
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    38
#
35
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
from core.models.term import TERM_WK_LINK_SEMANTIC_LEVEL_DICT
48
f4fadc1b9d70 cache the nb_notice query to improve perf.
ymh <ymh.work@gmail.com>
parents: 35
diff changeset
    40
from core.utils import show_progress
35
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
from django.db import transaction
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
from south.v2 import DataMigration
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
class Migration(DataMigration):
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
    def forwards(self, orm):
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
        "Write your forwards methods here."
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
        # Note: Remember to use orm['appname.ModelName'] rather than "from appname.models..."
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
        total = orm['core.Term'].objects.all().count()
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
        
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
        transaction.enter_transaction_management(True)
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
        transaction.managed()
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
        
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
        writer = None
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
        for i,term in enumerate(orm['core.Term'].objects.all()):
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
            writer = show_progress(i+1, total, u"Processing term %s" % term.label, 50, writer)
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
            term.link_semantic_level = TERM_WK_LINK_SEMANTIC_LEVEL_DICT['--'] if term.url_status is not None else None
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
            term.save()
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
            
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    60
            if not ((i+1) % 5000):
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    61
                transaction.commit() 
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    62
        
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    63
        transaction.commit()
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    64
        transaction.leave_transaction_management()
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    65
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    66
    def backwards(self, orm):
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    67
        pass
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    68
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    69
    models = {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    70
        u'auth.group': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    71
            'Meta': {'object_name': 'Group'},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    72
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    73
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    74
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    75
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    76
        u'auth.permission': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    77
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    78
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    79
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    80
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    81
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    82
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    83
        u'contenttypes.contenttype': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    84
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    85
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    86
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    87
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    88
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    89
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    90
        'core.autrnoticeterm': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    91
            'Meta': {'object_name': 'AutrNoticeTerm', '_ormbases': ['core.NoticeTerm']},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    92
            u'noticeterm_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['core.NoticeTerm']", 'unique': 'True', 'primary_key': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    93
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    94
        'core.domnnoticeterm': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    95
            'Meta': {'object_name': 'DomnNoticeTerm', '_ormbases': ['core.NoticeTerm']},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    96
            u'noticeterm_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['core.NoticeTerm']", 'unique': 'True', 'primary_key': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    97
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    98
        'core.ecolnoticeterm': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    99
            'Meta': {'object_name': 'EcolNoticeTerm', '_ormbases': ['core.NoticeTerm']},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   100
            u'noticeterm_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['core.NoticeTerm']", 'unique': 'True', 'primary_key': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   101
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   102
        'core.epoqnoticeterm': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   103
            'Meta': {'object_name': 'EpoqNoticeTerm', '_ormbases': ['core.NoticeTerm']},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   104
            u'noticeterm_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['core.NoticeTerm']", 'unique': 'True', 'primary_key': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   105
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   106
        'core.lieuxnoticeterm': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   107
            'Meta': {'object_name': 'LieuxNoticeTerm', '_ormbases': ['core.NoticeTerm']},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   108
            u'noticeterm_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['core.NoticeTerm']", 'unique': 'True', 'primary_key': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   109
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   110
        'core.notice': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   111
            'Meta': {'object_name': 'Notice'},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   112
            'adpt': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   113
            'appl': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   114
            'aptn': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   115
            'attr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   116
            'autr': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   117
            'autr_terms': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'autr+'", 'symmetrical': 'False', 'through': "orm['core.AutrNoticeTerm']", 'to': "orm['core.Term']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   118
            'bibl': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   119
            'comm': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   120
            'contact': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   121
            'coor': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   122
            'copy': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   123
            'dacq': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   124
            'data': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   125
            'dation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   126
            'ddpt': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   127
            'decv': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   128
            'deno': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   129
            'depo': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   130
            'desc': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   131
            'desy': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   132
            'dims': ('django.db.models.fields.CharField', [], {'max_length': '2048', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   133
            'dmaj': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   134
            'dmis': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   135
            'domn': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   136
            'domn_terms': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'domn+'", 'symmetrical': 'False', 'through': "orm['core.DomnNoticeTerm']", 'to': "orm['core.Term']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   137
            'drep': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   138
            'ecol': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   139
            'ecol_terms': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'ecol+'", 'symmetrical': 'False', 'through': "orm['core.EcolNoticeTerm']", 'to': "orm['core.Term']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   140
            'epoq': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   141
            'epoq_terms': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'epoq+'", 'symmetrical': 'False', 'through': "orm['core.EpoqNoticeTerm']", 'to': "orm['core.Term']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   142
            'etat': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   143
            'expo': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   144
            'gene': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   145
            'geohi': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   146
            'hist': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   147
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   148
            'image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   149
            'insc': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   150
            'inv': ('django.db.models.fields.CharField', [], {'max_length': '2048', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   151
            'label': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   152
            'labo': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   153
            'lieux': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   154
            'lieux_terms': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'lieux+'", 'symmetrical': 'False', 'through': "orm['core.LieuxNoticeTerm']", 'to': "orm['core.Term']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   155
            'loca': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   156
            'loca2': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   157
            'mill': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   158
            'milu': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   159
            'mosa': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   160
            'msgcom': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   161
            'museo': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   162
            'nsda': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   163
            'onom': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   164
            'paut': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   165
            'pdat': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   166
            'pdec': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   167
            'peoc': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   168
            'peri': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   169
            'peri_terms': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'peri+'", 'symmetrical': 'False', 'through': "orm['core.PeriNoticeTerm']", 'to': "orm['core.Term']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   170
            'peru': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   171
            'phot': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   172
            'pins': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   173
            'plieux': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   174
            'prep': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   175
            'puti': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   176
            'reda': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   177
            'ref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   178
            'refim': ('django.db.models.fields.CharField', [], {'max_length': '2048', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   179
            'repr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   180
            'repr_terms': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'repr+'", 'symmetrical': 'False', 'through': "orm['core.ReprNoticeTerm']", 'to': "orm['core.Term']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   181
            'srep': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   182
            'srep_terms': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'srep+'", 'symmetrical': 'False', 'through': "orm['core.SrepNoticeTerm']", 'to': "orm['core.Term']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   183
            'stat': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   184
            'tech': ('django.db.models.fields.CharField', [], {'max_length': '2048', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   185
            'tico': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   186
            'titr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   187
            'util': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   188
            'video': ('django.db.models.fields.CharField', [], {'max_length': '2048', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   189
            'www': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   190
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   191
        'core.noticeimage': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   192
            'Meta': {'object_name': 'NoticeImage'},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   193
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   194
            'notice': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'images'", 'to': "orm['core.Notice']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   195
            'relative_url': ('django.db.models.fields.URLField', [], {'unique': 'True', 'max_length': "'1024'"})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   196
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   197
        'core.noticeterm': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   198
            'Meta': {'object_name': 'NoticeTerm'},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   199
            'graph': ('django.db.models.fields.URLField', [], {'max_length': '2048', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   200
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   201
            'notice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['core.Notice']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   202
            'term': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['core.Term']"})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   203
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   204
        'core.perinoticeterm': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   205
            'Meta': {'object_name': 'PeriNoticeTerm', '_ormbases': ['core.NoticeTerm']},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   206
            u'noticeterm_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['core.NoticeTerm']", 'unique': 'True', 'primary_key': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   207
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   208
        'core.reprnoticeterm': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   209
            'Meta': {'object_name': 'ReprNoticeTerm', '_ormbases': ['core.NoticeTerm']},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   210
            u'noticeterm_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['core.NoticeTerm']", 'unique': 'True', 'primary_key': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   211
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   212
        'core.srepnoticeterm': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   213
            'Meta': {'object_name': 'SrepNoticeTerm', '_ormbases': ['core.NoticeTerm']},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   214
            u'noticeterm_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['core.NoticeTerm']", 'unique': 'True', 'primary_key': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   215
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   216
        'core.term': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   217
            'Meta': {'object_name': 'Term'},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   218
            'alternative_wikipedia_pageid': ('django.db.models.fields.BigIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   219
            'alternative_wikipedia_url': ('django.db.models.fields.URLField', [], {'db_index': 'True', 'max_length': '2048', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   220
            'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   221
            'dbpedia_uri': ('django.db.models.fields.URLField', [], {'db_index': 'True', 'max_length': '2048', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   222
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   223
            'label': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'db_index': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   224
            'lang': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '128', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   225
            'link_semantic_level': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'db_index': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   226
            'normalized_label': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'db_index': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   227
            'thesaurus': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['core.Thesaurus']"}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   228
            'uri': ('django.db.models.fields.URLField', [], {'db_index': 'True', 'max_length': '2048', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   229
            'url_status': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'db_index': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   230
            'validated': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   231
            'validation_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   232
            'validator': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['jocondelab.User']", 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   233
            'wikipedia_edition': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   234
            'wikipedia_pageid': ('django.db.models.fields.BigIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   235
            'wikipedia_revision_id': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   236
            'wikipedia_url': ('django.db.models.fields.URLField', [], {'db_index': 'True', 'max_length': '2048', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   237
            'wp_alternative_label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '1024', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   238
            'wp_label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '1024', 'null': 'True', 'blank': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   239
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   240
        'core.termlabel': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   241
            'Meta': {'object_name': 'TermLabel'},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   242
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   243
            'label': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'db_index': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   244
            'lang': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '128', 'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   245
            'term': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'alternative_labels'", 'to': "orm['core.Term']"})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   246
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   247
        'core.thesaurus': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   248
            'Meta': {'ordering': "['label']", 'object_name': 'Thesaurus'},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   249
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   250
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   251
            'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128', 'db_index': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   252
            'title': ('django.db.models.fields.CharField', [], {'max_length': '1024'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   253
            'uri': ('django.db.models.fields.URLField', [], {'db_index': 'True', 'max_length': '2048', 'null': 'True', 'blank': 'True'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   254
        },
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   255
        u'jocondelab.user': {
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   256
            'Meta': {'object_name': 'User'},
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   257
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   258
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   259
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   260
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   261
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   262
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   263
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   264
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   265
            'language': ('django.db.models.fields.CharField', [], {'default': "'fr'", 'max_length': '2'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   266
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   267
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   268
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   269
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   270
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   271
        }
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   272
    }
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   273
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   274
    complete_apps = ['core']
859862939996 add qualifier on the wikipedia link
ymh <ymh.work@gmail.com>
parents:
diff changeset
   275
    symmetrical = True