Commit 966164073b7c78873fd7c04e3a0e86c57fe7213d
1 parent
d76b15d1
zaległe migracje
Showing
3 changed files
with
968 additions
and
0 deletions
dictionary/migrations/0019_auto__del_field_lexemeattribute_inflection_characteristic.py
0 → 100644
1 | +# -*- coding: utf-8 -*- | |
2 | +import datetime | |
3 | +from south.db import db | |
4 | +from south.v2 import SchemaMigration | |
5 | +from django.db import models | |
6 | + | |
7 | + | |
8 | +class Migration(SchemaMigration): | |
9 | + | |
10 | + def forwards(self, orm): | |
11 | + # Deleting field 'LexemeAttribute.inflection_characteristic' | |
12 | + db.delete_column(u'dictionary_lexemeattribute', 'inflection_characteristic_id') | |
13 | + | |
14 | + # Adding M2M table for field inflection_characteristics on 'LexemeAttribute' | |
15 | + db.create_table(u'dictionary_lexemeattribute_inflection_characteristics', ( | |
16 | + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), | |
17 | + ('lexemeattribute', models.ForeignKey(orm[u'dictionary.lexemeattribute'], null=False)), | |
18 | + ('inflectioncharacteristic', models.ForeignKey(orm[u'dictionary.inflectioncharacteristic'], null=False)) | |
19 | + )) | |
20 | + db.create_unique(u'dictionary_lexemeattribute_inflection_characteristics', ['lexemeattribute_id', 'inflectioncharacteristic_id']) | |
21 | + | |
22 | + | |
23 | + def backwards(self, orm): | |
24 | + # Adding field 'LexemeAttribute.inflection_characteristic' | |
25 | + db.add_column(u'dictionary_lexemeattribute', 'inflection_characteristic', | |
26 | + self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.InflectionCharacteristic'], null=True, blank=True), | |
27 | + keep_default=False) | |
28 | + | |
29 | + # Removing M2M table for field inflection_characteristics on 'LexemeAttribute' | |
30 | + db.delete_table('dictionary_lexemeattribute_inflection_characteristics') | |
31 | + | |
32 | + | |
33 | + models = { | |
34 | + u'auth.group': { | |
35 | + 'Meta': {'object_name': 'Group'}, | |
36 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
37 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), | |
38 | + 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) | |
39 | + }, | |
40 | + u'auth.permission': { | |
41 | + 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, | |
42 | + 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), | |
43 | + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), | |
44 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
45 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) | |
46 | + }, | |
47 | + u'auth.user': { | |
48 | + 'Meta': {'object_name': 'User'}, | |
49 | + 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), | |
50 | + 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), | |
51 | + 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), | |
52 | + 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), | |
53 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
54 | + 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), | |
55 | + 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
56 | + 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
57 | + 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), | |
58 | + 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), | |
59 | + 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), | |
60 | + 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), | |
61 | + 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) | |
62 | + }, | |
63 | + u'contenttypes.contenttype': { | |
64 | + 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, | |
65 | + 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), | |
66 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
67 | + 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), | |
68 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) | |
69 | + }, | |
70 | + u'dictionary.baseformlabel': { | |
71 | + 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, | |
72 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), | |
73 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) | |
74 | + }, | |
75 | + u'dictionary.cell': { | |
76 | + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, | |
77 | + 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
78 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
79 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), | |
80 | + 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), | |
81 | + 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), | |
82 | + 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), | |
83 | + 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) | |
84 | + }, | |
85 | + u'dictionary.classification': { | |
86 | + 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, | |
87 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
88 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) | |
89 | + }, | |
90 | + u'dictionary.classificationvalue': { | |
91 | + 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, | |
92 | + 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), | |
93 | + 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), | |
94 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
95 | + 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), | |
96 | + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), | |
97 | + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) | |
98 | + }, | |
99 | + u'dictionary.crossreference': { | |
100 | + 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, | |
101 | + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), | |
102 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
103 | + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), | |
104 | + 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) | |
105 | + }, | |
106 | + u'dictionary.crossreferencetype': { | |
107 | + 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, | |
108 | + 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), | |
109 | + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), | |
110 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
111 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), | |
112 | + 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), | |
113 | + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) | |
114 | + }, | |
115 | + u'dictionary.ending': { | |
116 | + 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, | |
117 | + 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
118 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
119 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), | |
120 | + 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), | |
121 | + 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), | |
122 | + 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) | |
123 | + }, | |
124 | + u'dictionary.history': { | |
125 | + 'Meta': {'object_name': 'History', 'db_table': "'history'"}, | |
126 | + 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), | |
127 | + 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), | |
128 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
129 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), | |
130 | + 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), | |
131 | + 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), | |
132 | + 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), | |
133 | + 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), | |
134 | + 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), | |
135 | + 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), | |
136 | + 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), | |
137 | + 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), | |
138 | + 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), | |
139 | + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) | |
140 | + }, | |
141 | + u'dictionary.inflectioncharacteristic': { | |
142 | + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, | |
143 | + 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
144 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), | |
145 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
146 | + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) | |
147 | + }, | |
148 | + u'dictionary.inputform': { | |
149 | + 'Meta': {'object_name': 'InputForm'}, | |
150 | + 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), | |
151 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
152 | + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) | |
153 | + }, | |
154 | + u'dictionary.inputlexeme': { | |
155 | + 'Meta': {'object_name': 'InputLexeme'}, | |
156 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), | |
157 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) | |
158 | + }, | |
159 | + u'dictionary.lexeme': { | |
160 | + 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, | |
161 | + 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), | |
162 | + 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), | |
163 | + 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), | |
164 | + 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), | |
165 | + 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), | |
166 | + 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), | |
167 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
168 | + 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), | |
169 | + 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), | |
170 | + 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), | |
171 | + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), | |
172 | + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), | |
173 | + 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), | |
174 | + 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), | |
175 | + 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), | |
176 | + 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), | |
177 | + 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) | |
178 | + }, | |
179 | + u'dictionary.lexemeassociation': { | |
180 | + 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, | |
181 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
182 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), | |
183 | + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) | |
184 | + }, | |
185 | + u'dictionary.lexemeattribute': { | |
186 | + 'Meta': {'object_name': 'LexemeAttribute'}, | |
187 | + 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
188 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
189 | + 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), | |
190 | + 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
191 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), | |
192 | + 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), | |
193 | + 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) | |
194 | + }, | |
195 | + u'dictionary.lexemeattributevalue': { | |
196 | + 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, | |
197 | + 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), | |
198 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
199 | + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), | |
200 | + 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) | |
201 | + }, | |
202 | + u'dictionary.lexemeform': { | |
203 | + 'Meta': {'object_name': 'LexemeForm'}, | |
204 | + 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), | |
205 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
206 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) | |
207 | + }, | |
208 | + u'dictionary.lexemeinflectionpattern': { | |
209 | + 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, | |
210 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
211 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), | |
212 | + 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), | |
213 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), | |
214 | + 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), | |
215 | + 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), | |
216 | + 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) | |
217 | + }, | |
218 | + u'dictionary.lexicalclass': { | |
219 | + 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, | |
220 | + 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) | |
221 | + }, | |
222 | + u'dictionary.paradygmatywsjp': { | |
223 | + 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, | |
224 | + 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), | |
225 | + 'col': ('django.db.models.fields.IntegerField', [], {}), | |
226 | + 'colspan': ('django.db.models.fields.IntegerField', [], {}), | |
227 | + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
228 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
229 | + 'kskl': ('django.db.models.fields.IntegerField', [], {}), | |
230 | + 'morf': ('django.db.models.fields.TextField', [], {}), | |
231 | + 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), | |
232 | + 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), | |
233 | + 'row': ('django.db.models.fields.IntegerField', [], {}), | |
234 | + 'rowspan': ('django.db.models.fields.IntegerField', [], {}), | |
235 | + 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), | |
236 | + 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), | |
237 | + 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) | |
238 | + }, | |
239 | + u'dictionary.partofspeech': { | |
240 | + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, | |
241 | + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), | |
242 | + 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) | |
243 | + }, | |
244 | + u'dictionary.pattern': { | |
245 | + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, | |
246 | + 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), | |
247 | + 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), | |
248 | + 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), | |
249 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
250 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), | |
251 | + 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), | |
252 | + 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) | |
253 | + }, | |
254 | + u'dictionary.patterntype': { | |
255 | + 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, | |
256 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), | |
257 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
258 | + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) | |
259 | + }, | |
260 | + u'dictionary.qualifier': { | |
261 | + 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, | |
262 | + 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), | |
263 | + 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), | |
264 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
265 | + 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), | |
266 | + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) | |
267 | + }, | |
268 | + u'dictionary.qualifierexclusionclass': { | |
269 | + 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, | |
270 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
271 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), | |
272 | + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) | |
273 | + }, | |
274 | + u'dictionary.savedexportdata': { | |
275 | + 'Meta': {'object_name': 'SavedExportData'}, | |
276 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
277 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), | |
278 | + 'serialized_data': ('django.db.models.fields.TextField', [], {}) | |
279 | + }, | |
280 | + u'dictionary.savedfilter': { | |
281 | + 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, | |
282 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
283 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), | |
284 | + 'serialized_filter': ('django.db.models.fields.TextField', [], {}), | |
285 | + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) | |
286 | + }, | |
287 | + u'dictionary.tablecell': { | |
288 | + 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, | |
289 | + 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), | |
290 | + 'col': ('django.db.models.fields.IntegerField', [], {}), | |
291 | + 'colspan': ('django.db.models.fields.IntegerField', [], {}), | |
292 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
293 | + 'row': ('django.db.models.fields.IntegerField', [], {}), | |
294 | + 'rowspan': ('django.db.models.fields.IntegerField', [], {}) | |
295 | + }, | |
296 | + u'dictionary.tableheader': { | |
297 | + 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, | |
298 | + 'col': ('django.db.models.fields.IntegerField', [], {}), | |
299 | + 'colspan': ('django.db.models.fields.IntegerField', [], {}), | |
300 | + 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), | |
301 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
302 | + 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), | |
303 | + 'row': ('django.db.models.fields.IntegerField', [], {}), | |
304 | + 'rowspan': ('django.db.models.fields.IntegerField', [], {}), | |
305 | + 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) | |
306 | + }, | |
307 | + u'dictionary.tabletemplate': { | |
308 | + 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, | |
309 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
310 | + 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), | |
311 | + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), | |
312 | + 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) | |
313 | + }, | |
314 | + u'dictionary.variant': { | |
315 | + 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, | |
316 | + 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) | |
317 | + }, | |
318 | + u'dictionary.vocabulary': { | |
319 | + 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, | |
320 | + 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), | |
321 | + 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), | |
322 | + 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), | |
323 | + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), | |
324 | + 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), | |
325 | + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) | |
326 | + } | |
327 | + } | |
328 | + | |
329 | + complete_apps = ['dictionary'] | |
0 | 330 | \ No newline at end of file |
... | ... |
dictionary/migrations/0020_auto__add_field_lexemeattribute_takes_ic.py
0 → 100644
1 | +# -*- coding: utf-8 -*- | |
2 | +import datetime | |
3 | +from south.db import db | |
4 | +from south.v2 import SchemaMigration | |
5 | +from django.db import models | |
6 | + | |
7 | + | |
8 | +class Migration(SchemaMigration): | |
9 | + | |
10 | + def forwards(self, orm): | |
11 | + # Adding field 'LexemeAttribute.takes_ic' | |
12 | + db.add_column(u'dictionary_lexemeattribute', 'takes_ic', | |
13 | + self.gf('django.db.models.fields.BooleanField')(default=False), | |
14 | + keep_default=False) | |
15 | + | |
16 | + | |
17 | + def backwards(self, orm): | |
18 | + # Deleting field 'LexemeAttribute.takes_ic' | |
19 | + db.delete_column(u'dictionary_lexemeattribute', 'takes_ic') | |
20 | + | |
21 | + | |
22 | + models = { | |
23 | + u'auth.group': { | |
24 | + 'Meta': {'object_name': 'Group'}, | |
25 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
26 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), | |
27 | + 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) | |
28 | + }, | |
29 | + u'auth.permission': { | |
30 | + 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, | |
31 | + 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), | |
32 | + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), | |
33 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
34 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) | |
35 | + }, | |
36 | + u'auth.user': { | |
37 | + 'Meta': {'object_name': 'User'}, | |
38 | + 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), | |
39 | + 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), | |
40 | + 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), | |
41 | + 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), | |
42 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
43 | + 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), | |
44 | + 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
45 | + 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
46 | + 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), | |
47 | + 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), | |
48 | + 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), | |
49 | + 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), | |
50 | + 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) | |
51 | + }, | |
52 | + u'contenttypes.contenttype': { | |
53 | + 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, | |
54 | + 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), | |
55 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
56 | + 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), | |
57 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) | |
58 | + }, | |
59 | + u'dictionary.baseformlabel': { | |
60 | + 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, | |
61 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), | |
62 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) | |
63 | + }, | |
64 | + u'dictionary.cell': { | |
65 | + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, | |
66 | + 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
67 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
68 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), | |
69 | + 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), | |
70 | + 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), | |
71 | + 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), | |
72 | + 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) | |
73 | + }, | |
74 | + u'dictionary.classification': { | |
75 | + 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, | |
76 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
77 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) | |
78 | + }, | |
79 | + u'dictionary.classificationvalue': { | |
80 | + 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, | |
81 | + 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), | |
82 | + 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), | |
83 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
84 | + 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), | |
85 | + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), | |
86 | + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) | |
87 | + }, | |
88 | + u'dictionary.crossreference': { | |
89 | + 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, | |
90 | + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), | |
91 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
92 | + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), | |
93 | + 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) | |
94 | + }, | |
95 | + u'dictionary.crossreferencetype': { | |
96 | + 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, | |
97 | + 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), | |
98 | + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), | |
99 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
100 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), | |
101 | + 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), | |
102 | + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) | |
103 | + }, | |
104 | + u'dictionary.ending': { | |
105 | + 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, | |
106 | + 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
107 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
108 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), | |
109 | + 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), | |
110 | + 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), | |
111 | + 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) | |
112 | + }, | |
113 | + u'dictionary.history': { | |
114 | + 'Meta': {'object_name': 'History', 'db_table': "'history'"}, | |
115 | + 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), | |
116 | + 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), | |
117 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
118 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), | |
119 | + 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), | |
120 | + 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), | |
121 | + 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), | |
122 | + 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), | |
123 | + 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), | |
124 | + 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), | |
125 | + 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), | |
126 | + 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), | |
127 | + 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), | |
128 | + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) | |
129 | + }, | |
130 | + u'dictionary.inflectioncharacteristic': { | |
131 | + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, | |
132 | + 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
133 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), | |
134 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
135 | + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) | |
136 | + }, | |
137 | + u'dictionary.inputform': { | |
138 | + 'Meta': {'object_name': 'InputForm'}, | |
139 | + 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), | |
140 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
141 | + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) | |
142 | + }, | |
143 | + u'dictionary.inputlexeme': { | |
144 | + 'Meta': {'object_name': 'InputLexeme'}, | |
145 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), | |
146 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) | |
147 | + }, | |
148 | + u'dictionary.lexeme': { | |
149 | + 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, | |
150 | + 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), | |
151 | + 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), | |
152 | + 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), | |
153 | + 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), | |
154 | + 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), | |
155 | + 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), | |
156 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
157 | + 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), | |
158 | + 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), | |
159 | + 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), | |
160 | + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), | |
161 | + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), | |
162 | + 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), | |
163 | + 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), | |
164 | + 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), | |
165 | + 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), | |
166 | + 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) | |
167 | + }, | |
168 | + u'dictionary.lexemeassociation': { | |
169 | + 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, | |
170 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
171 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), | |
172 | + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) | |
173 | + }, | |
174 | + u'dictionary.lexemeattribute': { | |
175 | + 'Meta': {'object_name': 'LexemeAttribute'}, | |
176 | + 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
177 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
178 | + 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), | |
179 | + 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
180 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), | |
181 | + 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), | |
182 | + 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
183 | + 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) | |
184 | + }, | |
185 | + u'dictionary.lexemeattributevalue': { | |
186 | + 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, | |
187 | + 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), | |
188 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
189 | + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), | |
190 | + 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) | |
191 | + }, | |
192 | + u'dictionary.lexemeform': { | |
193 | + 'Meta': {'object_name': 'LexemeForm'}, | |
194 | + 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), | |
195 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
196 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) | |
197 | + }, | |
198 | + u'dictionary.lexemeinflectionpattern': { | |
199 | + 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, | |
200 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
201 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), | |
202 | + 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), | |
203 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), | |
204 | + 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), | |
205 | + 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), | |
206 | + 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) | |
207 | + }, | |
208 | + u'dictionary.lexicalclass': { | |
209 | + 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, | |
210 | + 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) | |
211 | + }, | |
212 | + u'dictionary.paradygmatywsjp': { | |
213 | + 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, | |
214 | + 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), | |
215 | + 'col': ('django.db.models.fields.IntegerField', [], {}), | |
216 | + 'colspan': ('django.db.models.fields.IntegerField', [], {}), | |
217 | + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
218 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
219 | + 'kskl': ('django.db.models.fields.IntegerField', [], {}), | |
220 | + 'morf': ('django.db.models.fields.TextField', [], {}), | |
221 | + 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), | |
222 | + 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), | |
223 | + 'row': ('django.db.models.fields.IntegerField', [], {}), | |
224 | + 'rowspan': ('django.db.models.fields.IntegerField', [], {}), | |
225 | + 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), | |
226 | + 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), | |
227 | + 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) | |
228 | + }, | |
229 | + u'dictionary.partofspeech': { | |
230 | + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, | |
231 | + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), | |
232 | + 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) | |
233 | + }, | |
234 | + u'dictionary.pattern': { | |
235 | + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, | |
236 | + 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), | |
237 | + 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), | |
238 | + 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), | |
239 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
240 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), | |
241 | + 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), | |
242 | + 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) | |
243 | + }, | |
244 | + u'dictionary.patterntype': { | |
245 | + 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, | |
246 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), | |
247 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
248 | + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) | |
249 | + }, | |
250 | + u'dictionary.qualifier': { | |
251 | + 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, | |
252 | + 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), | |
253 | + 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), | |
254 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
255 | + 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), | |
256 | + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) | |
257 | + }, | |
258 | + u'dictionary.qualifierexclusionclass': { | |
259 | + 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, | |
260 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
261 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), | |
262 | + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) | |
263 | + }, | |
264 | + u'dictionary.savedexportdata': { | |
265 | + 'Meta': {'object_name': 'SavedExportData'}, | |
266 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
267 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), | |
268 | + 'serialized_data': ('django.db.models.fields.TextField', [], {}) | |
269 | + }, | |
270 | + u'dictionary.savedfilter': { | |
271 | + 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, | |
272 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
273 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), | |
274 | + 'serialized_filter': ('django.db.models.fields.TextField', [], {}), | |
275 | + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) | |
276 | + }, | |
277 | + u'dictionary.tablecell': { | |
278 | + 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, | |
279 | + 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), | |
280 | + 'col': ('django.db.models.fields.IntegerField', [], {}), | |
281 | + 'colspan': ('django.db.models.fields.IntegerField', [], {}), | |
282 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
283 | + 'row': ('django.db.models.fields.IntegerField', [], {}), | |
284 | + 'rowspan': ('django.db.models.fields.IntegerField', [], {}) | |
285 | + }, | |
286 | + u'dictionary.tableheader': { | |
287 | + 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, | |
288 | + 'col': ('django.db.models.fields.IntegerField', [], {}), | |
289 | + 'colspan': ('django.db.models.fields.IntegerField', [], {}), | |
290 | + 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), | |
291 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
292 | + 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), | |
293 | + 'row': ('django.db.models.fields.IntegerField', [], {}), | |
294 | + 'rowspan': ('django.db.models.fields.IntegerField', [], {}), | |
295 | + 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) | |
296 | + }, | |
297 | + u'dictionary.tabletemplate': { | |
298 | + 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, | |
299 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
300 | + 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), | |
301 | + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), | |
302 | + 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) | |
303 | + }, | |
304 | + u'dictionary.variant': { | |
305 | + 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, | |
306 | + 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) | |
307 | + }, | |
308 | + u'dictionary.vocabulary': { | |
309 | + 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, | |
310 | + 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), | |
311 | + 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), | |
312 | + 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), | |
313 | + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), | |
314 | + 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), | |
315 | + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) | |
316 | + } | |
317 | + } | |
318 | + | |
319 | + complete_apps = ['dictionary'] | |
0 | 320 | \ No newline at end of file |
... | ... |
dictionary/migrations/0021_auto__add_field_lexeme_valence.py
0 → 100644
1 | +# -*- coding: utf-8 -*- | |
2 | +import datetime | |
3 | +from south.db import db | |
4 | +from south.v2 import SchemaMigration | |
5 | +from django.db import models | |
6 | + | |
7 | + | |
8 | +class Migration(SchemaMigration): | |
9 | + | |
10 | + def forwards(self, orm): | |
11 | + # Adding field 'Lexeme.valence' | |
12 | + db.add_column('leksemy', 'valence', | |
13 | + self.gf('django.db.models.fields.TextField')(default='', blank=True), | |
14 | + keep_default=False) | |
15 | + | |
16 | + | |
17 | + def backwards(self, orm): | |
18 | + # Deleting field 'Lexeme.valence' | |
19 | + db.delete_column('leksemy', 'valence') | |
20 | + | |
21 | + | |
22 | + models = { | |
23 | + u'auth.group': { | |
24 | + 'Meta': {'object_name': 'Group'}, | |
25 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
26 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), | |
27 | + 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) | |
28 | + }, | |
29 | + u'auth.permission': { | |
30 | + 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, | |
31 | + 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), | |
32 | + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), | |
33 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
34 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) | |
35 | + }, | |
36 | + u'auth.user': { | |
37 | + 'Meta': {'object_name': 'User'}, | |
38 | + 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), | |
39 | + 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), | |
40 | + 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), | |
41 | + 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), | |
42 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
43 | + 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), | |
44 | + 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
45 | + 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
46 | + 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), | |
47 | + 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), | |
48 | + 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), | |
49 | + 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), | |
50 | + 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) | |
51 | + }, | |
52 | + u'contenttypes.contenttype': { | |
53 | + 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, | |
54 | + 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), | |
55 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
56 | + 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), | |
57 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) | |
58 | + }, | |
59 | + u'dictionary.baseformlabel': { | |
60 | + 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, | |
61 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), | |
62 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) | |
63 | + }, | |
64 | + u'dictionary.cell': { | |
65 | + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, | |
66 | + 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
67 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
68 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), | |
69 | + 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), | |
70 | + 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), | |
71 | + 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), | |
72 | + 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) | |
73 | + }, | |
74 | + u'dictionary.classification': { | |
75 | + 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, | |
76 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
77 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) | |
78 | + }, | |
79 | + u'dictionary.classificationvalue': { | |
80 | + 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, | |
81 | + 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), | |
82 | + 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), | |
83 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
84 | + 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), | |
85 | + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), | |
86 | + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) | |
87 | + }, | |
88 | + u'dictionary.crossreference': { | |
89 | + 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, | |
90 | + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), | |
91 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
92 | + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), | |
93 | + 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) | |
94 | + }, | |
95 | + u'dictionary.crossreferencetype': { | |
96 | + 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, | |
97 | + 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), | |
98 | + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), | |
99 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
100 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), | |
101 | + 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), | |
102 | + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) | |
103 | + }, | |
104 | + u'dictionary.ending': { | |
105 | + 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, | |
106 | + 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
107 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
108 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), | |
109 | + 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), | |
110 | + 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), | |
111 | + 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) | |
112 | + }, | |
113 | + u'dictionary.history': { | |
114 | + 'Meta': {'object_name': 'History', 'db_table': "'history'"}, | |
115 | + 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), | |
116 | + 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), | |
117 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
118 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), | |
119 | + 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), | |
120 | + 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), | |
121 | + 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), | |
122 | + 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), | |
123 | + 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), | |
124 | + 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), | |
125 | + 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), | |
126 | + 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), | |
127 | + 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), | |
128 | + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) | |
129 | + }, | |
130 | + u'dictionary.inflectioncharacteristic': { | |
131 | + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, | |
132 | + 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
133 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), | |
134 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
135 | + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) | |
136 | + }, | |
137 | + u'dictionary.inputform': { | |
138 | + 'Meta': {'object_name': 'InputForm'}, | |
139 | + 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), | |
140 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
141 | + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) | |
142 | + }, | |
143 | + u'dictionary.inputlexeme': { | |
144 | + 'Meta': {'object_name': 'InputLexeme'}, | |
145 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), | |
146 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) | |
147 | + }, | |
148 | + u'dictionary.lexeme': { | |
149 | + 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, | |
150 | + 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), | |
151 | + 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), | |
152 | + 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), | |
153 | + 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), | |
154 | + 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), | |
155 | + 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), | |
156 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
157 | + 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), | |
158 | + 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), | |
159 | + 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), | |
160 | + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), | |
161 | + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), | |
162 | + 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), | |
163 | + 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), | |
164 | + 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), | |
165 | + 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), | |
166 | + 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), | |
167 | + 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) | |
168 | + }, | |
169 | + u'dictionary.lexemeassociation': { | |
170 | + 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, | |
171 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
172 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), | |
173 | + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) | |
174 | + }, | |
175 | + u'dictionary.lexemeattribute': { | |
176 | + 'Meta': {'object_name': 'LexemeAttribute'}, | |
177 | + 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
178 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
179 | + 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), | |
180 | + 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
181 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), | |
182 | + 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), | |
183 | + 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), | |
184 | + 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) | |
185 | + }, | |
186 | + u'dictionary.lexemeattributevalue': { | |
187 | + 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, | |
188 | + 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), | |
189 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
190 | + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), | |
191 | + 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) | |
192 | + }, | |
193 | + u'dictionary.lexemeform': { | |
194 | + 'Meta': {'object_name': 'LexemeForm'}, | |
195 | + 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), | |
196 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
197 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) | |
198 | + }, | |
199 | + u'dictionary.lexemeinflectionpattern': { | |
200 | + 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, | |
201 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
202 | + 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), | |
203 | + 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), | |
204 | + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), | |
205 | + 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), | |
206 | + 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), | |
207 | + 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) | |
208 | + }, | |
209 | + u'dictionary.lexicalclass': { | |
210 | + 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, | |
211 | + 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) | |
212 | + }, | |
213 | + u'dictionary.paradygmatywsjp': { | |
214 | + 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, | |
215 | + 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), | |
216 | + 'col': ('django.db.models.fields.IntegerField', [], {}), | |
217 | + 'colspan': ('django.db.models.fields.IntegerField', [], {}), | |
218 | + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), | |
219 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
220 | + 'kskl': ('django.db.models.fields.IntegerField', [], {}), | |
221 | + 'morf': ('django.db.models.fields.TextField', [], {}), | |
222 | + 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), | |
223 | + 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), | |
224 | + 'row': ('django.db.models.fields.IntegerField', [], {}), | |
225 | + 'rowspan': ('django.db.models.fields.IntegerField', [], {}), | |
226 | + 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), | |
227 | + 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), | |
228 | + 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) | |
229 | + }, | |
230 | + u'dictionary.partofspeech': { | |
231 | + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, | |
232 | + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), | |
233 | + 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) | |
234 | + }, | |
235 | + u'dictionary.pattern': { | |
236 | + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, | |
237 | + 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), | |
238 | + 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), | |
239 | + 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), | |
240 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
241 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), | |
242 | + 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), | |
243 | + 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) | |
244 | + }, | |
245 | + u'dictionary.patterntype': { | |
246 | + 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, | |
247 | + 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), | |
248 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
249 | + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) | |
250 | + }, | |
251 | + u'dictionary.qualifier': { | |
252 | + 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, | |
253 | + 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), | |
254 | + 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), | |
255 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
256 | + 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), | |
257 | + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) | |
258 | + }, | |
259 | + u'dictionary.qualifierexclusionclass': { | |
260 | + 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, | |
261 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
262 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), | |
263 | + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) | |
264 | + }, | |
265 | + u'dictionary.savedexportdata': { | |
266 | + 'Meta': {'object_name': 'SavedExportData'}, | |
267 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
268 | + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), | |
269 | + 'serialized_data': ('django.db.models.fields.TextField', [], {}) | |
270 | + }, | |
271 | + u'dictionary.savedfilter': { | |
272 | + 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, | |
273 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
274 | + 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), | |
275 | + 'serialized_filter': ('django.db.models.fields.TextField', [], {}), | |
276 | + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) | |
277 | + }, | |
278 | + u'dictionary.tablecell': { | |
279 | + 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, | |
280 | + 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), | |
281 | + 'col': ('django.db.models.fields.IntegerField', [], {}), | |
282 | + 'colspan': ('django.db.models.fields.IntegerField', [], {}), | |
283 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
284 | + 'row': ('django.db.models.fields.IntegerField', [], {}), | |
285 | + 'rowspan': ('django.db.models.fields.IntegerField', [], {}) | |
286 | + }, | |
287 | + u'dictionary.tableheader': { | |
288 | + 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, | |
289 | + 'col': ('django.db.models.fields.IntegerField', [], {}), | |
290 | + 'colspan': ('django.db.models.fields.IntegerField', [], {}), | |
291 | + 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), | |
292 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
293 | + 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), | |
294 | + 'row': ('django.db.models.fields.IntegerField', [], {}), | |
295 | + 'rowspan': ('django.db.models.fields.IntegerField', [], {}), | |
296 | + 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) | |
297 | + }, | |
298 | + u'dictionary.tabletemplate': { | |
299 | + 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, | |
300 | + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), | |
301 | + 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), | |
302 | + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), | |
303 | + 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) | |
304 | + }, | |
305 | + u'dictionary.variant': { | |
306 | + 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, | |
307 | + 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) | |
308 | + }, | |
309 | + u'dictionary.vocabulary': { | |
310 | + 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, | |
311 | + 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), | |
312 | + 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), | |
313 | + 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), | |
314 | + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), | |
315 | + 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), | |
316 | + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) | |
317 | + } | |
318 | + } | |
319 | + | |
320 | + complete_apps = ['dictionary'] | |
0 | 321 | \ No newline at end of file |
... | ... |