diff --git a/accounts/management/commands/create_users.py b/accounts/management/commands/create_users.py index ff51aca..c3618e7 100644 --- a/accounts/management/commands/create_users.py +++ b/accounts/management/commands/create_users.py @@ -1,7 +1,7 @@ #-*- coding:utf-8 -*- -from django.contrib.auth.models import Permission, Group, User -from django.core.management.base import BaseCommand, CommandError +from django.contrib.auth.models import Group, User +from django.core.management.base import BaseCommand from dictionary.models import Vocabulary from accounts.models import UserSettings @@ -36,14 +36,14 @@ def create_users(): sgjp = User.objects.create_user('sgjp', 'sgjp@example.com', 'sgjp') nzm = User.objects.create_user('nzm', 'nzm@example.com', 'nzm') redsgjp = User.objects.create_user('redsgjp', 'redsgjp@example.com', - 'redsgjp') + 'redsgjp') rednzm = User.objects.create_user('rednzm', 'rednzm@example.com', 'rednzm') supersgjp = User.objects.create_user('supersgjp', 'supersgjp@example.com', - 'supersgjp') + 'supersgjp') supernzm = User.objects.create_user('supernzm', 'supernzm@example.com', - 'supernzm') + 'supernzm') wzornik = User.objects.create_user('wzornik', 'wzornik@example.com', - 'wzornik') + 'wzornik') admin = User.objects.create_user('admin', 'admin@example.com', 'admin') users = (sgjp, nzm, redsgjp, rednzm, supersgjp, supernzm, wzornik, admin) diff --git a/accounts/templates/registration/password_change_form.html b/accounts/templates/registration/password_change_form.html index 8341251..8790991 100644 --- a/accounts/templates/registration/password_change_form.html +++ b/accounts/templates/registration/password_change_form.html @@ -9,49 +9,51 @@ {% block content %} <div id="content-main"> - <form action="" method="post">{% csrf_token %} - <div> - {% if form.errors %} - <p class="errornote"> - {% blocktrans count form.errors.items|length as counter %} - Please correct the error below.{% plural %}Please - correct the errors below.{% endblocktrans %} - </p> - {% endif %} - - <h1>{% trans 'Password change' %}</h1> - - <p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p> - - <fieldset class="module aligned wide"> - - <div class="form-row"> - {{ form.old_password.errors }} - <label for="id_old_password" - class="required">{% trans 'Old password' %}:</label>{{ form.old_password }} + <form action="" method="post">{% csrf_token %} + <div> + {% if form.errors %} + <p class="errornote"> + {% blocktrans count form.errors.items|length as counter %} + Please correct the error below.{% plural %}Please + correct the errors below.{% endblocktrans %} + </p> + {% endif %} + + <h1>{% trans 'Password change' %}</h1> + + <p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p> + + <fieldset class="module aligned wide"> + + <div class="form-row"> + {{ form.old_password.errors }} + <label for="id_old_password" + class="required">{% trans 'Old password' %}:</label>{{ form.old_password }} + </div> + + <div class="form-row"> + {{ form.new_password1.errors }} + <label for="id_new_password1" + class="required">{% trans 'New password' %}:</label>{{ form.new_password1 }} + </div> + + <div class="form-row"> + {{ form.new_password2.errors }} + <label for="id_new_password2" + class="required">{% trans 'Password (again)' %}:</label>{{ form.new_password2 }} + </div> + + </fieldset> + + <div class="submit-row"> + <input type="submit" + value="{% trans 'Change my password' %}" + class="default"/> </div> - <div class="form-row"> - {{ form.new_password1.errors }} - <label for="id_new_password1" - class="required">{% trans 'New password' %}:</label>{{ form.new_password1 }} - </div> - - <div class="form-row"> - {{ form.new_password2.errors }} - <label for="id_new_password2" - class="required">{% trans 'Password (again)' %}:</label>{{ form.new_password2 }} - </div> - - </fieldset> - - <div class="submit-row"> - <input type="submit" value="{% trans 'Change my password' %}" - class="default"/> + <script type="text/javascript">document.getElementById("id_old_password").focus();</script> </div> - - <script type="text/javascript">document.getElementById("id_old_password").focus();</script> - </div> - </form></div> + </form> + </div> {% endblock %} diff --git a/accounts/templates/registration/registration_form.html b/accounts/templates/registration/registration_form.html index d1d837d..fd7d89f 100644 --- a/accounts/templates/registration/registration_form.html +++ b/accounts/templates/registration/registration_form.html @@ -17,26 +17,27 @@ {% block content %} <div id="content-main"> - <form action="" method="post">{% csrf_token %} - <div> - {% if form.errors %} - <p class="errornote"> - {% blocktrans count form.errors.items|length as counter %} - Please correct the error below.{% plural %}Please - correct the errors below.{% endblocktrans %} - </p> - {% endif %} - - <h1>{% trans 'Registration' %}</h1> - - {{ form.as_p }} - - <div class="submit-row"> - <input type="submit" value="{% trans 'Add user' %}" - class="default"/> - </div> + <form action="" method="post">{% csrf_token %} + <div> + {% if form.errors %} + <p class="errornote"> + {% blocktrans count form.errors.items|length as counter %} + Please correct the error below.{% plural %}Please + correct the errors below.{% endblocktrans %} + </p> + {% endif %} + + <h1>{% trans 'Registration' %}</h1> + + {{ form.as_p }} - </div> - </form></div> + <div class="submit-row"> + <input type="submit" value="{% trans 'Add user' %}" + class="default"/> + </div> + + </div> + </form> + </div> {% endblock %} diff --git a/common/decorators.py b/common/decorators.py index c62b103..0ba9479 100644 --- a/common/decorators.py +++ b/common/decorators.py @@ -38,9 +38,9 @@ def ajax(login_required=True, method=None, encode_result=True, template=None): fun_params, xx, fun_kwargs, xxxx = getargspec(fun) if request_params: request_params = dict((key, json_decode_fallback(value)) - for key, value in - request_params.iteritems() - if fun_kwargs or key in fun_params) + for key, value in + request_params.iteritems() + if fun_kwargs or key in fun_params) kwargs.update(stringify_keys(request_params)) res = None if login_required and not request.user.is_authenticated(): @@ -53,12 +53,12 @@ def ajax(login_required=True, method=None, encode_result=True, template=None): res = {'result': e.args[0]} if template: res = {'html': render_to_string(template, res, - RequestContext(request))} + RequestContext(request))} if encode_result: if 'result' not in res: res['result'] = 'ok' return HttpResponse(json_encode(res), - mimetype='application/json') + mimetype='application/json') else: return res diff --git a/common/forms.py b/common/forms.py index 4c8d1e6..d41df05 100644 --- a/common/forms.py +++ b/common/forms.py @@ -19,7 +19,7 @@ class ChoiceWithOtherRenderer(forms.RadioSelect.renderer): for input in super(ChoiceWithOtherRenderer, self).__iter__(): yield input id = '%s_%s' % ( - self.attrs['id'], self.other[0]) if 'id' in self.attrs else '' + self.attrs['id'], self.other[0]) if 'id' in self.attrs else '' label_for = ' for="%s"' % id if id else '' checked = '' if not force_unicode( self.other[0]) == self.value else 'checked="true" ' @@ -33,7 +33,7 @@ class ChoiceWithOtherWidget(forms.MultiWidget): def __init__(self, choices): widgets = [ forms.RadioSelect(choices=choices, - renderer=ChoiceWithOtherRenderer), + renderer=ChoiceWithOtherRenderer), forms.TextInput ] super(ChoiceWithOtherWidget, self).__init__(widgets) @@ -65,7 +65,7 @@ class ChoiceWithOtherField(forms.MultiValueField): self._was_required = kwargs.pop('required', True) kwargs['required'] = False super(ChoiceWithOtherField, self).__init__(widget=widget, fields=fields, - *args, **kwargs) + *args, **kwargs) def compress(self, value): if self._was_required and (not value or value[0] in (None, '')): diff --git a/common/middleware.py b/common/middleware.py index a75f195..32b1327 100644 --- a/common/middleware.py +++ b/common/middleware.py @@ -21,5 +21,5 @@ class MyMiddleware(object): print 'Total of %s queries for %s.' % ( len(connection.queries), request.path) print 'Total time: %s' % sum(Decimal(q['time']) - for q in connection.queries) + for q in connection.queries) return response \ No newline at end of file diff --git a/common/util.py b/common/util.py index f480420..8f7d09c 100644 --- a/common/util.py +++ b/common/util.py @@ -3,7 +3,7 @@ import json import sys from django.conf import urls -from django.http import HttpResponseRedirect, Http404 +from django.http import HttpResponseRedirect def debug(entry, text): @@ -49,7 +49,7 @@ def url(regex, view, **kwargs): def stringify_keys(dictionary): return dict((keyword.encode('ascii'), value) - for keyword, value in dictionary.iteritems()) + for keyword, value in dictionary.iteritems()) # copypasta ze standardowego modułu bisect def bisect_left(a, x, lo=0, hi=None, cmp=None): @@ -104,7 +104,7 @@ def error_messages(form): return '\n'.join( '%s: %s' % (form.fields[k].label, ' '.join(v)) if k != '__all__' else ' '.join(v) - for k, v in form.errors.iteritems()) + for k, v in form.errors.iteritems()) class GroupDict(dict): diff --git a/dictionary/ajax_export.py b/dictionary/ajax_export.py index 9f67b7f..4aecc7e 100644 --- a/dictionary/ajax_export.py +++ b/dictionary/ajax_export.py @@ -33,11 +33,11 @@ def save_export_data(request, name, serialized_data, force=False): @ajax(method='get') def get_export_data(request): data_list = [{ - 'id': 'export%s' % data.pk, - 'name': data.name, - 'json': data.serialized_data, - } - for data in SavedExportData.objects.all()] + 'id': 'export%s' % data.pk, + 'name': data.name, + 'json': data.serialized_data, + } + for data in SavedExportData.objects.all()] return {'data_list': data_list} diff --git a/dictionary/ajax_filters.py b/dictionary/ajax_filters.py index 2f58508..3017f19 100644 --- a/dictionary/ajax_filters.py +++ b/dictionary/ajax_filters.py @@ -28,11 +28,11 @@ def save_filter(request, name, serialized_filter, super=False, force=False): @ajax(method='get') def get_filters(request): filters = [{ - 'id': 'filter%s' % filter.pk, - 'name': filter.name, - 'json': filter.serialized_filter, - } - for filter in SavedFilter.objects.filter(user=request.user)] + 'id': 'filter%s' % filter.pk, + 'name': filter.name, + 'json': filter.serialized_filter, + } + for filter in SavedFilter.objects.filter(user=request.user)] return {'filters': filters} diff --git a/dictionary/ajax_jqgrid.py b/dictionary/ajax_jqgrid.py index 560a796..3b9f62a 100644 --- a/dictionary/ajax_jqgrid.py +++ b/dictionary/ajax_jqgrid.py @@ -2,7 +2,6 @@ import math from accounts.models import filtering_mode -from common.decorators import render, ajax class JqGridQuery(object): @@ -253,9 +252,9 @@ class JqGridAjax(object): @classmethod def make_response(cls, response_qs, count, page, total_pages): rows = [{ - 'id': instance.pk, - 'cell': cls.response_row(instance), - } for instance in response_qs] + 'id': instance.pk, + 'cell': cls.response_row(instance), + } for instance in response_qs] return { 'page': page, 'total': total_pages, @@ -268,6 +267,6 @@ class JqGridAjax(object): queryset = cls.get_sorted_queryset(query) count = queryset.count() total_pages, start, response_rowcount = cls.count_pages(count, page, - limit) + limit) response_qs = queryset[start:start + response_rowcount] return cls.make_response(response_qs, count, page, total_pages) \ No newline at end of file diff --git a/dictionary/ajax_lexeme_jqgrid.py b/dictionary/ajax_lexeme_jqgrid.py index e678a09..005e0f2 100644 --- a/dictionary/ajax_lexeme_jqgrid.py +++ b/dictionary/ajax_lexeme_jqgrid.py @@ -4,10 +4,10 @@ from hashlib import md5 from django.db.models import Count from django.core.cache import cache -from dictionary.models import Lexeme, filter_visible, visible_vocabularies, LexemeInflectionPattern, LexemeAssociation +from dictionary.models import Lexeme, filter_visible, visible_vocabularies from dictionary.ajax_jqgrid import JqGridAjax, JqGridQuery from common.decorators import ajax -from common.util import bisect_left, reverse, GroupDict, json_encode +from common.util import bisect_left, reverse, json_encode class LexemeGrid(JqGridAjax): @@ -55,7 +55,7 @@ class LexemeGrid(JqGridAjax): elif field == 'ic_count': queryset = queryset.annotate( icc=Count('lexemeinflectionpattern__inflection_characteristic', - distinct=True)) + distinct=True)) elif field == 'qualifier': where = '''( exists ( @@ -111,7 +111,7 @@ class LexemeGrid(JqGridAjax): else: comp = '<=' queryset = queryset.extra(where=["reverse(haslo) " + comp + " %s"], - params=[reverse(from_value)]) + params=[reverse(from_value)]) return True, queryset else: return False, queryset @@ -171,7 +171,7 @@ class LexemeGrid(JqGridAjax): return selected_pk, index, count index = bisect_left(pk_list, query.mask, - cmp=make_lexeme_cmp(sort_rules[0])) + cmp=make_lexeme_cmp(sort_rules[0])) if index == count: index -= 1 return pk_list[index], index, count diff --git a/dictionary/ajax_lexeme_view.py b/dictionary/ajax_lexeme_view.py index eff8bc2..6057828 100644 --- a/dictionary/ajax_lexeme_view.py +++ b/dictionary/ajax_lexeme_view.py @@ -56,7 +56,7 @@ def table_preview(request, lexeme_id, pattern, inflection_characteristic, lip.root = get_root(entry, pos, pattern, inflection_characteristic) qualifiers = visible_qualifiers(request.user) table = lip.inflection_table('0', separated=True, qualifiers=qualifiers, - edit_view=True) + edit_view=True) prepare_table(table) except Pattern.DoesNotExist: table = None @@ -151,7 +151,7 @@ def lexeme_edit_form(request, id): (LIPEditForm( lexeme=l, part_of_speech=l.part_of_speech, instance=lip, prefix='lip' + str(lip.pk), user=request.user, editable=editable), - lip.qualifiers.filter(vocabulary=owner) if ro_owner else []) + lip.qualifiers.filter(vocabulary=owner) if ro_owner else []) for lip in lips] crs = l.refs_to.order_by('type__index') to_return['cross_references'] = crs @@ -165,7 +165,7 @@ def check_classifications(request, owner_id, pos): classifications = owner.classifications.filter( parts_of_speech=part_of_speech) return { - 'classifications': list(classifications.values_list('pk', flat=True))} + 'classifications': list(classifications.values_list('pk', flat=True))} def make_classification_forms(lexeme, vocabulary=None, part_of_speech=None, @@ -340,8 +340,8 @@ def update_lexeme(request, form_data, mask=''): instance=lip, user=request.user, index=len(submitted_lips)) if lip_form.is_valid(): lip = lip_form.save() - lip.root = l.get_root(lip.pattern, - lip.inflection_characteristic) + lip.root = l.get_root( + lip.pattern, lip.inflection_characteristic) if lip.root is None: raise AjaxError( u'Niepasujące zakończenie formy podstawowej.') diff --git a/dictionary/ajax_pattern_view.py b/dictionary/ajax_pattern_view.py index b058575..6c9da6f 100644 --- a/dictionary/ajax_pattern_view.py +++ b/dictionary/ajax_pattern_view.py @@ -127,7 +127,7 @@ def update_pattern(request, form_data): symbol=bfl_endings['base_form_label']) endings = [] for index, ending_data in zip(range(1, len(endings_data) + 1), - endings_data): + endings_data): quals = set(int(q) for q in ending_data['qualifiers']) if ending_data['id'] == 'add': ending = Ending.objects.create( diff --git a/dictionary/ajax_prompter.py b/dictionary/ajax_prompter.py index 4151407..55e8dd4 100644 --- a/dictionary/ajax_prompter.py +++ b/dictionary/ajax_prompter.py @@ -1,9 +1,8 @@ #-*- coding:utf-8 -*- -from common.decorators import render, ajax, AjaxError +from common.decorators import ajax from common.util import suffix, cut_end -from dictionary.models import Lexeme, LexemeInflectionPattern, Pattern, \ - InflectionCharacteristic, prepare_table, visible_vocabularies, get_root, \ +from dictionary.models import LexemeInflectionPattern, InflectionCharacteristic, get_root, \ ClassificationValue, Classification, filter_visible_lips from dictionary.pattern_blacklist import blacklist diff --git a/dictionary/export.py b/dictionary/export.py index a496f5f..990f45c 100644 --- a/dictionary/export.py +++ b/dictionary/export.py @@ -1,7 +1,6 @@ #-*- coding:utf-8 -*- import sys -from django.core.management.base import BaseCommand, CommandError from django.db import connection from common.util import debug, flatten from dictionary.models import CrossReferenceType, ClassificationValue, LexemeAttributeValue diff --git a/dictionary/forms.py b/dictionary/forms.py index 393171d..4f01129 100644 --- a/dictionary/forms.py +++ b/dictionary/forms.py @@ -5,7 +5,7 @@ from common.forms import hidden_id from dictionary.models import Lexeme, LexemeInflectionPattern, Ending, \ InflectionCharacteristic, Pattern, PatternType, Classification, \ ClassificationValue, Vocabulary, CrossReference, Qualifier, \ - QualifierExclusionClass, Variant, editable_vocabularies, editable_qualifiers, LexemeAttribute, LexemeAttributeValue + QualifierExclusionClass, Variant, editable_vocabularies, editable_qualifiers, LexemeAttributeValue def disable_field(field): @@ -18,7 +18,7 @@ def disable_field(field): class QualifiersField(ModelMultipleChoiceField): def __init__(self, **kwargs): super(QualifiersField, self).__init__(Qualifier.objects.none(), - **kwargs) + **kwargs) self.to_field_name = None #? def set_qualifiers(self, user, qualified=None, lexeme=None): @@ -301,8 +301,8 @@ class AddQualifierForm(ModelForm): self.fields['vocabulary'].initial = vocabulary if vocabulary: self.fields['exclusion_class'].queryset = ( - QualifierExclusionClass.objects - .filter(vocabulary=vocabulary).distinct()) + QualifierExclusionClass.objects + .filter(vocabulary=vocabulary).distinct()) def clean(self): cleaned_data = self.cleaned_data @@ -356,11 +356,11 @@ class CrossReferenceForm(ModelForm): 'size': 12, })) homonym_number = IntegerField(label=u'hom.', - widget=TextInput(attrs={ - 'class': 'homonym-number', - 'readonly': 'readonly', - 'size': 1, - })) + widget=TextInput(attrs={ + 'class': 'homonym-number', + 'readonly': 'readonly', + 'size': 1, + })) def __init__(self, lexeme=None, pos=None, **kwargs): super(CrossReferenceForm, self).__init__(**kwargs) @@ -526,7 +526,7 @@ class LexemeQualifierActionForm(Form): class LexemeQualifierValueForm(Form): value = QualifierField(label=u'', - widget=Select(attrs={'class': 'value-choice'})) + widget=Select(attrs={'class': 'value-choice'})) def __init__(self, request, **kwargs): super(LexemeQualifierValueForm, self).__init__(**kwargs) @@ -535,12 +535,12 @@ class LexemeQualifierValueForm(Form): ACTION_FIELDS = ( ('status', - (u'Status', StatusActionForm, StatusValueForm)), + (u'Status', StatusActionForm, StatusValueForm)), ('using_vocabulary', - (u'Słownik używający', UsingVocabularyActionForm, VocabularyValueForm)), + (u'Słownik używający', UsingVocabularyActionForm, VocabularyValueForm)), ('lexeme_qualifier', - (u'Kwalifikator leksemu', - LexemeQualifierActionForm, LexemeQualifierValueForm)), + (u'Kwalifikator leksemu', + LexemeQualifierActionForm, LexemeQualifierValueForm)), ) diff --git a/dictionary/history.py b/dictionary/history.py index aadb070..3732d1c 100644 --- a/dictionary/history.py +++ b/dictionary/history.py @@ -141,14 +141,14 @@ def transaction_table(transaction_data): table = item1.table_name column = item1.column_name if (table == 'leksemy' and column == 'usuniety' and - item1.new_value == 'true' and item1.old_value == 'false'): + item1.new_value == 'true' and item1.old_value == 'false'): deleted = True attr = None if (table, column) in attribute_translation: attr = attribute_translation[(table, column)] before, after = tuple( prepare_value(table, column, v) - for v in (item1.old_value, item1.new_value)) + for v in (item1.old_value, item1.new_value)) before_after = ( before if item1.operation != 'INSERT' else None, after if item1.operation != 'DELETE' else None) @@ -266,8 +266,8 @@ def deleted_lexeme_table(lexeme): if table == 'leksemy': rows.append( (attr, - (prepare_value(table, column, get_lexeme_attr(column, lexeme)), - None))) + (prepare_value(table, column, get_lexeme_attr(column, lexeme)), + None))) for q in lexeme.qualifiers.all(): rows.append((u'kwalifikator', (q.label, None))) for classification in lexeme.owner_vocabulary.classifications.all(): @@ -281,7 +281,7 @@ def deleted_lexeme_table(lexeme): attr = u'odsyłacz' rows.append((attr, ( ' '.join([cr.type.symbol, cr.to_lexeme.entry, - cr.to_lexeme.lip_data()['inflection_characteristics']]), + cr.to_lexeme.lip_data()['inflection_characteristics']]), None))) lip_tables = [] for lip in lexeme.lexemeinflectionpattern_set.all(): @@ -293,7 +293,7 @@ def deleted_lexeme_table(lexeme): attr = u'kwalifikator' lip_data.append((attr, (q.label, None))) header = '%s/%s' % ( - lip.inflection_characteristic.symbol, lip.pattern.name) + lip.inflection_characteristic.symbol, lip.pattern.name) lip_tables.append((header, lip_data)) return rows, lip_tables diff --git a/dictionary/management/commands/check_ispell.py b/dictionary/management/commands/check_ispell.py index 1251a9b..bc1887b 100644 --- a/dictionary/management/commands/check_ispell.py +++ b/dictionary/management/commands/check_ispell.py @@ -35,4 +35,4 @@ def check_ispell(input_file): for flags, res in results.iteritems(): print ('%s=%s,%s' % ((flags, dict_repr(res['pos']), - dict_repr(res['ic'])))).encode('utf-8') \ No newline at end of file + dict_repr(res['ic'])))).encode('utf-8') \ No newline at end of file diff --git a/dictionary/management/commands/check_morfologik.py b/dictionary/management/commands/check_morfologik.py index 9b75905..2bec2ed 100644 --- a/dictionary/management/commands/check_morfologik.py +++ b/dictionary/management/commands/check_morfologik.py @@ -1,8 +1,6 @@ #-*- coding:utf-8 -*- -import sys -from django.core.management.base import BaseCommand, CommandError -from common.util import debug +from django.core.management.base import BaseCommand from dictionary.models import Lexeme @@ -109,8 +107,8 @@ def check_forms(lc_sym, forms): if forms | l.all_forms(label_filter='^pl:nom$') == l_forms: break if (u'rozszerzone singulare' in l.comment - or u'rozszerzyć sgtant' in l.comment - or l.owner_vocabulary.id != 'Morfologik'): + or u'rozszerzyć sgtant' in l.comment + or l.owner_vocabulary.id != 'Morfologik'): if forms == l.all_forms(label_filter='^sg:'): break elif lc_sym == 'adj': diff --git a/dictionary/management/commands/disamb.py b/dictionary/management/commands/disamb.py index fc3a883..a00ee87 100755 --- a/dictionary/management/commands/disamb.py +++ b/dictionary/management/commands/disamb.py @@ -2,9 +2,7 @@ #-*- coding:utf-8 -*- import sys -from django.db import connection, transaction -from django.core.management.base import BaseCommand, CommandError -from common.util import debug +from django.core.management.base import BaseCommand from dictionary.util import expand_tag @@ -49,8 +47,8 @@ def base_tag(tag): # forms: lista {form: forma, tags: lista możliwych tagów)? def disamb_lexeme(forms): base_form_tags = (tag for tag, base - in zip(forms[0]['tags'], forms[0]['base']) - if base and base_tag(tag)) + in zip(forms[0]['tags'], forms[0]['base']) + if base and base_tag(tag)) possible_pos = set(tag.split(':')[0] for tag in base_form_tags) entry = forms[0]['form'] if forms[0]['tags'][0] == '-': @@ -79,11 +77,11 @@ def disamb_lexeme(forms): fixed = None if tags[0].startswith('subst'): fixed = ['subst:ger' + tag[len('subst'):] for tag in - tags] + tags] elif tags[0].startswith('adj'): start = None if any(form['form'].endswith(end) for end in - [u'cy', u'ca', u'ce', + [u'cy', u'ca', u'ce', u'cą', u'cego', u'cej', u'cemu', u'cym', u'cych', u'cymi']): start = 'pact' @@ -98,16 +96,17 @@ def disamb_lexeme(forms): new_forms.append(form) else: if pos == 'adj' and 'adv' in (tag.split(':')[0] for tag in - form['tags']): + form['tags']): form['tags'] = [tag for tag in form['tags'] if - tag.startswith('adv')] + tag.startswith('adv')] other_lexemes.append([form]) nie_prefix = '' while forms[0]['form'].startswith(nie_prefix): nie_prefix += 'nie' if not form['form'].startswith(nie_prefix): print >> sys.stderr, ( - u'advadj: %s %s' % (form['form'], forms[0]['form'])).encode( + u'advadj: %s %s' % ( + form['form'], forms[0]['form'])).encode( 'utf-8') else: form['tags'] = [pos + ':irreg'] @@ -115,10 +114,10 @@ def disamb_lexeme(forms): #print >>sys.stderr, (u'odrzucona forma: %s %s [%s]' % # (form['form'], ', '.join(form['tags']), pos)).encode('utf-8') - # if len(new_forms[0]['tags']) == 1: - # if pos not in base_tag: - # base_tag[pos] = set() - # base_tag[pos].add(new_forms[0]['tags'][0]) + # if len(new_forms[0]['tags']) == 1: + # if pos not in base_tag: + # base_tag[pos] = set() + # base_tag[pos].add(new_forms[0]['tags'][0]) if pos == 'subst': # ujednoznacznić rodzaj... niezguła, sezamek @@ -143,16 +142,16 @@ def disamb_lexeme(forms): good_genders.append(gender) if len(good_genders) != 1: print >> sys.stderr, ( - u'%s: nie da się ujednoznacznić rodzaju' % - entry).encode('utf-8') + u'%s: nie da się ujednoznacznić rodzaju' % + entry).encode('utf-8') return None, None gender = good_genders[0] - # znamy rodzaj, przesiewamy + # znamy rodzaj, przesiewamy for form in new_forms: good_tags = [] for tag in all_tags(form): if tag[-1][0] in (gender, 'i') or ( - tag[-1] == 'depr' and gender == 'm'): + tag[-1] == 'depr' and gender == 'm'): good_tags.append(':'.join(tag)) if good_tags: form['tags'] = good_tags @@ -192,7 +191,8 @@ def parse_file(path): forms[-1]['base'].append( base == entry or tag == 'adv:comp' or ( - tag.startswith('subst:pl') and 'nom' in tag)) # brzydko... + tag.startswith( + 'subst:pl') and 'nom' in tag)) # brzydko... # for pos, tags in base_tag.iteritems(): # print ('base %s: %s' % (pos, ', '.join(tags))).encode('utf-8') diff --git a/dictionary/management/commands/extra_crs.py b/dictionary/management/commands/extra_crs.py index bcf2452..fbfc0c5 100644 --- a/dictionary/management/commands/extra_crs.py +++ b/dictionary/management/commands/extra_crs.py @@ -1,7 +1,7 @@ #-*- coding:utf-8 -*- import sys -from django.core.management.base import BaseCommand, CommandError +from django.core.management.base import BaseCommand from common.util import no_history from dictionary.models import Lexeme, Vocabulary, CrossReference @@ -86,7 +86,7 @@ def add_crs(type, path): make_detail(advnegs, u'zanegowane', morf, details) make_detail(advs, u'niezanegowane', morf, details) debug(advneg_e, - u'Niejednoznaczność: %s' % '; '.join(details)) + u'Niejednoznaczność: %s' % '; '.join(details)) elif advnegs.count() == 0 or advs.count() == 0: lack = which_lacks( advnegs, u'zanegowanego', advs, u'niezanegowanego') @@ -107,36 +107,36 @@ def add_crs(type, path): make_detail(advnegs, u'zanegowane', morf, details) make_detail(adjs, u'przymiotniki', morf, details) debug(advneg_e, - u'Niejednoznaczność: %s' % '; '.join(details)) + u'Niejednoznaczność: %s' % '; '.join(details)) elif advnegs.count() == 0 or adjs.count() == 0: lack = which_lacks( advnegs, u'zanegowanego', adjs, u'przymiotnika') debug(advneg_e, u'Brak %s' % lack) else: advs = [cr.to_lexeme.pk for cr - in adjs[0].refs_to.filter(type='adjadv')] + in adjs[0].refs_to.filter(type='adjadv')] advs += [cr.from_lexeme.pk for cr - in adjs[0].refs_from.filter(type='advadj')] + in adjs[0].refs_from.filter(type='advadj')] advs = adv.filter(pk__in=advs).distinct() if len(advs) > 1: details = [] make_detail(advs, u'niezanegowane', morf, details) debug(advneg_e, - u'Niejednoznaczność: %s' % '; '.join(details)) + u'Niejednoznaczność: %s' % '; '.join(details)) elif len(advs) == 0: debug(advneg_e, u'Brak niezanegowanego') else: connect(advnegs[0], advs[0], cr_type) else: debug(advneg_e, - u'Brak drugiego leksemu [przymiotnik lub przysłówek]') + u'Brak drugiego leksemu [przymiotnik lub przysłówek]') elif type == 'advadj': cr_type = ('advadj', 'adjadv') for line in file: adv_e, adj_e = line.strip().decode('utf-8').split() advs = adv.filter(entry=adv_e, part_of_speech__symbol='adv') adjs = adj.filter(entry=adj_e, - patterns__name__contains='').distinct() + patterns__name__contains='').distinct() if advs.count() > 1 or adjs.count() > 1: details = [] make_detail(advs, u'przysłówki', morf, details) @@ -144,7 +144,7 @@ def add_crs(type, path): debug(adv_e, u'Niejednoznaczność: %s' % '; '.join(details)) elif advs.count() == 0 or adjs.count() == 0: lack = which_lacks(advs, u'przysłówka', adjs, - u'przymiotnika') + u'przymiotnika') debug(adv_e, u'Brak %s' % lack) else: connect(advs[0], adjs[0], cr_type) @@ -191,5 +191,5 @@ def add_crs(type, path): for adj in adjs: for advcom in advcoms: if not adj.refs_to.filter(to_lexeme=advcom, - type='adjadvc'): + type='adjadvc'): connect(adj, advcom, cr_type) diff --git a/dictionary/management/commands/filter_new.py b/dictionary/management/commands/filter_new.py index 81e2020..21fe35c 100644 --- a/dictionary/management/commands/filter_new.py +++ b/dictionary/management/commands/filter_new.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from django.core.management.base import BaseCommand -from dictionary.models import Vocabulary, Lexeme +from dictionary.models import Lexeme class Command(BaseCommand): diff --git a/dictionary/management/commands/fix_morfologik.py b/dictionary/management/commands/fix_morfologik.py index 191858f..14a1829 100644 --- a/dictionary/management/commands/fix_morfologik.py +++ b/dictionary/management/commands/fix_morfologik.py @@ -1,7 +1,6 @@ #-*- coding:utf-8 -*- -import sys -from django.core.management.base import BaseCommand, CommandError +from django.core.management.base import BaseCommand from common.util import no_history, debug from dictionary.models import Lexeme, Pattern, Vocabulary, \ Qualifier, InflectionCharacteristic @@ -39,7 +38,7 @@ def cand_ndm(): l.save() for l in (existing.filter( status='desc', lexemeinflectionpattern__pattern__name='ndm') - .exclude(part_of_speech__symbol='adv')): + .exclude(part_of_speech__symbol='adv')): l.status = 'cand' l.save() diff --git a/dictionary/management/commands/fix_osc.py b/dictionary/management/commands/fix_osc.py index 5c687d6..c939517 100644 --- a/dictionary/management/commands/fix_osc.py +++ b/dictionary/management/commands/fix_osc.py @@ -1,7 +1,6 @@ #-*- coding:utf-8 -*- -import sys -from django.core.management.base import BaseCommand, CommandError +from django.core.management.base import BaseCommand from common.util import no_history, debug from dictionary.models import Lexeme, Vocabulary, PartOfSpeech, CrossReference diff --git a/dictionary/management/commands/fix_surnames.py b/dictionary/management/commands/fix_surnames.py index e783a1c..7a82367 100644 --- a/dictionary/management/commands/fix_surnames.py +++ b/dictionary/management/commands/fix_surnames.py @@ -1,7 +1,6 @@ #-*- coding:utf-8 -*- -import sys -from django.core.management.base import BaseCommand, CommandError +from django.core.management.base import BaseCommand from common.util import no_history, debug from dictionary.models import Lexeme, Vocabulary @@ -22,8 +21,8 @@ def fix_surnames(): sgjp = SGJP.owned_lexemes_pk() existing = Lexeme.objects sgjp_subst = existing.filter(# jak odsiewam po SGJP, to nic nie zostaje... - part_of_speech__symbol='subst', - entry__regex=u'^[A-ZĄĆĘŁŃÓŚŻŹ]') + part_of_speech__symbol='subst', + entry__regex=u'^[A-ZĄĆĘŁŃÓŚŻŹ]') morf_surnames = existing.filter( pk__in=morf, part_of_speech__symbol='adj', entry__regex=u'^[A-ZĄĆĘŁŃÓŚŻŹ]') diff --git a/dictionary/management/commands/import_data.py b/dictionary/management/commands/import_data.py index 40ff699..0d2ac47 100644 --- a/dictionary/management/commands/import_data.py +++ b/dictionary/management/commands/import_data.py @@ -201,7 +201,7 @@ class ImportData(object): if 'lc_pos' not in self.__dict__: self.lc_pos = dict( (pos.symbol, pos.lexical_class) for pos in - PartOfSpeech.objects.all() + PartOfSpeech.objects.all() ) def new_base_form_labels(self): @@ -236,7 +236,7 @@ class ImportData(object): if 'ics' not in self.__dict__: self.ics = dict( ((ic.symbol, ic.part_of_speech.symbol), ic) - for ic in InflectionCharacteristic.objects.all() + for ic in InflectionCharacteristic.objects.all() ) def new_vocabularies(self): @@ -268,7 +268,7 @@ class ImportData(object): if qualifier_label not in added: added.add(qualifier_label) yield Qualifier(label=qualifier_label, - vocabulary=default) + vocabulary=default) def cache_qualifiers(self): if 'qual' not in self.__dict__: @@ -336,18 +336,18 @@ class ImportData(object): for qual in row['lkwal'].split('|'): lexeme_qualifiers.append((row['nr'], self.qual[qual])) for attr_name, ( - (poses, ic), values, (column, f)) in ATTRS.iteritems(): + (poses, ic), values, (column, f)) in ATTRS.iteritems(): if row['pos'] in poses: attr_value = attr_values[attr_name].get(f(row[column])) if attr_value: lexeme_attrs.append( LexemeAV(lexeme_id=row['nr'], - attribute_value=attr_value)) + attribute_value=attr_value)) elif row[column]: print 'unknown value of %s: %s' % ( - attr_name, row[column]) + attr_name, row[column]) return (lexemes, lexeme_associations, lexeme_cvs, lexeme_qualifiers, - lexeme_attrs) + lexeme_attrs) def new_lexeme_associations(self): self.cache_vocabs() @@ -380,7 +380,7 @@ class ImportData(object): 'join typyodsylaczy t on t.typods=o.typods') for row in result: desc = self.CR_DESC.get((row['typods'], row['pos2']), - row['naglowek']) + row['naglowek']) yield CrossReferenceType( symbol=row['typods'], desc=desc, @@ -406,7 +406,7 @@ class ImportData(object): ) cr_type_table = dict( ((crt.symbol, crt.from_pos.symbol, crt.to_pos.symbol), crt) - for crt in CrossReferenceType.objects.all() + for crt in CrossReferenceType.objects.all() ) for row in result: # niekompletne odsyłacze zdarzają się dla 'asp' @@ -447,7 +447,7 @@ class ImportData(object): for row in result: lc = self.lc_pos[row['pos']] PatternType.objects.get_or_create(lexical_class=lc, - symbol=row['typr']) + symbol=row['typr']) # prowizorka z powodu pustej klasy 'skr' self.cache_lc() result = self.sqlite_cursor.execute( @@ -455,13 +455,13 @@ class ImportData(object): for row in result: lc = self.lc[row['pos']] PatternType.objects.get_or_create(lexical_class=lc, - symbol=row['typr']) + symbol=row['typr']) def cache_ptypes(self): if 'ptypes' not in self.__dict__: self.ptypes = dict( ((pt.lexical_class.symbol, pt.symbol), pt) - for pt in PatternType.objects.all() + for pt in PatternType.objects.all() ) def new_patterns(self): @@ -557,16 +557,16 @@ class ImportData(object): self.cache_bfl() tt_table = dict( (( - tt.variant.id, - tt.pattern_type.symbol, - tt.inflection_characteristic.symbol, - tt.inflection_characteristic.part_of_speech.symbol, - ), tt) for tt in TableTemplate.objects.all() + tt.variant.id, + tt.pattern_type.symbol, + tt.inflection_characteristic.symbol, + tt.inflection_characteristic.part_of_speech.symbol, + ), tt) for tt in TableTemplate.objects.all() ) for row in self.sqlite_cursor.execute('SELECT * FROM paradygmaty'): tt = tt_table[ (unicode(row['wariant']), row['typr'], row['charfl'], - row['pos'])] + row['pos'])] if not SQL_MODE: c = Cell( table_template=tt, @@ -593,16 +593,16 @@ class ImportData(object): "INSERT INTO klatki (st_id, efobaz, tag, prefiks, sufiks, kind) " "VALUES (%s, %s, %s, %s, %s, %s)", [tt.pk, efobaz_id, row['morf'], - row['pref'], row['suf'], row['kskl']]) + row['pref'], row['suf'], row['kskl']]) if row['row']: self.cursor.execute("select currval('klatki_id_seq')") last_id = self.cursor.fetchone()[0] self.cursor.execute( "INSERT INTO komorki_tabel (k_id, row, col, rowspan, colspan) " "VALUES (%s, %s, %s, %s, %s)", [last_id, row['row'], - row['col'], - row['rowspan'], - row['colspan']]) + row['col'], + row['rowspan'], + row['colspan']]) def new_table_headers(self): for row in self.sqlite_cursor.execute('SELECT * FROM naglowkiwierszy'): @@ -658,7 +658,7 @@ class ImportData(object): bulk_create(BaseFormLabel, self.new_base_form_labels()) print 'importing inflection characteristics...' bulk_create(InflectionCharacteristic, - self.new_inflection_characteristics()) + self.new_inflection_characteristics()) print 'importing vocabularies...' for v in self.new_vocabularies(): v.save() @@ -679,7 +679,7 @@ class ImportData(object): def import_lexemes(): print 'importing lexemes...' (lexemes, lexeme_assoc, lexeme_cvs, lexeme_quals, - lexeme_attrs) = self.new_lexemes() + lexeme_attrs) = self.new_lexemes() print 'creating...' bulk_create(Lexeme, lexemes) print 'associations...' @@ -709,7 +709,7 @@ class ImportData(object): bulk_create(LexemeAssociation, self.new_lexeme_associations()) print 'importing cross-reference types...' bulk_create(CrossReferenceType, - self.new_cross_reference_types()) + self.new_cross_reference_types()) print 'importing cross-references...' bulk_create(CrossReference, self.new_cross_references()) print 'copying aspect values to derived lexemes...' diff --git a/dictionary/management/commands/import_kipi.py b/dictionary/management/commands/import_kipi.py index 943349f..1009073 100644 --- a/dictionary/management/commands/import_kipi.py +++ b/dictionary/management/commands/import_kipi.py @@ -61,11 +61,11 @@ for pos in ('adj', 'subst'): sure_bfls_sg = tuple( BaseFormLabel.objects.filter( symbol__in=['sg:dat', 'sg:gen', 'sg:inst']).values_list('pk', - flat=True)) + flat=True)) sure_bfls_pl = tuple( BaseFormLabel.objects.filter( symbol__in=['pl:dat', 'pl:inst', 'pl:loc']).values_list('pk', - flat=True)) + flat=True)) def basic_form_endings(lexical_class, ic, basic_form, form_set): @@ -90,7 +90,7 @@ def basic_form_endings(lexical_class, ic, basic_form, form_set): "(select id from zakonczenia where w_id = wzory.id " "and zak not in %s and efobaz in %s))"], params=[ending_strings, sure_bfls_sg, ending_strings, - sure_bfls_pl]) + sure_bfls_pl]) new_endings = new_endings | endings_part.filter( pattern__in=patterns) return new_endings @@ -269,7 +269,7 @@ def filter_patterns(filter, action_name, type, patterns, included, including, ending_sets = {} for pattern, root in included: ending_sets[pattern] = good_ending_set(lexical_class, ic, - pattern, root) + pattern, root) type, patterns = find_many_patterns( lexical_class, ic, form_set, entry, included, ending_sets) if type != 'many': @@ -281,18 +281,18 @@ def filter_patterns(filter, action_name, type, patterns, included, including, elif type == 'none': including_dict = dict(including) including = [(key, including_dict[key]) for key in - filter(including_dict)] + filter(including_dict)] else: # type == 'match' patterns = filter(patterns) including_dict = dict(including) including = [(key, including_dict[key]) for key in - filter(including_dict)] + filter(including_dict)] included = filter(included) if old_patterns and not patterns: ending_sets = {} for pattern, root in included: ending_sets[pattern] = good_ending_set(lexical_class, ic, - pattern, root) + pattern, root) type, patterns = find_many_patterns( lexical_class, ic, form_set, entry, included, ending_sets) if type == 'none': @@ -380,7 +380,7 @@ def import_kipi(input_file): if key != last_key: if last_key is not None: process_forms(forms, last_key[0], last_key[1], - COMMONNESS[last_key[2]]) + COMMONNESS[last_key[2]]) last_key = key forms = [] forms.append((form, tag)) diff --git a/dictionary/management/commands/import_morfologik.py b/dictionary/management/commands/import_morfologik.py index e36b1e6..630772a 100644 --- a/dictionary/management/commands/import_morfologik.py +++ b/dictionary/management/commands/import_morfologik.py @@ -69,9 +69,9 @@ def get_basic_endings(lexical_class, parts_of_speech, gender=None): if gender and ending_genders[gender]: ics = ics.filter(symbol__in=ending_genders[gender]) basic_form_labels = ics.values_list('basic_form_label', - flat=True).distinct() + flat=True).distinct() return Ending.objects.filter(base_form_label__pk__in=basic_form_labels, - pattern__type__lexical_class=lexical_class) + pattern__type__lexical_class=lexical_class) basic_form_endings_dict = {} @@ -148,13 +148,13 @@ def tantum_a_posteriori(form_set, patterns): for pattern, root in patterns: tantum_forms = { 'sg': set(root + e for e in - pattern.endings.filter( - base_form_label__symbol__startswith='sg') - .values_list('string', flat=True)), + pattern.endings.filter( + base_form_label__symbol__startswith='sg') + .values_list('string', flat=True)), 'pl': set(root + e for e in - pattern.endings.filter( - base_form_label__symbol__startswith='pl') - .values_list('string', flat=True)), + pattern.endings.filter( + base_form_label__symbol__startswith='pl') + .values_list('string', flat=True)), } for num in ('sg', 'pl'): if form_set.issubset(tantum_forms[num]): @@ -202,9 +202,9 @@ def get_extra(lexical_class, forms, **extra): elif lexical_class.symbol == 'adj': all_forms = [form[0] for form in forms] negated = [(form, tag) for (form, tag) in forms - if form == 'nie' + all_forms[0]] + if form == 'nie' + all_forms[0]] negated += [(form, tag) for (form, tag) in forms - if form.startswith('nie') and form[4:] in all_forms + if form.startswith('nie') and form[4:] in all_forms and form != 'nie' + all_forms[0]] return {'negated': negated} elif lexical_class.symbol == 'v': @@ -215,8 +215,8 @@ def get_extra(lexical_class, forms, **extra): negated_form = (form.startswith(u'nie') and form[len('nie'):] in all_forms) if (':'.join(tag).startswith(tag_prefix) and - not (form.endswith(u'że') and tag[1] == 'impt') - and not negated_form): + not (form.endswith(u'że') and tag[1] == 'impt') + and not negated_form): if form.endswith(end): # ech... base_form = cut_end(form, end) if label == '10': @@ -315,11 +315,11 @@ def find_minimal_sets(form_set, covered_forms, necessary_patterns, sure_bfls_sg = tuple( BaseFormLabel.objects.filter( symbol__in=['sg:dat', 'sg:gen', 'sg:inst']).values_list('pk', - flat=True)) + flat=True)) sure_bfls_pl = tuple( BaseFormLabel.objects.filter( symbol__in=['pl:dat', 'pl:inst', 'pl:loc']).values_list('pk', - flat=True)) + flat=True)) def basic_form_endings(lexical_class, basic_form, form_set, **extra): @@ -348,7 +348,7 @@ def basic_form_endings(lexical_class, basic_form, form_set, **extra): "(select id from zakonczenia where w_id = wzory.id " "and zak not in %s and efobaz in %s))"], params=[ending_strings, sure_bfls_sg, ending_strings, - sure_bfls_pl]) + sure_bfls_pl]) new_endings = new_endings | endings_part.filter( pattern__in=patterns) return new_endings @@ -422,10 +422,10 @@ def find_patterns(lexical_class, forms, **extra): matching_patterns = set() base_forms_changed = False for basic_ending in basic_form_endings(lexical_class, basic_form, form_set, - **extra): + **extra): pattern = basic_ending.pattern if lexical_class.symbol == 'subst' and bad_pattern_subst(pattern, - **extra): + **extra): #print 'odpadł:', pattern continue # olewamy komentarze że formy odrzucone przez charfle? root = basic_form[:len(basic_form) - len(basic_ending.string)] @@ -447,12 +447,12 @@ def find_patterns(lexical_class, forms, **extra): if form == root + ending.string + end: this_tag = tag break - # ech... uwielbiam zgadywać błędy + # ech... uwielbiam zgadywać błędy if (bfl in ( - '4', '5', "6'", '10', '11', '11pg', - '12') and - (this_tag == ('verb', 'irreg') or - this_tag[1] == 'ger')): + '4', '5', "6'", '10', '11', '11pg', + '12') and + (this_tag == ('verb', 'irreg') or + this_tag[1] == 'ger')): extra_base_forms.append( (root + ending.string, label)) break @@ -551,7 +551,7 @@ def check_sgjp_v(entry, ic, patterns, base_forms, derived): derived_part = derived_part if derived_part: sgjp_derived[pos] = [der.to_lexeme for der in - derived_part] + derived_part] if derived == set(sgjp_derived): return lexeme, sgjp_derived return False, None @@ -589,10 +589,10 @@ def check_sgjp(lc_sym, entry, form_set, forms, **extra): if lc_sym == 'subst': if lexeme.lexemeinflectionpattern_set.filter( inflection_characteristic__symbol__in=( - 'm1', 'p1')).exists(): + 'm1', 'p1')).exists(): # depr exceptions = lexeme.all_forms(affixes=False, - label_filter=r'^pl:nom$') + label_filter=r'^pl:nom$') elif lc_sym == 'adj': # -o exceptions = lexeme.all_forms(affixes=False, label_filter=r'^0$') @@ -619,7 +619,7 @@ def get_negation(lc_sym, lexeme): for n in negations: if n.entry == u'nie' + lexeme.entry: if all(lip.inflection_characteristic.symbol == '0-' - for lip in n.lexemeinflectionpattern_set.all()): + for lip in n.lexemeinflectionpattern_set.all()): good_negation = n return good_negation @@ -661,7 +661,7 @@ def closest_lexeme_subst(entry, gender, patterns, included=None): break else: good_lexemes.append(lexeme) - # najdłuższe wspólne zakończenie + # najdłuższe wspólne zakończenie best = (-1, None) for lexeme in good_lexemes: common_suffix = 0 @@ -749,7 +749,7 @@ def get_inflection_characteristic(lc_sym, forms, patterns, **extra): def blacklist_filter(patterns): return [(pattern, root) for (pattern, root) in patterns - if pattern.name not in blacklist] + if pattern.name not in blacklist] def filter_patterns(filter, action_name, type, patterns, included, including, @@ -775,12 +775,12 @@ def filter_patterns(filter, action_name, type, patterns, included, including, elif type == 'none': including_dict = dict(including) including = [(key, including_dict[key]) for key in - filter(including_dict)] + filter(including_dict)] else: # type == 'match' patterns = filter(patterns) including_dict = dict(including) including = [(key, including_dict[key]) for key in - filter(including_dict)] + filter(including_dict)] included = filter(included) if old_patterns and not patterns: ending_sets = {} @@ -904,7 +904,7 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, base_form_label__symbol='pl:nom') other_strings = other_endings.values_list('string', flat=True) nmo_strings = [e.string for e in nmo_endings if - e.string not in other_strings] + e.string not in other_strings] nmo_forms = set(root + s for s in nmo_strings) if nmo_forms & set(form[0] for form in forms): comments.append( @@ -917,7 +917,7 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, else: included_patterns = [pattern for pattern, root in included] l = closest_lexeme_subst(entry, gender, fitting, - included_patterns) + included_patterns) if l: copy_lips = l.lexemeinflectionpattern_set.all() #print l @@ -928,8 +928,8 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, else: p = join_many(fitting) debug(entry, - u'nie ma pasujących leksemów dla rozszerzenia sgtant ' - u'dla wzorów %s' % p) + u'nie ma pasujących leksemów dla rozszerzenia sgtant ' + u'dla wzorów %s' % p) comments.append(u'Nie udało się rozszerzyć singulare tantum') #status = 'cand' # dodać kwalifikator [po imporcie jednak] @@ -972,7 +972,7 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, elif type2 == 'many': comments.append( u'Pasujące zestawy wzorów: %s' % join_many(patterns2)) - # hm? + # hm? if ic is None and type != 'none': comments.append(u'Dopasowane wzory: %s' % join(patterns)) # zbieramy wzory do porównania [fuj, copypasta!] @@ -990,7 +990,7 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, for p, diff_forms in diff.iteritems(): comments.append( '%s: %s' % ( - p.name, ', '.join('%s: %s' % pair for pair in diff_forms))) + p.name, ', '.join('%s: %s' % pair for pair in diff_forms))) if other_result and len(patterns2) > 1: if type2 != 'many': other_patterns = set(patterns2) @@ -1003,7 +1003,7 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, for p, diff_forms in diff.iteritems(): comments.append( '%s: %s' % ( - p.name, ', '.join('%s: %s' % pair for pair in diff_forms))) + p.name, ', '.join('%s: %s' % pair for pair in diff_forms))) comment = '\n'.join(comments) output = { 'lexeme': create_lexeme(entry, part_of_speech, status, comment) @@ -1019,7 +1019,7 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, ic = lip.inflection_characteristic.symbol lips.append( create_lip(lip.pattern, None, lip.index, ic, - part_of_speech)) + part_of_speech)) output['lips'] = lips if lc_sym == 'adj' and negated: output['negated'] = True @@ -1149,7 +1149,7 @@ def process_forms(lexical_class, forms, **extra): if lexical_class.symbol == 'subst': extra['ic'] = ic ic = get_inflection_characteristic(lc_sym, forms, all_patterns, - **extra) + **extra) if lexical_class.symbol == 'subst': del extra['ic'] else: @@ -1250,7 +1250,7 @@ def process_ndm(forms): debug(entry, u'nierozpoznane nieodmienne z dwiema formami') comments.append(u'nierozpoznane nieodmienne z dwiema formami') status = 'cand' - # sprawdzić czy to co wyszło jest już w sgjp + # sprawdzić czy to co wyszło jest już w sgjp lexemes = Lexeme.objects.distinct().filter(entry=entry) lexemes = lexemes.filter(pk__in=sgjp) if pos == 'adv': diff --git a/dictionary/management/commands/import_resztki.py b/dictionary/management/commands/import_resztki.py index eff95d4..9917c17 100644 --- a/dictionary/management/commands/import_resztki.py +++ b/dictionary/management/commands/import_resztki.py @@ -6,7 +6,7 @@ from django.core.management.base import BaseCommand from common.util import suffixes, cut_end, debug, GroupDict from dictionary.models import Pattern, Lexeme, InflectionCharacteristic, \ - Ending, LexicalClass, BaseFormLabel, Vocabulary + Ending, LexicalClass, BaseFormLabel from dictionary.pattern_blacklist import blacklist from dictionary.management.commands.import_morfologik import join, join_many, \ relevant_subst, relevant_adj, find_minimal_sets @@ -33,9 +33,9 @@ def get_basic_endings(parts_of_speech, genders=None): if genders: ics = ics.filter(symbol__in=genders) basic_form_labels = ics.values_list('basic_form_label', - flat=True).distinct() + flat=True).distinct() return Ending.objects.filter(base_form_label__pk__in=basic_form_labels, - pattern__type__lexical_class=lexical_class) + pattern__type__lexical_class=lexical_class) def expand_gender(gender): @@ -63,13 +63,13 @@ def tantum_a_posteriori(form_set, patterns): for pattern, root in patterns: tantum_forms = { 'sg': set(root + e for e in - pattern.endings.filter( - base_form_label__symbol__startswith='sg') - .values_list('string', flat=True)), + pattern.endings.filter( + base_form_label__symbol__startswith='sg') + .values_list('string', flat=True)), 'pl': set(root + e for e in - pattern.endings.filter( - base_form_label__symbol__startswith='pl') - .values_list('string', flat=True)), + pattern.endings.filter( + base_form_label__symbol__startswith='pl') + .values_list('string', flat=True)), } for num in ('sg', 'pl'): if form_set.issubset(tantum_forms[num]): @@ -101,11 +101,11 @@ def powerset(iterable): sure_bfls_sg = tuple( BaseFormLabel.objects.filter( symbol__in=['sg:dat', 'sg:gen', 'sg:inst']).values_list('pk', - flat=True)) + flat=True)) sure_bfls_pl = tuple( BaseFormLabel.objects.filter( symbol__in=['pl:dat', 'pl:inst', 'pl:loc']).values_list('pk', - flat=True)) + flat=True)) def basic_form_endings(lexical_class, basic_form, form_set, **extra): @@ -134,7 +134,7 @@ def basic_form_endings(lexical_class, basic_form, form_set, **extra): "(select id from zakonczenia where w_id = wzory.id " "and zak not in %s and efobaz in %s))"], params=[ending_strings, sure_bfls_sg, ending_strings, - sure_bfls_pl]) + sure_bfls_pl]) new_endings = new_endings | endings_part.filter( pattern__in=patterns) return new_endings @@ -211,7 +211,7 @@ def find_patterns(lexical_class, basic_form, forms, **extra): lexical_class, basic_form, form_set, **extra): pattern = basic_ending.pattern if lexical_class.symbol == 'subst' and bad_pattern_subst(pattern, - **extra): + **extra): #print 'odpadł:', pattern continue # olewamy komentarze że formy odrzucone przez charfle? root = basic_form[:len(basic_form) - len(basic_ending.string)] @@ -318,10 +318,10 @@ def check_sgjp(lc_sym, entry, form_set, **extra): if lc_sym == 'subst': if lexeme.lexemeinflectionpattern_set.filter( inflection_characteristic__symbol__in=( - 'm1', 'p1')).exists(): + 'm1', 'p1')).exists(): # depr exceptions = lexeme.all_forms(affixes=False, - label_filter=r'^pl:nom$') + label_filter=r'^pl:nom$') elif lc_sym == 'adj': # -o exceptions = lexeme.all_forms(affixes=False, label_filter=r'^0$') @@ -377,7 +377,7 @@ def closest_lexeme_subst(entry, gender, patterns, included=None): break else: good_lexemes.append(lexeme) - # najdłuższe wspólne zakończenie + # najdłuższe wspólne zakończenie best = (-1, None) for lexeme in good_lexemes: common_suffix = 0 @@ -393,7 +393,7 @@ def closest_lexeme_subst(entry, gender, patterns, included=None): def blacklist_filter(patterns): return [(pattern, root) for (pattern, root) in patterns - if pattern.name not in blacklist] + if pattern.name not in blacklist] def filter_patterns(filter, action_name, type, patterns, included, including, @@ -419,12 +419,12 @@ def filter_patterns(filter, action_name, type, patterns, included, including, elif type == 'none': including_dict = dict(including) including = [(key, including_dict[key]) for key in - filter(including_dict)] + filter(including_dict)] else: # type == 'match' patterns = filter(patterns) including_dict = dict(including) including = [(key, including_dict[key]) for key in - filter(including_dict)] + filter(including_dict)] included = filter(included) if old_patterns and not patterns: ending_sets = {} @@ -548,7 +548,7 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, base_form_label__symbol='pl:nom') other_strings = other_endings.values_list('string', flat=True) nmo_strings = [e.string for e in nmo_endings if - e.string not in other_strings] + e.string not in other_strings] nmo_forms = set(root + s for s in nmo_strings) if nmo_forms & set(forms): comments.append( @@ -561,7 +561,7 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, else: included_patterns = [pattern for pattern, root in included] l = closest_lexeme_subst(entry, gender, fitting, - included_patterns) + included_patterns) if l: copy_lips = l.lexemeinflectionpattern_set.all() #print l @@ -572,8 +572,8 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, else: p = join_many(fitting) debug(entry, - u'nie ma pasujących leksemów dla rozszerzenia sgtant ' - u'dla wzorów %s' % p) + u'nie ma pasujących leksemów dla rozszerzenia sgtant ' + u'dla wzorów %s' % p) comments.append(u'Nie udało się rozszerzyć singulare tantum') #status = 'cand' # dodać kwalifikator [po imporcie jednak] @@ -634,7 +634,7 @@ def lexeme_creation(lc_sym, entry, ic, forms, type, patterns, fitting, ic = lip.inflection_characteristic.symbol lips.append( create_lip(lip.pattern, None, lip.index, ic, - part_of_speech)) + part_of_speech)) output['lips'] = lips if lc_sym == 'adj' and negated: output['negated'] = True diff --git a/dictionary/management/commands/import_sejfek.py b/dictionary/management/commands/import_sejfek.py index cc08fba..a46e04b 100644 --- a/dictionary/management/commands/import_sejfek.py +++ b/dictionary/management/commands/import_sejfek.py @@ -57,11 +57,11 @@ for pos in ('adj', 'subst'): sure_bfls_sg = tuple( BaseFormLabel.objects.filter( symbol__in=['sg:dat', 'sg:gen', 'sg:inst']).values_list('pk', - flat=True)) + flat=True)) sure_bfls_pl = tuple( BaseFormLabel.objects.filter( symbol__in=['pl:dat', 'pl:inst', 'pl:loc']).values_list('pk', - flat=True)) + flat=True)) def basic_form_endings(lexical_class, ic, basic_form, form_set): @@ -86,7 +86,7 @@ def basic_form_endings(lexical_class, ic, basic_form, form_set): "(select id from zakonczenia where w_id = wzory.id " "and zak not in %s and efobaz in %s))"], params=[ending_strings, sure_bfls_sg, ending_strings, - sure_bfls_pl]) + sure_bfls_pl]) new_endings = new_endings | endings_part.filter( pattern__in=patterns) return new_endings @@ -265,7 +265,7 @@ def filter_patterns(filter, action_name, type, patterns, included, including, ending_sets = {} for pattern, root in included: ending_sets[pattern] = good_ending_set(lexical_class, ic, - pattern, root) + pattern, root) type, patterns = find_many_patterns( lexical_class, ic, form_set, entry, included, ending_sets) if type != 'many': @@ -277,18 +277,18 @@ def filter_patterns(filter, action_name, type, patterns, included, including, elif type == 'none': including_dict = dict(including) including = [(key, including_dict[key]) for key in - filter(including_dict)] + filter(including_dict)] else: # type == 'match' patterns = filter(patterns) including_dict = dict(including) including = [(key, including_dict[key]) for key in - filter(including_dict)] + filter(including_dict)] included = filter(included) if old_patterns and not patterns: ending_sets = {} for pattern, root in included: ending_sets[pattern] = good_ending_set(lexical_class, ic, - pattern, root) + pattern, root) type, patterns = find_many_patterns( lexical_class, ic, form_set, entry, included, ending_sets) if type == 'none': diff --git a/dictionary/management/commands/import_variant.py b/dictionary/management/commands/import_variant.py index 6fca445..42ee7f2 100644 --- a/dictionary/management/commands/import_variant.py +++ b/dictionary/management/commands/import_variant.py @@ -20,7 +20,7 @@ def import_variant(variant, input_file): line = line.strip().decode('utf-8') data = line.split('\t') _variant, pos, p_type, ic, row, col, rspan, cspan, bfl, tag, pref, suf, \ - index = data + index = data assert variant == _variant # trochę copypasta lc = PartOfSpeech.objects.get(symbol=pos).lexical_class @@ -28,7 +28,7 @@ def import_variant(variant, input_file): tt_data = { 'variant': v, 'pattern_type': PatternType.objects.get(symbol=p_type, - lexical_class=lc), + lexical_class=lc), 'inflection_characteristic': InflectionCharacteristic.objects.get( symbol=ic, part_of_speech__symbol=pos), } diff --git a/dictionary/management/commands/import_warszawa.py b/dictionary/management/commands/import_warszawa.py index b1e4e35..34813e1 100644 --- a/dictionary/management/commands/import_warszawa.py +++ b/dictionary/management/commands/import_warszawa.py @@ -28,8 +28,8 @@ def inflection_characteristic(forms, pos): ic = '' else: ic = '0-' - #return InflectionCharacteristic.objects.get( - # symbol=ic, part_of_speech__symbol=pos) + #return InflectionCharacteristic.objects.get( + # symbol=ic, part_of_speech__symbol=pos) return ic diff --git a/dictionary/management/commands/load_import.py b/dictionary/management/commands/load_import.py index 536bbac..0507184 100644 --- a/dictionary/management/commands/load_import.py +++ b/dictionary/management/commands/load_import.py @@ -60,8 +60,8 @@ def add_cr(l_from, l_to, symbol): def create_lexeme(entry, part_of_speech, status, comment, commonness=None): global next_id l = Lexeme(id=next_id, entry=entry, part_of_speech=part_of_speech, - source=source, status=status, comment=comment, - owner_vocabulary=vocab) + source=source, status=status, comment=comment, + owner_vocabulary=vocab) l.fix_homonym_number() l.save() if commonness: @@ -81,8 +81,8 @@ def create_negated(l): else: ic = lip.inflection_characteristic LexemeInflectionPattern(lexeme=lneg, index=lip.index, - pattern=lip.pattern, root=u"nie" + lip.root, - inflection_characteristic=ic).save() + pattern=lip.pattern, root=u"nie" + lip.root, + inflection_characteristic=ic).save() add_cr(l, lneg, "adjnie") add_cr(lneg, l, "nieadj") @@ -121,9 +121,9 @@ def create_derived(l, pos, entry, patterns): if lip.pattern.name in patterns: ic = lip.inflection_characteristic.symbol.lstrip("q") LexemeInflectionPattern(lexeme=lder, index=lip.index, - pattern=lip.pattern, root=lip.root, - inflection_characteristic=ic_table[ - (ic, pos)]).save() + pattern=lip.pattern, root=lip.root, + inflection_characteristic=ic_table[ + (ic, pos)]).save() add_cr(l, lder, "ver" + pos) add_cr(lder, l, pos + "ver") @@ -145,9 +145,9 @@ def load_morfologik(filename, vocab_name, source_): elif data['lexeme']['source'] == 'morfologik': l_data = data['lexeme'] l = create_lexeme(l_data['entry'], - pos_table[l_data['part_of_speech']], - l_data['status'], l_data['comment'], - l_data.get('commonness')) + pos_table[l_data['part_of_speech']], + l_data['status'], l_data['comment'], + l_data.get('commonness')) for lip_data in data['lips']: pattern = pattern_table[lip_data['pattern']] ic = ic_table[tuple(lip_data['ic'])] @@ -156,8 +156,8 @@ def load_morfologik(filename, vocab_name, source_): elif lip_data['root']['type'] == 'compute': root = l.get_root(pattern, ic) LexemeInflectionPattern(lexeme=l, index=lip_data['ind'], - pattern=pattern, root=root, - inflection_characteristic=ic).save() + pattern=pattern, root=root, + inflection_characteristic=ic).save() if 'derived' in data: for pos, entry, patterns in data['derived']: create_derived(l, pos, entry, patterns) diff --git a/dictionary/management/commands/uncertain_ppas.py b/dictionary/management/commands/uncertain_ppas.py index 84a6e59..edc9dce 100644 --- a/dictionary/management/commands/uncertain_ppas.py +++ b/dictionary/management/commands/uncertain_ppas.py @@ -39,6 +39,6 @@ def list_verbs(): m_der = get_derived(lexeme) s_der = get_derived(hom) if (m_der.issuperset(s_der) and m_der - s_der == {'ppas'} - or s_der.issuperset(m_der) and s_der - m_der == {'ppas'}): + or s_der.issuperset(m_der) and s_der - m_der == {'ppas'}): print lexeme.entry.encode('utf-8'), print lexeme.pk, hom.pk, 'morf' if 'ppas' in m_der else 'sgjp' diff --git a/dictionary/migrations/0001_initial.py b/dictionary/migrations/0001_initial.py index 42b936d..a859abb 100644 --- a/dictionary/migrations/0001_initial.py +++ b/dictionary/migrations/0001_initial.py @@ -6,23 +6,37 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding model 'QualifierExclusionClass' db.create_table('klasy_wykluczania', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=64, db_column='nazwa')), - ('vocabulary', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Vocabulary'], db_column='slownik')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(unique=True, + max_length=64, db_column='nazwa')), + ('vocabulary', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Vocabulary'], db_column='slownik')), )) db.send_create_signal('dictionary', ['QualifierExclusionClass']) # Adding model 'Qualifier' db.create_table('kwalifikatory', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('label', self.gf('django.db.models.fields.CharField')(max_length=64, db_column='kwal')), - ('vocabulary', self.gf('django.db.models.fields.related.ForeignKey')(related_name='qualifiers', db_column='slownik', to=orm['dictionary.Vocabulary'])), - ('exclusion_class', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.QualifierExclusionClass'], null=True, db_column='klasa', blank=True)), - ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, db_column='usuniety')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('label', + self.gf('django.db.models.fields.CharField')(max_length=64, + db_column='kwal')), + ('vocabulary', + self.gf('django.db.models.fields.related.ForeignKey')( + related_name='qualifiers', db_column='slownik', + to=orm['dictionary.Vocabulary'])), + ('exclusion_class', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.QualifierExclusionClass'], null=True, + db_column='klasa', blank=True)), + ('deleted', + self.gf('django.db.models.fields.BooleanField')(default=False, + db_column='usuniety')), )) db.send_create_signal('dictionary', ['Qualifier']) @@ -31,55 +45,87 @@ class Migration(SchemaMigration): # Adding model 'Classification' db.create_table('klasyfikacje', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=64, db_column='nazwa')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(unique=True, + max_length=64, db_column='nazwa')), )) db.send_create_signal('dictionary', ['Classification']) # Adding model 'ClassificationValue' db.create_table('wartosci_klasyfikacji', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('label', self.gf('django.db.models.fields.CharField')(unique=True, max_length=64, db_column='nazwa')), - ('classification', self.gf('django.db.models.fields.related.ForeignKey')(related_name='values', db_column='klas_id', to=orm['dictionary.Classification'])), - ('parent_node', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='child_nodes', null=True, db_column='rodzic', to=orm['dictionary.ClassificationValue'])), - ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, db_column='usunieta')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('label', self.gf('django.db.models.fields.CharField')(unique=True, + max_length=64, db_column='nazwa')), + ('classification', + self.gf('django.db.models.fields.related.ForeignKey')( + related_name='values', db_column='klas_id', + to=orm['dictionary.Classification'])), + ('parent_node', + self.gf('django.db.models.fields.related.ForeignKey')(blank=True, + related_name='child_nodes', null=True, db_column='rodzic', + to=orm['dictionary.ClassificationValue'])), + ('deleted', + self.gf('django.db.models.fields.BooleanField')(default=False, + db_column='usunieta')), )) db.send_create_signal('dictionary', ['ClassificationValue']) # Adding M2M table for field lexemes on 'ClassificationValue' db.create_table('wartosci_klasyfikacji_lexemes', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('classificationvalue', models.ForeignKey(orm['dictionary.classificationvalue'], null=False)), + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('classificationvalue', + models.ForeignKey(orm['dictionary.classificationvalue'], + null=False)), ('lexeme', models.ForeignKey(orm['dictionary.lexeme'], null=False)) )) - db.create_unique('wartosci_klasyfikacji_lexemes', ['classificationvalue_id', 'lexeme_id']) + db.create_unique('wartosci_klasyfikacji_lexemes', + ['classificationvalue_id', 'lexeme_id']) # Adding model 'LexicalClass' db.create_table('czescimowy', ( - ('symbol', self.gf('django.db.models.fields.CharField')(max_length=16, primary_key=True, db_column='czm')), + ('symbol', + self.gf('django.db.models.fields.CharField')(max_length=16, + primary_key=True, db_column='czm')), )) db.send_create_signal('dictionary', ['LexicalClass']) # Adding model 'PartOfSpeech' db.create_table('klasygramatyczne', ( - ('symbol', self.gf('django.db.models.fields.CharField')(max_length=16, primary_key=True, db_column='pos')), - ('lexical_class', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.LexicalClass'], db_column='czm')), + ('symbol', + self.gf('django.db.models.fields.CharField')(max_length=16, + primary_key=True, db_column='pos')), + ('lexical_class', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.LexicalClass'], db_column='czm')), )) db.send_create_signal('dictionary', ['PartOfSpeech']) # Adding model 'BaseFormLabel' db.create_table('efobazy', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('entry', self.gf('django.db.models.fields.CharField')(max_length=32, db_column='efobaz', blank=True)), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('entry', + self.gf('django.db.models.fields.CharField')(max_length=32, + db_column='efobaz', blank=True)), )) db.send_create_signal('dictionary', ['BaseFormLabel']) # Adding model 'InflectionCharacteristic' db.create_table('charfle', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('entry', self.gf('django.db.models.fields.CharField')(max_length=16, db_column='charfl', blank=True)), - ('part_of_speech', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.PartOfSpeech'], db_column='pos')), - ('basic_form_label', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.BaseFormLabel'], db_column='efobaz')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('entry', + self.gf('django.db.models.fields.CharField')(max_length=16, + db_column='charfl', blank=True)), + ('part_of_speech', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.PartOfSpeech'], db_column='pos')), + ('basic_form_label', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.BaseFormLabel'], db_column='efobaz')), )) db.send_create_signal('dictionary', ['InflectionCharacteristic']) @@ -88,31 +134,54 @@ class Migration(SchemaMigration): # Adding model 'PatternType' db.create_table('typywzorow', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('lexical_class', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.LexicalClass'], db_column='czm')), - ('entry', self.gf('django.db.models.fields.CharField')(max_length=32, db_column='wtyp', blank=True)), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('lexical_class', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.LexicalClass'], db_column='czm')), + ('entry', + self.gf('django.db.models.fields.CharField')(max_length=32, + db_column='wtyp', blank=True)), )) db.send_create_signal('dictionary', ['PatternType']) # Adding model 'Pattern' db.create_table('wzory', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=32, db_column='w_id')), - ('type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.PatternType'], db_column='typ')), - ('example', self.gf('django.db.models.fields.CharField')(max_length=64, db_column='przyklad')), - ('basic_form_ending', self.gf('django.db.models.fields.CharField')(max_length=32, db_column='zakp', blank=True)), - ('status', self.gf('django.db.models.fields.CharField')(max_length=8)), - ('comment', self.gf('django.db.models.fields.TextField')(db_column='komentarz', blank=True)), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(unique=True, + max_length=32, db_column='w_id')), + ('type', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.PatternType'], db_column='typ')), + ('example', + self.gf('django.db.models.fields.CharField')(max_length=64, + db_column='przyklad')), + ('basic_form_ending', + self.gf('django.db.models.fields.CharField')(max_length=32, + db_column='zakp', blank=True)), + ('status', + self.gf('django.db.models.fields.CharField')(max_length=8)), + ('comment', + self.gf('django.db.models.fields.TextField')(db_column='komentarz', + blank=True)), )) db.send_create_signal('dictionary', ['Pattern']) # Adding model 'Ending' db.create_table('zakonczenia', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('pattern', self.gf('django.db.models.fields.related.ForeignKey')(related_name='endings', db_column='w_id', to=orm['dictionary.Pattern'])), - ('base_form_label', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.BaseFormLabel'], db_column='efobaz')), - ('index', self.gf('django.db.models.fields.IntegerField')(db_column='zind')), - ('string', self.gf('django.db.models.fields.CharField')(max_length=16, db_column='zak', blank=True)), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('pattern', self.gf('django.db.models.fields.related.ForeignKey')( + related_name='endings', db_column='w_id', + to=orm['dictionary.Pattern'])), + ('base_form_label', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.BaseFormLabel'], db_column='efobaz')), + ('index', + self.gf('django.db.models.fields.IntegerField')(db_column='zind')), + ('string', + self.gf('django.db.models.fields.CharField')(max_length=16, + db_column='zak', blank=True)), )) db.send_create_signal('dictionary', ['Ending']) @@ -121,46 +190,86 @@ class Migration(SchemaMigration): # Adding M2M table for field qualifiers on 'Ending' db.create_table('kwalifikatory_zakonczen', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), ('ending', models.ForeignKey(orm['dictionary.ending'], null=False)), - ('qualifier', models.ForeignKey(orm['dictionary.qualifier'], null=False)) + ('qualifier', + models.ForeignKey(orm['dictionary.qualifier'], null=False)) )) - db.create_unique('kwalifikatory_zakonczen', ['ending_id', 'qualifier_id']) + db.create_unique('kwalifikatory_zakonczen', + ['ending_id', 'qualifier_id']) # Adding model 'Lexeme' db.create_table('leksemy', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('entry', self.gf('django.db.models.fields.CharField')(db_index=True, max_length=64, db_column='haslo', blank=True)), - ('entry_suffix', self.gf('django.db.models.fields.CharField')(max_length=16, db_column='haslosuf', blank=True)), - ('gloss', self.gf('django.db.models.fields.TextField')(db_column='glosa', blank=True)), - ('homonym_number', self.gf('django.db.models.fields.IntegerField')(db_column='hom')), - ('part_of_speech', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.PartOfSpeech'], db_column='pos')), - ('owner_vocabulary', self.gf('django.db.models.fields.related.ForeignKey')(related_name='owned_lexemes', db_column='slownik', to=orm['dictionary.Vocabulary'])), - ('source', self.gf('django.db.models.fields.CharField')(max_length=32, db_column='zrodlo', blank=True)), - ('status', self.gf('django.db.models.fields.CharField')(max_length=8, db_column='status')), - ('comment', self.gf('django.db.models.fields.TextField')(db_column='komentarz', blank=True)), - ('last_modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, db_column='data_modyfikacji', blank=True)), - ('responsible', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True, db_column='odpowiedzialny', blank=True)), - ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, db_column='usuniety')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('entry', + self.gf('django.db.models.fields.CharField')(db_index=True, + max_length=64, db_column='haslo', blank=True)), + ('entry_suffix', + self.gf('django.db.models.fields.CharField')(max_length=16, + db_column='haslosuf', blank=True)), + ('gloss', + self.gf('django.db.models.fields.TextField')(db_column='glosa', + blank=True)), + ('homonym_number', + self.gf('django.db.models.fields.IntegerField')(db_column='hom')), + ('part_of_speech', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.PartOfSpeech'], db_column='pos')), + ('owner_vocabulary', + self.gf('django.db.models.fields.related.ForeignKey')( + related_name='owned_lexemes', db_column='slownik', + to=orm['dictionary.Vocabulary'])), + ('source', + self.gf('django.db.models.fields.CharField')(max_length=32, + db_column='zrodlo', blank=True)), + ('status', + self.gf('django.db.models.fields.CharField')(max_length=8, + db_column='status')), + ('comment', + self.gf('django.db.models.fields.TextField')(db_column='komentarz', + blank=True)), + ('last_modified', + self.gf('django.db.models.fields.DateTimeField')(auto_now=True, + db_column='data_modyfikacji', blank=True)), + ('responsible', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['auth.User'], null=True, db_column='odpowiedzialny', + blank=True)), + ('deleted', + self.gf('django.db.models.fields.BooleanField')(default=False, + db_column='usuniety')), )) db.send_create_signal('dictionary', ['Lexeme']) # Adding M2M table for field qualifiers on 'Lexeme' db.create_table('kwalifikatory_leksemow', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), ('lexeme', models.ForeignKey(orm['dictionary.lexeme'], null=False)), - ('qualifier', models.ForeignKey(orm['dictionary.qualifier'], null=False)) + ('qualifier', + models.ForeignKey(orm['dictionary.qualifier'], null=False)) )) - db.create_unique('kwalifikatory_leksemow', ['lexeme_id', 'qualifier_id']) + db.create_unique('kwalifikatory_leksemow', + ['lexeme_id', 'qualifier_id']) # Adding model 'LexemeInflectionPattern' db.create_table('odmieniasie', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Lexeme'], db_column='l_id')), - ('index', self.gf('django.db.models.fields.IntegerField')(db_column='oind')), - ('pattern', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Pattern'], db_column='w_id')), - ('inflection_characteristic', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.InflectionCharacteristic'], db_column='charfl')), - ('root', self.gf('django.db.models.fields.CharField')(max_length=64, db_column='rdzen')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Lexeme'], db_column='l_id')), + ('index', + self.gf('django.db.models.fields.IntegerField')(db_column='oind')), + ('pattern', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Pattern'], db_column='w_id')), + ('inflection_characteristic', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.InflectionCharacteristic'], + db_column='charfl')), + ('root', self.gf('django.db.models.fields.CharField')(max_length=64, + db_column='rdzen')), )) db.send_create_signal('dictionary', ['LexemeInflectionPattern']) @@ -169,109 +278,168 @@ class Migration(SchemaMigration): # Adding M2M table for field qualifiers on 'LexemeInflectionPattern' db.create_table('kwalifikatory_odmieniasiow', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('lexemeinflectionpattern', models.ForeignKey(orm['dictionary.lexemeinflectionpattern'], null=False)), - ('qualifier', models.ForeignKey(orm['dictionary.qualifier'], null=False)) + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('lexemeinflectionpattern', + models.ForeignKey(orm['dictionary.lexemeinflectionpattern'], + null=False)), + ('qualifier', + models.ForeignKey(orm['dictionary.qualifier'], null=False)) )) - db.create_unique('kwalifikatory_odmieniasiow', ['lexemeinflectionpattern_id', 'qualifier_id']) + db.create_unique('kwalifikatory_odmieniasiow', + ['lexemeinflectionpattern_id', 'qualifier_id']) # Adding model 'Vocabulary' db.create_table('slowniki', ( - ('id', self.gf('django.db.models.fields.CharField')(max_length=64, primary_key=True, db_column='slownik')), + ('id', self.gf('django.db.models.fields.CharField')(max_length=64, + primary_key=True, db_column='slownik')), )) db.send_create_signal('dictionary', ['Vocabulary']) # Adding M2M table for field managers on 'Vocabulary' db.create_table('slowniki_managers', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('vocabulary', models.ForeignKey(orm['dictionary.vocabulary'], null=False)), + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('vocabulary', + models.ForeignKey(orm['dictionary.vocabulary'], null=False)), ('user', models.ForeignKey(orm['auth.user'], null=False)) )) db.create_unique('slowniki_managers', ['vocabulary_id', 'user_id']) # Adding M2M table for field viewers on 'Vocabulary' db.create_table('slowniki_viewers', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('vocabulary', models.ForeignKey(orm['dictionary.vocabulary'], null=False)), + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('vocabulary', + models.ForeignKey(orm['dictionary.vocabulary'], null=False)), ('user', models.ForeignKey(orm['auth.user'], null=False)) )) db.create_unique('slowniki_viewers', ['vocabulary_id', 'user_id']) # Adding M2M table for field editors on 'Vocabulary' db.create_table('slowniki_editors', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('vocabulary', models.ForeignKey(orm['dictionary.vocabulary'], null=False)), + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('vocabulary', + models.ForeignKey(orm['dictionary.vocabulary'], null=False)), ('user', models.ForeignKey(orm['auth.user'], null=False)) )) db.create_unique('slowniki_editors', ['vocabulary_id', 'user_id']) # Adding M2M table for field classifications on 'Vocabulary' db.create_table('slowniki_classifications', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('vocabulary', models.ForeignKey(orm['dictionary.vocabulary'], null=False)), - ('classification', models.ForeignKey(orm['dictionary.classification'], null=False)) + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('vocabulary', + models.ForeignKey(orm['dictionary.vocabulary'], null=False)), + ('classification', + models.ForeignKey(orm['dictionary.classification'], null=False)) )) - db.create_unique('slowniki_classifications', ['vocabulary_id', 'classification_id']) + db.create_unique('slowniki_classifications', + ['vocabulary_id', 'classification_id']) # Adding model 'LexemeAssociation' db.create_table('leksemy_w_slownikach', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Lexeme'], db_column='l_id')), - ('vocabulary', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Vocabulary'], db_column='slownik')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Lexeme'], db_column='l_id')), + ('vocabulary', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Vocabulary'], db_column='slownik')), )) db.send_create_signal('dictionary', ['LexemeAssociation']) # Adding model 'CrossReferenceType' db.create_table('typyodsylaczy', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('symbol', self.gf('django.db.models.fields.CharField')(max_length=10, db_column='typods')), - ('desc', self.gf('django.db.models.fields.CharField')(max_length=40, db_column='naglowek')), - ('index', self.gf('django.db.models.fields.IntegerField')(db_column='kolejnosc')), - ('from_pos', self.gf('django.db.models.fields.related.ForeignKey')(related_name='crtype_to', db_column='pos1', to=orm['dictionary.PartOfSpeech'])), - ('to_pos', self.gf('django.db.models.fields.related.ForeignKey')(related_name='crtype_from', db_column='pos2', to=orm['dictionary.PartOfSpeech'])), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('symbol', + self.gf('django.db.models.fields.CharField')(max_length=10, + db_column='typods')), + ('desc', self.gf('django.db.models.fields.CharField')(max_length=40, + db_column='naglowek')), + ('index', self.gf('django.db.models.fields.IntegerField')( + db_column='kolejnosc')), + ('from_pos', self.gf('django.db.models.fields.related.ForeignKey')( + related_name='crtype_to', db_column='pos1', + to=orm['dictionary.PartOfSpeech'])), + ('to_pos', self.gf('django.db.models.fields.related.ForeignKey')( + related_name='crtype_from', db_column='pos2', + to=orm['dictionary.PartOfSpeech'])), )) db.send_create_signal('dictionary', ['CrossReferenceType']) # Adding model 'CrossReference' db.create_table('odsylacze', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('from_lexeme', self.gf('django.db.models.fields.related.ForeignKey')(related_name='refs_to', db_column='l_id_od', to=orm['dictionary.Lexeme'])), - ('to_lexeme', self.gf('django.db.models.fields.related.ForeignKey')(related_name='refs_from', db_column='l_id_do', to=orm['dictionary.Lexeme'])), - ('type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.CrossReferenceType'], db_column='typods_id')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('from_lexeme', + self.gf('django.db.models.fields.related.ForeignKey')( + related_name='refs_to', db_column='l_id_od', + to=orm['dictionary.Lexeme'])), + ('to_lexeme', self.gf('django.db.models.fields.related.ForeignKey')( + related_name='refs_from', db_column='l_id_do', + to=orm['dictionary.Lexeme'])), + ('type', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.CrossReferenceType'], + db_column='typods_id')), )) db.send_create_signal('dictionary', ['CrossReference']) # Adding model 'Variant' db.create_table('warianty', ( - ('id', self.gf('django.db.models.fields.CharField')(max_length=32, primary_key=True, db_column='wariant')), + ('id', self.gf('django.db.models.fields.CharField')(max_length=32, + primary_key=True, db_column='wariant')), )) db.send_create_signal('dictionary', ['Variant']) # Adding model 'TableTemplate' db.create_table('szablony_tabel', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('variant', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Variant'], db_column='wariant')), - ('pattern_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.PatternType'], db_column='wtyp')), - ('inflection_characteristic', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.InflectionCharacteristic'], db_column='charfl')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('variant', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Variant'], db_column='wariant')), + ('pattern_type', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.PatternType'], db_column='wtyp')), + ('inflection_characteristic', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.InflectionCharacteristic'], + db_column='charfl')), )) db.send_create_signal('dictionary', ['TableTemplate']) # Adding model 'Cell' db.create_table('klatki', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('table_template', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.TableTemplate'], db_column='st_id')), - ('base_form_label', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.BaseFormLabel'], db_column='efobaz')), - ('tag', self.gf('django.db.models.fields.TextField')(db_column='tag', blank=True)), - ('prefix', self.gf('django.db.models.fields.CharField')(max_length=20, db_column='prefiks', blank=True)), - ('suffix', self.gf('django.db.models.fields.CharField')(max_length=20, db_column='sufiks', blank=True)), - ('index', self.gf('django.db.models.fields.IntegerField')(db_column='kind')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('table_template', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.TableTemplate'], db_column='st_id')), + ('base_form_label', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.BaseFormLabel'], db_column='efobaz')), + ('tag', + self.gf('django.db.models.fields.TextField')(db_column='tag', + blank=True)), + ('prefix', + self.gf('django.db.models.fields.CharField')(max_length=20, + db_column='prefiks', blank=True)), + ('suffix', + self.gf('django.db.models.fields.CharField')(max_length=20, + db_column='sufiks', blank=True)), + ('index', + self.gf('django.db.models.fields.IntegerField')(db_column='kind')), )) db.send_create_signal('dictionary', ['Cell']) # Adding model 'TableCell' db.create_table('komorki_tabel', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('cell', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dictionary.Cell'], unique=True, db_column='k_id')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('cell', self.gf('django.db.models.fields.related.OneToOneField')( + to=orm['dictionary.Cell'], unique=True, db_column='k_id')), ('row', self.gf('django.db.models.fields.IntegerField')()), ('col', self.gf('django.db.models.fields.IntegerField')()), ('rowspan', self.gf('django.db.models.fields.IntegerField')()), @@ -281,51 +449,77 @@ class Migration(SchemaMigration): # Adding model 'TableHeader' db.create_table('naglowki_tabel', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('table_template', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.TableTemplate'], db_column='st_id')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('table_template', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.TableTemplate'], db_column='st_id')), ('row', self.gf('django.db.models.fields.IntegerField')()), ('col', self.gf('django.db.models.fields.IntegerField')()), ('rowspan', self.gf('django.db.models.fields.IntegerField')()), ('colspan', self.gf('django.db.models.fields.IntegerField')()), - ('label', self.gf('django.db.models.fields.CharField')(max_length=64, db_column='nagl', blank=True)), - ('row_header', self.gf('django.db.models.fields.BooleanField')(default=False, db_column='wierszowy')), + ('label', + self.gf('django.db.models.fields.CharField')(max_length=64, + db_column='nagl', blank=True)), + ('row_header', + self.gf('django.db.models.fields.BooleanField')(default=False, + db_column='wierszowy')), )) db.send_create_signal('dictionary', ['TableHeader']) # Adding model 'ParadygmatyWSJP' db.create_table('paradygmatywsjp', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('wariant', self.gf('django.db.models.fields.CharField')(max_length=4)), - ('typr', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.PatternType'], db_column='typr')), - ('charfl', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.InflectionCharacteristic'], db_column='charfl')), - ('podparad', self.gf('django.db.models.fields.CharField')(max_length=4, blank=True)), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('wariant', + self.gf('django.db.models.fields.CharField')(max_length=4)), + ('typr', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.PatternType'], db_column='typr')), + ('charfl', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.InflectionCharacteristic'], + db_column='charfl')), + ('podparad', + self.gf('django.db.models.fields.CharField')(max_length=4, + blank=True)), ('row', self.gf('django.db.models.fields.IntegerField')()), ('col', self.gf('django.db.models.fields.IntegerField')()), ('rowspan', self.gf('django.db.models.fields.IntegerField')()), ('colspan', self.gf('django.db.models.fields.IntegerField')()), - ('efobaz', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.BaseFormLabel'], db_column='efobaz')), + ('efobaz', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.BaseFormLabel'], db_column='efobaz')), ('morf', self.gf('django.db.models.fields.TextField')()), - ('pref', self.gf('django.db.models.fields.CharField')(max_length=20, blank=True)), - ('suf', self.gf('django.db.models.fields.CharField')(max_length=20, blank=True)), + ('pref', self.gf('django.db.models.fields.CharField')(max_length=20, + blank=True)), + ('suf', self.gf('django.db.models.fields.CharField')(max_length=20, + blank=True)), ('kskl', self.gf('django.db.models.fields.IntegerField')()), )) db.send_create_signal('dictionary', ['ParadygmatyWSJP']) # Adding model 'LexemeForm' db.create_table('dictionary_lexemeform', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Lexeme'])), - ('form', self.gf('django.db.models.fields.CharField')(max_length=128, db_index=True)), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Lexeme'])), + ('form', + self.gf('django.db.models.fields.CharField')(max_length=128, + db_index=True)), )) db.send_create_signal('dictionary', ['LexemeForm']) # Adding model 'SavedFilter' db.create_table('dictionary_savedfilter', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('serialized_filter', self.gf('django.db.models.fields.TextField')()), - ('name', self.gf('django.db.models.fields.CharField')(max_length=64)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), - ('super', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('serialized_filter', + self.gf('django.db.models.fields.TextField')()), + ('name', + self.gf('django.db.models.fields.CharField')(max_length=64)), + ('user', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['auth.User'])), + ('super', + self.gf('django.db.models.fields.BooleanField')(default=False)), )) db.send_create_signal('dictionary', ['SavedFilter']) @@ -334,43 +528,74 @@ class Migration(SchemaMigration): # Adding model 'SavedExportData' db.create_table('dictionary_savedexportdata', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('serialized_data', self.gf('django.db.models.fields.TextField')()), - ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=64)), + ('name', self.gf('django.db.models.fields.CharField')(unique=True, + max_length=64)), )) db.send_create_signal('dictionary', ['SavedExportData']) # Adding model 'History' db.create_table('history', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('table_name', self.gf('django.db.models.fields.CharField')(max_length=120, db_column='table_name_')), - ('column_name', self.gf('django.db.models.fields.CharField')(max_length=120, db_column='column_name_', blank=True)), - ('timestamp', self.gf('django.db.models.fields.DateTimeField')(db_column='timestamp_')), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], db_column='user_id_')), - ('old_value', self.gf('django.db.models.fields.TextField')(db_column='old_value_', blank=True)), - ('new_value', self.gf('django.db.models.fields.TextField')(db_column='new_value_', blank=True)), - ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Lexeme'], null=True, db_column='lexeme_id_', blank=True)), - ('pattern', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Pattern'], null=True, db_column='pattern_id_', blank=True)), - ('row_id', self.gf('django.db.models.fields.IntegerField')(db_column='id_')), - ('operation', self.gf('django.db.models.fields.CharField')(max_length=120, db_column='operation_')), - ('table_oid', self.gf('django.db.models.fields.IntegerField')(db_column='table_oid_')), - ('column_ord', self.gf('django.db.models.fields.IntegerField')(db_column='ordinal_position_of_column_')), - ('transaction_began', self.gf('django.db.models.fields.DateTimeField')(db_column='transaction_began_')), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('table_name', + self.gf('django.db.models.fields.CharField')(max_length=120, + db_column='table_name_')), + ('column_name', + self.gf('django.db.models.fields.CharField')(max_length=120, + db_column='column_name_', blank=True)), + ('timestamp', self.gf('django.db.models.fields.DateTimeField')( + db_column='timestamp_')), + ('user', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['auth.User'], db_column='user_id_')), + ('old_value', + self.gf('django.db.models.fields.TextField')(db_column='old_value_', + blank=True)), + ('new_value', + self.gf('django.db.models.fields.TextField')(db_column='new_value_', + blank=True)), + ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Lexeme'], null=True, db_column='lexeme_id_', + blank=True)), + ('pattern', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Pattern'], null=True, + db_column='pattern_id_', blank=True)), + ('row_id', + self.gf('django.db.models.fields.IntegerField')(db_column='id_')), + ('operation', + self.gf('django.db.models.fields.CharField')(max_length=120, + db_column='operation_')), + ('table_oid', self.gf('django.db.models.fields.IntegerField')( + db_column='table_oid_')), + ('column_ord', self.gf('django.db.models.fields.IntegerField')( + db_column='ordinal_position_of_column_')), + ('transaction_began', + self.gf('django.db.models.fields.DateTimeField')( + db_column='transaction_began_')), )) db.send_create_signal('dictionary', ['History']) # Adding model 'InputLexeme' db.create_table('dictionary_inputlexeme', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('entry', self.gf('django.db.models.fields.CharField')(max_length=64, db_index=True)), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('entry', + self.gf('django.db.models.fields.CharField')(max_length=64, + db_index=True)), )) db.send_create_signal('dictionary', ['InputLexeme']) # Adding model 'InputForm' db.create_table('dictionary_inputform', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('input_lexeme', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.InputLexeme'])), - ('form', self.gf('django.db.models.fields.CharField')(max_length=64, db_index=True)), + ('id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('input_lexeme', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.InputLexeme'])), + ('form', self.gf('django.db.models.fields.CharField')(max_length=64, + db_index=True)), )) db.send_create_signal('dictionary', ['InputForm']) @@ -506,278 +731,516 @@ class Migration(SchemaMigration): models = { 'auth.group': { 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, 'auth.permission': { - 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "('content_type__app_label', 'content_type__model', 'codename')", + 'unique_together': "(('content_type', 'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['contenttypes.ContentType']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, 'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, 'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, 'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, 'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, 'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, 'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': "orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': "orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': "orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': "orm['dictionary.ClassificationValue']"}) }, 'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': "orm['dictionary.Lexeme']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': "orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': "orm['dictionary.Lexeme']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': "orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, 'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': "orm['dictionary.PartOfSpeech']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': "orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': "orm['dictionary.PartOfSpeech']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': "orm['dictionary.PartOfSpeech']"}) }, 'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': "orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': "orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, 'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']", 'db_column': "'user_id_'"}) }, 'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(['entry', 'part_of_speech'],)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(['entry', 'part_of_speech'],)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, 'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InputLexeme']"}) }, 'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, 'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': "orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Pattern']", 'through': "orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': "orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Pattern']", + 'through': "orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, 'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, 'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']"}) }, 'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, 'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, 'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, 'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, 'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, 'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, 'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(['label', 'vocabulary'],)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': "orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(['label', 'vocabulary'],)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': "orm['dictionary.Vocabulary']"}) }, 'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, 'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, 'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'super': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) + 'super': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']"}) }, 'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': "orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, 'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), - 'row_header': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'wierszowy'"}), + 'row_header': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'wierszowy'"}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, 'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, 'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, 'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': "orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': "orm['dictionary.LexemeAssociation']", 'to': "orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': "orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': "orm['dictionary.LexemeAssociation']", + 'to': "orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}) } } diff --git a/dictionary/migrations/0002_auto__add_field_lexeme_note.py b/dictionary/migrations/0002_auto__add_field_lexeme_note.py index 4252612..98e3345 100644 --- a/dictionary/migrations/0002_auto__add_field_lexeme_note.py +++ b/dictionary/migrations/0002_auto__add_field_lexeme_note.py @@ -6,12 +6,12 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding field 'Lexeme.note' db.add_column('leksemy', 'note', - self.gf('django.db.models.fields.TextField')(default='', db_column='nota', blank=True), - keep_default=False) + self.gf('django.db.models.fields.TextField')(default='', + db_column='nota', blank=True), + keep_default=False) def backwards(self, orm): @@ -22,279 +22,518 @@ class Migration(SchemaMigration): models = { 'auth.group': { 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, 'auth.permission': { - 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "('content_type__app_label', 'content_type__model', 'codename')", + 'unique_together': "(('content_type', 'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['contenttypes.ContentType']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, 'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, 'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, 'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, 'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, 'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, 'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': "orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': "orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': "orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': "orm['dictionary.ClassificationValue']"}) }, 'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': "orm['dictionary.Lexeme']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': "orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': "orm['dictionary.Lexeme']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': "orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, 'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': "orm['dictionary.PartOfSpeech']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': "orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': "orm['dictionary.PartOfSpeech']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': "orm['dictionary.PartOfSpeech']"}) }, 'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': "orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': "orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, 'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']", 'db_column': "'user_id_'"}) }, 'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(['entry', 'part_of_speech'],)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(['entry', 'part_of_speech'],)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, 'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InputLexeme']"}) }, 'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, 'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': "orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Pattern']", 'through': "orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': "orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Pattern']", + 'through': "orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, 'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, 'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']"}) }, 'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, 'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, 'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, 'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, 'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, 'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, 'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(['label', 'vocabulary'],)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': "orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(['label', 'vocabulary'],)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': "orm['dictionary.Vocabulary']"}) }, 'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, 'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, 'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'super': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) + 'super': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']"}) }, 'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': "orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, 'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), - 'row_header': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'wierszowy'"}), + 'row_header': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'wierszowy'"}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, 'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, 'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, 'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': "orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': "orm['dictionary.LexemeAssociation']", 'to': "orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': "orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': "orm['dictionary.LexemeAssociation']", + 'to': "orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}) } } diff --git a/dictionary/migrations/0003_auto__del_field_savedfilter_super.py b/dictionary/migrations/0003_auto__del_field_savedfilter_super.py index d53caa0..400970c 100644 --- a/dictionary/migrations/0003_auto__del_field_savedfilter_super.py +++ b/dictionary/migrations/0003_auto__del_field_savedfilter_super.py @@ -6,7 +6,6 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Deleting field 'SavedFilter.super' db.delete_column('dictionary_savedfilter', 'super') @@ -15,285 +14,523 @@ class Migration(SchemaMigration): def backwards(self, orm): # Adding field 'SavedFilter.super' db.add_column('dictionary_savedfilter', 'super', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) + self.gf('django.db.models.fields.BooleanField')(default=False), + keep_default=False) models = { 'auth.group': { 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, 'auth.permission': { - 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "('content_type__app_label', 'content_type__model', 'codename')", + 'unique_together': "(('content_type', 'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['contenttypes.ContentType']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, 'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, 'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, 'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, 'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, 'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, 'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': "orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': "orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': "orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': "orm['dictionary.ClassificationValue']"}) }, 'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': "orm['dictionary.Lexeme']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': "orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': "orm['dictionary.Lexeme']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': "orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, 'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': "orm['dictionary.PartOfSpeech']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': "orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': "orm['dictionary.PartOfSpeech']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': "orm['dictionary.PartOfSpeech']"}) }, 'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': "orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': "orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, 'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']", 'db_column': "'user_id_'"}) }, 'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(['entry', 'part_of_speech'],)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(['entry', 'part_of_speech'],)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, 'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InputLexeme']"}) }, 'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, 'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': "orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Pattern']", 'through': "orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': "orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Pattern']", + 'through': "orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, 'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, 'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']"}) }, 'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, 'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, 'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, 'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, 'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, 'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, 'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(['label', 'vocabulary'],)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': "orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(['label', 'vocabulary'],)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': "orm['dictionary.Vocabulary']"}) }, 'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, 'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, 'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']"}) }, 'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': "orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, 'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), - 'row_header': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'wierszowy'"}), + 'row_header': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'wierszowy'"}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, 'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, 'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, 'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': "orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': "orm['dictionary.LexemeAssociation']", 'to': "orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': "orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': "orm['dictionary.LexemeAssociation']", + 'to': "orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}) } } diff --git a/dictionary/migrations/0004_auto__add_field_lexeme_pronunciation.py b/dictionary/migrations/0004_auto__add_field_lexeme_pronunciation.py index 48d3594..4d817a4 100644 --- a/dictionary/migrations/0004_auto__add_field_lexeme_pronunciation.py +++ b/dictionary/migrations/0004_auto__add_field_lexeme_pronunciation.py @@ -6,12 +6,12 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding field 'Lexeme.pronunciation' db.add_column('leksemy', 'pronunciation', - self.gf('django.db.models.fields.TextField')(default='', db_column='wymowa', blank=True), - keep_default=False) + self.gf('django.db.models.fields.TextField')(default='', + db_column='wymowa', blank=True), + keep_default=False) def backwards(self, orm): @@ -22,279 +22,518 @@ class Migration(SchemaMigration): models = { 'auth.group': { 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, 'auth.permission': { - 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "('content_type__app_label', 'content_type__model', 'codename')", + 'unique_together': "(('content_type', 'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['contenttypes.ContentType']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, 'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, 'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, 'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, 'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, 'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, 'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': "orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': "orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': "orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': "orm['dictionary.ClassificationValue']"}) }, 'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': "orm['dictionary.Lexeme']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': "orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': "orm['dictionary.Lexeme']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': "orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, 'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': "orm['dictionary.PartOfSpeech']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': "orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': "orm['dictionary.PartOfSpeech']"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': "orm['dictionary.PartOfSpeech']"}) }, 'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': "orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': "orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, 'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']", 'db_column': "'user_id_'"}) }, 'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(['entry', 'part_of_speech'],)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(['entry', 'part_of_speech'],)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, 'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InputLexeme']"}) }, 'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, 'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': "orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Pattern']", 'through': "orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': "orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Pattern']", + 'through': "orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, 'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, 'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']"}) }, 'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, 'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, 'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, 'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, 'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, 'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, 'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(['label', 'vocabulary'],)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': "orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(['label', 'vocabulary'],)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': "orm['dictionary.Vocabulary']"}) }, 'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, 'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, 'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['auth.User']"}) }, 'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': "orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, 'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), - 'row_header': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'wierszowy'"}), + 'row_header': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'wierszowy'"}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, 'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + 'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': "orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, 'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, 'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': "orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': "orm['dictionary.LexemeAssociation']", 'to': "orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': "orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': "orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': "orm['dictionary.LexemeAssociation']", + 'to': "orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': "orm['auth.User']"}) } } diff --git a/dictionary/migrations/0005_auto__add_field_tableheader_css_class.py b/dictionary/migrations/0005_auto__add_field_tableheader_css_class.py index faee0b3..359c359 100644 --- a/dictionary/migrations/0005_auto__add_field_tableheader_css_class.py +++ b/dictionary/migrations/0005_auto__add_field_tableheader_css_class.py @@ -6,12 +6,12 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding field 'TableHeader.css_class' db.add_column('naglowki_tabel', 'css_class', - self.gf('django.db.models.fields.BooleanField')(default=False, db_column='styl'), - keep_default=False) + self.gf('django.db.models.fields.BooleanField')(default=False, + db_column='styl'), + keep_default=False) def backwards(self, orm): @@ -22,280 +22,524 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(['entry', 'part_of_speech'],)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(['entry', 'part_of_speech'],)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(['label', 'vocabulary'],)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(['label', 'vocabulary'],)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), - 'row_header': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'wierszowy'"}), + 'row_header': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'wierszowy'"}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0006_header_class.py b/dictionary/migrations/0006_header_class.py index 911a25b..0e0d10c 100644 --- a/dictionary/migrations/0006_header_class.py +++ b/dictionary/migrations/0006_header_class.py @@ -4,8 +4,8 @@ from south.db import db from south.v2 import DataMigration from django.db import models -class Migration(DataMigration): +class Migration(DataMigration): def forwards(self, orm): for header in orm.TableHeader.objects.all(): header.css_class = 'h' if header.row_header else 'c' @@ -17,280 +17,524 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), - 'row_header': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'wierszowy'"}), + 'row_header': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'wierszowy'"}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0007_auto__chg_field_tableheader_css_class.py b/dictionary/migrations/0007_auto__chg_field_tableheader_css_class.py index 2b48524..1bf2919 100644 --- a/dictionary/migrations/0007_auto__chg_field_tableheader_css_class.py +++ b/dictionary/migrations/0007_auto__chg_field_tableheader_css_class.py @@ -6,294 +6,538 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): - # Changing field 'TableHeader.css_class' - db.alter_column('naglowki_tabel', 'styl', self.gf('django.db.models.fields.CharField')(max_length=8, db_column='styl')) + db.alter_column('naglowki_tabel', 'styl', + self.gf('django.db.models.fields.CharField')(max_length=8, + db_column='styl')) def backwards(self, orm): - # Changing field 'TableHeader.css_class' - db.alter_column('naglowki_tabel', 'styl', self.gf('django.db.models.fields.BooleanField')(db_column='styl')) + db.alter_column('naglowki_tabel', 'styl', + self.gf('django.db.models.fields.BooleanField')(db_column='styl')) models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), - 'row_header': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'wierszowy'"}), + 'row_header': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'wierszowy'"}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0008_header_class.py b/dictionary/migrations/0008_header_class.py index cabb841..eef6344 100644 --- a/dictionary/migrations/0008_header_class.py +++ b/dictionary/migrations/0008_header_class.py @@ -4,8 +4,8 @@ from south.db import db from south.v2 import DataMigration from django.db import models -class Migration(DataMigration): +class Migration(DataMigration): def forwards(self, orm): for header in orm.TableHeader.objects.all(): header.css_class = 'h' if header.row_header else 'c' @@ -19,280 +19,524 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), - 'row_header': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'wierszowy'"}), + 'row_header': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'wierszowy'"}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0009_rename_header_classes.py b/dictionary/migrations/0009_rename_header_classes.py index 0c1dafd..14fc8d0 100644 --- a/dictionary/migrations/0009_rename_header_classes.py +++ b/dictionary/migrations/0009_rename_header_classes.py @@ -11,8 +11,8 @@ RENAME = { 'd': 'data', } -class Migration(DataMigration): +class Migration(DataMigration): def forwards(self, orm): for header in orm.TableHeader.objects.all(): header.css_class = RENAME[header.css_class] @@ -27,280 +27,524 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), - 'row_header': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'wierszowy'"}), + 'row_header': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'wierszowy'"}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0010_auto__del_field_tableheader_row_header.py b/dictionary/migrations/0010_auto__del_field_tableheader_row_header.py index 9bf9f30..e418e5e 100644 --- a/dictionary/migrations/0010_auto__del_field_tableheader_row_header.py +++ b/dictionary/migrations/0010_auto__del_field_tableheader_row_header.py @@ -6,7 +6,6 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Deleting field 'TableHeader.row_header' db.delete_column('naglowki_tabel', 'wierszowy') @@ -15,286 +14,530 @@ class Migration(SchemaMigration): def backwards(self, orm): # Adding field 'TableHeader.row_header' db.add_column('naglowki_tabel', 'row_header', - self.gf('django.db.models.fields.BooleanField')(default=False, db_column='wierszowy'), - keep_default=False) + self.gf('django.db.models.fields.BooleanField')(default=False, + db_column='wierszowy'), + keep_default=False) models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0011_auto__add_lexemeattribute__add_lexemeattributevalue.py b/dictionary/migrations/0011_auto__add_lexemeattribute__add_lexemeattributevalue.py index 147a250..f1a1aa2 100644 --- a/dictionary/migrations/0011_auto__add_lexemeattribute__add_lexemeattributevalue.py +++ b/dictionary/migrations/0011_auto__add_lexemeattribute__add_lexemeattributevalue.py @@ -6,34 +6,50 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding model 'LexemeAttribute' db.create_table(u'dictionary_lexemeattribute', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=32)), - ('closed', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('lexical_class', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.LexicalClass'], null=True, blank=True)), - ('part_of_speech', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.PartOfSpeech'], null=True, blank=True)), - ('inflection_characteristic', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.InflectionCharacteristic'], null=True, blank=True)), + (u'id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', + self.gf('django.db.models.fields.CharField')(max_length=32)), + ('closed', + self.gf('django.db.models.fields.BooleanField')(default=False)), + ('lexical_class', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.LexicalClass'], null=True, blank=True)), + ('part_of_speech', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.PartOfSpeech'], null=True, blank=True)), + ('inflection_characteristic', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.InflectionCharacteristic'], null=True, + blank=True)), )) db.send_create_signal(u'dictionary', ['LexemeAttribute']) # Adding model 'LexemeAttributeValue' db.create_table(u'dictionary_lexemeattributevalue', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('value', self.gf('django.db.models.fields.CharField')(max_length=32)), - ('attribute', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.LexemeAttribute'])), + (u'id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('value', + self.gf('django.db.models.fields.CharField')(max_length=32)), + ('attribute', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.LexemeAttribute'])), )) db.send_create_signal(u'dictionary', ['LexemeAttributeValue']) # Adding M2M table for field lexemes on 'LexemeAttributeValue' db.create_table(u'dictionary_lexemeattributevalue_lexemes', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('lexemeattributevalue', models.ForeignKey(orm[u'dictionary.lexemeattributevalue'], null=False)), + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('lexemeattributevalue', + models.ForeignKey(orm[u'dictionary.lexemeattributevalue'], + null=False)), ('lexeme', models.ForeignKey(orm[u'dictionary.lexeme'], null=False)) )) - db.create_unique(u'dictionary_lexemeattributevalue_lexemes', ['lexemeattributevalue_id', 'lexeme_id']) + db.create_unique(u'dictionary_lexemeattributevalue_lexemes', + ['lexemeattributevalue_id', 'lexeme_id']) def backwards(self, orm): @@ -50,295 +66,553 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'null': 'True', 'blank': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'null': 'True', 'blank': 'True'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'null': 'True', 'blank': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', + 'blank': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'null': 'True', + 'blank': 'True'}) }, u'dictionary.lexemeattributevalue': { 'Meta': {'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'attributes'", 'symmetrical': 'False', 'to': u"orm['dictionary.Lexeme']"}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'related_name': "'attributes'", 'symmetrical': 'False', + 'to': u"orm['dictionary.Lexeme']"}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0012_translate_refl.py b/dictionary/migrations/0012_translate_refl.py index 3a7f6bf..a125622 100644 --- a/dictionary/migrations/0012_translate_refl.py +++ b/dictionary/migrations/0012_translate_refl.py @@ -7,8 +7,8 @@ from common.util import no_history REFL = (u'się', u'(się)', u'sobie', u'(sobie)', u'się/sobie') -class Migration(DataMigration): +class Migration(DataMigration): def forwards(self, orm): no_history() attr, created = orm.LexemeAttribute.objects.get_or_create( @@ -24,9 +24,10 @@ class Migration(DataMigration): for l in verbs: v = l.entry_suffix.strip(' ?') if v: - av = orm.LexemeAttributeValue.objects.get(value=v, attribute=attr) - av.lexemes.add(l) #add - # Note: Remember to use orm['appname.ModelName'] rather than "from appname.models..." + av = orm.LexemeAttributeValue.objects.get(value=v, + attribute=attr) + av.lexemes.add(l) #add + # Note: Remember to use orm['appname.ModelName'] rather than "from appname.models..." def backwards(self, orm): no_history() @@ -41,295 +42,552 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'null': 'True', 'blank': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'null': 'True', 'blank': 'True'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'null': 'True', 'blank': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', + 'blank': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'null': 'True', + 'blank': 'True'}) }, u'dictionary.lexemeattributevalue': { 'Meta': {'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0013_auto__add_field_lexemeattribute_multiple.py b/dictionary/migrations/0013_auto__add_field_lexemeattribute_multiple.py index 4b5391f..f74eaa0 100644 --- a/dictionary/migrations/0013_auto__add_field_lexemeattribute_multiple.py +++ b/dictionary/migrations/0013_auto__add_field_lexemeattribute_multiple.py @@ -6,12 +6,11 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding field 'LexemeAttribute.multiple' db.add_column(u'dictionary_lexemeattribute', 'multiple', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) + self.gf('django.db.models.fields.BooleanField')(default=False), + keep_default=False) def backwards(self, orm): @@ -22,296 +21,556 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'null': 'True', 'blank': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'null': 'True', 'blank': 'True'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'null': 'True', 'blank': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', + 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'null': 'True', + 'blank': 'True'}) }, u'dictionary.lexemeattributevalue': { 'Meta': {'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0014_auto__add_field_lexemeattribute_required.py b/dictionary/migrations/0014_auto__add_field_lexemeattribute_required.py index ca6d4bc..af0cb7c 100644 --- a/dictionary/migrations/0014_auto__add_field_lexemeattribute_required.py +++ b/dictionary/migrations/0014_auto__add_field_lexemeattribute_required.py @@ -6,12 +6,11 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding field 'LexemeAttribute.required' db.add_column(u'dictionary_lexemeattribute', 'required', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) + self.gf('django.db.models.fields.BooleanField')(default=False), + keep_default=False) def backwards(self, orm): @@ -22,297 +21,558 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'null': 'True', 'blank': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'null': 'True', 'blank': 'True'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'null': 'True', 'blank': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', + 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'null': 'True', + 'blank': 'True'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { 'Meta': {'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0015_auto.py b/dictionary/migrations/0015_auto.py index 8deb97f..9cbd1a5 100644 --- a/dictionary/migrations/0015_auto.py +++ b/dictionary/migrations/0015_auto.py @@ -6,15 +6,18 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding M2M table for field parts_of_speech on 'LexemeAttribute' db.create_table(u'dictionary_lexemeattribute_parts_of_speech', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('lexemeattribute', models.ForeignKey(orm[u'dictionary.lexemeattribute'], null=False)), - ('partofspeech', models.ForeignKey(orm[u'dictionary.partofspeech'], null=False)) + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('lexemeattribute', + models.ForeignKey(orm[u'dictionary.lexemeattribute'], null=False)), + ('partofspeech', + models.ForeignKey(orm[u'dictionary.partofspeech'], null=False)) )) - db.create_unique(u'dictionary_lexemeattribute_parts_of_speech', ['lexemeattribute_id', 'partofspeech_id']) + db.create_unique(u'dictionary_lexemeattribute_parts_of_speech', + ['lexemeattribute_id', 'partofspeech_id']) def backwards(self, orm): @@ -25,298 +28,561 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'null': 'True', 'blank': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'attributes'", 'null': 'True', 'to': u"orm['dictionary.PartOfSpeech']"}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'null': 'True', 'blank': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', + 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'attributes'", 'null': 'True', + 'to': u"orm['dictionary.PartOfSpeech']"}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { 'Meta': {'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0016_attribute_pos.py b/dictionary/migrations/0016_attribute_pos.py index 9c05b5f..5ea5597 100644 --- a/dictionary/migrations/0016_attribute_pos.py +++ b/dictionary/migrations/0016_attribute_pos.py @@ -4,15 +4,15 @@ from south.db import db from south.v2 import DataMigration from django.db import models -class Migration(DataMigration): +class Migration(DataMigration): def forwards(self, orm): for attr in orm.LexemeAttribute.objects.all(): - if attr.lexical_class and not attr.part_of_speech: - for pos in attr.lexical_class.partofspeech_set.all(): - attr.parts_of_speech.add(pos) - if attr.part_of_speech: - attr.parts_of_speech.add(attr.part_of_speech) + if attr.lexical_class and not attr.part_of_speech: + for pos in attr.lexical_class.partofspeech_set.all(): + attr.parts_of_speech.add(pos) + if attr.part_of_speech: + attr.parts_of_speech.add(attr.part_of_speech) la = orm.LexemeAttribute.objects.get(name=u'zwrotność') la.parts_of_speech.remove('ppas') la.parts_of_speech.remove('appas') @@ -24,298 +24,561 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'null': 'True', 'blank': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'attributes'", 'null': 'True', 'to': u"orm['dictionary.PartOfSpeech']"}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'null': 'True', 'blank': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'null': 'True', + 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'attributes'", 'null': 'True', + 'to': u"orm['dictionary.PartOfSpeech']"}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { 'Meta': {'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0017_auto__del_field_lexemeattribute_lexical_class__del_field_lexemeattribu.py b/dictionary/migrations/0017_auto__del_field_lexemeattribute_lexical_class__del_field_lexemeattribu.py index 6f7b158..414dd13 100644 --- a/dictionary/migrations/0017_auto__del_field_lexemeattribute_lexical_class__del_field_lexemeattribu.py +++ b/dictionary/migrations/0017_auto__del_field_lexemeattribute_lexical_class__del_field_lexemeattribu.py @@ -6,7 +6,6 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Deleting field 'LexemeAttribute.lexical_class' db.delete_column(u'dictionary_lexemeattribute', 'lexical_class_id') @@ -18,308 +17,570 @@ class Migration(SchemaMigration): def backwards(self, orm): # Adding field 'LexemeAttribute.lexical_class' db.add_column(u'dictionary_lexemeattribute', 'lexical_class', - self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.LexicalClass'], null=True, blank=True), - keep_default=False) + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.LexicalClass'], null=True, blank=True), + keep_default=False) # Adding field 'LexemeAttribute.part_of_speech' db.add_column(u'dictionary_lexemeattribute', 'part_of_speech', - self.gf('django.db.models.fields.related.ForeignKey')(related_name='attributes', null=True, to=orm['dictionary.PartOfSpeech'], blank=True), - keep_default=False) + self.gf('django.db.models.fields.related.ForeignKey')( + related_name='attributes', null=True, + to=orm['dictionary.PartOfSpeech'], blank=True), + keep_default=False) models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'null': 'True', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'null': 'True', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { 'Meta': {'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0018_empty_refl.py b/dictionary/migrations/0018_empty_refl.py index afba581..430713f 100644 --- a/dictionary/migrations/0018_empty_refl.py +++ b/dictionary/migrations/0018_empty_refl.py @@ -7,17 +7,16 @@ from common.util import no_history class Migration(DataMigration): - def forwards(self, orm): no_history() attr = orm.LexemeAttribute.objects.get(name=u'zwrotność') empty, created = orm.LexemeAttributeValue.objects.get_or_create( - value=u'—', attribute=attr) + value=u'—', attribute=attr) verbs = orm.Lexeme.objects.filter( part_of_speech__symbol__in=('v', 'ger', 'pact')) for l in verbs: if l.entry_suffix.strip(' ?') == '': - empty.lexemes.add(l) #add + empty.lexemes.add(l) #add def backwards(self, orm): pass @@ -25,296 +24,555 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'null': 'True', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'null': 'True', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { 'Meta': {'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0019_auto__del_field_lexemeattribute_inflection_characteristic.py b/dictionary/migrations/0019_auto__del_field_lexemeattribute_inflection_characteristic.py index 57ba581..f544248 100644 --- a/dictionary/migrations/0019_auto__del_field_lexemeattribute_inflection_characteristic.py +++ b/dictionary/migrations/0019_auto__del_field_lexemeattribute_inflection_characteristic.py @@ -6,25 +6,36 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Deleting field 'LexemeAttribute.inflection_characteristic' - db.delete_column(u'dictionary_lexemeattribute', 'inflection_characteristic_id') + db.delete_column(u'dictionary_lexemeattribute', + 'inflection_characteristic_id') # Adding M2M table for field inflection_characteristics on 'LexemeAttribute' - db.create_table(u'dictionary_lexemeattribute_inflection_characteristics', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('lexemeattribute', models.ForeignKey(orm[u'dictionary.lexemeattribute'], null=False)), - ('inflectioncharacteristic', models.ForeignKey(orm[u'dictionary.inflectioncharacteristic'], null=False)) - )) - db.create_unique(u'dictionary_lexemeattribute_inflection_characteristics', ['lexemeattribute_id', 'inflectioncharacteristic_id']) + db.create_table( + u'dictionary_lexemeattribute_inflection_characteristics', ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('lexemeattribute', + models.ForeignKey(orm[u'dictionary.lexemeattribute'], + null=False)), + ('inflectioncharacteristic', + models.ForeignKey(orm[u'dictionary.inflectioncharacteristic'], + null=False)) + )) + db.create_unique( + u'dictionary_lexemeattribute_inflection_characteristics', + ['lexemeattribute_id', 'inflectioncharacteristic_id']) def backwards(self, orm): # Adding field 'LexemeAttribute.inflection_characteristic' - db.add_column(u'dictionary_lexemeattribute', 'inflection_characteristic', - self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.InflectionCharacteristic'], null=True, blank=True), - keep_default=False) + db.add_column(u'dictionary_lexemeattribute', + 'inflection_characteristic', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.InflectionCharacteristic'], null=True, + blank=True), + keep_default=False) # Removing M2M table for field inflection_characteristics on 'LexemeAttribute' db.delete_table('dictionary_lexemeattribute_inflection_characteristics') @@ -33,296 +44,556 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0020_auto__add_field_lexemeattribute_takes_ic.py b/dictionary/migrations/0020_auto__add_field_lexemeattribute_takes_ic.py index 0d00d1d..e15961c 100644 --- a/dictionary/migrations/0020_auto__add_field_lexemeattribute_takes_ic.py +++ b/dictionary/migrations/0020_auto__add_field_lexemeattribute_takes_ic.py @@ -6,12 +6,11 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding field 'LexemeAttribute.takes_ic' db.add_column(u'dictionary_lexemeattribute', 'takes_ic', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) + self.gf('django.db.models.fields.BooleanField')(default=False), + keep_default=False) def backwards(self, orm): @@ -22,297 +21,558 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0021_auto__add_field_lexeme_valence.py b/dictionary/migrations/0021_auto__add_field_lexeme_valence.py index 6cc83a5..883afcd 100644 --- a/dictionary/migrations/0021_auto__add_field_lexeme_valence.py +++ b/dictionary/migrations/0021_auto__add_field_lexeme_valence.py @@ -6,12 +6,12 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding field 'Lexeme.valence' db.add_column('leksemy', 'valence', - self.gf('django.db.models.fields.TextField')(default='', blank=True), - keep_default=False) + self.gf('django.db.models.fields.TextField')(default='', + blank=True), + keep_default=False) def backwards(self, orm): @@ -22,298 +22,560 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) + 'Meta': {'unique_together': "(('entry', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0022_auto__del_field_patterntype_entry__add_field_patterntype_symbol__del_f.py b/dictionary/migrations/0022_auto__del_field_patterntype_entry__add_field_patterntype_symbol__del_f.py index 35978a9..8b36847 100644 --- a/dictionary/migrations/0022_auto__del_field_patterntype_entry__add_field_patterntype_symbol__del_f.py +++ b/dictionary/migrations/0022_auto__del_field_patterntype_entry__add_field_patterntype_symbol__del_f.py @@ -6,7 +6,6 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): pass @@ -16,298 +15,560 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0023_auto__add_lexemecv__add_unique_lexemecv_lexeme_classification_value.py b/dictionary/migrations/0023_auto__add_lexemecv__add_unique_lexemecv_lexeme_classification_value.py index 782ab06..5be75b6 100644 --- a/dictionary/migrations/0023_auto__add_lexemecv__add_unique_lexemecv_lexeme_classification_value.py +++ b/dictionary/migrations/0023_auto__add_lexemecv__add_unique_lexemecv_lexeme_classification_value.py @@ -6,23 +6,28 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding model 'LexemeCV' db.create_table(u'dictionary_lexemecv', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Lexeme'])), - ('classification_value', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.ClassificationValue'])), + (u'id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Lexeme'])), + ('classification_value', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.ClassificationValue'])), )) db.send_create_signal(u'dictionary', ['LexemeCV']) # Adding unique constraint on 'LexemeCV', fields ['lexeme', 'classification_value'] - db.create_unique(u'dictionary_lexemecv', ['lexeme_id', 'classification_value_id']) + db.create_unique(u'dictionary_lexemecv', + ['lexeme_id', 'classification_value_id']) def backwards(self, orm): # Removing unique constraint on 'LexemeCV', fields ['lexeme', 'classification_value'] - db.delete_unique(u'dictionary_lexemecv', ['lexeme_id', 'classification_value_id']) + db.delete_unique(u'dictionary_lexemecv', + ['lexeme_id', 'classification_value_id']) # Deleting model 'LexemeCV' db.delete_table(u'dictionary_lexemecv') @@ -31,305 +36,575 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'cvs'", 'blank': 'True', 'to': u"orm['dictionary.Lexeme']"}), - 'new_lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'cvs'", 'blank': 'True', + 'to': u"orm['dictionary.Lexeme']"}), + 'new_lexemes': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0024_lexemecv.py b/dictionary/migrations/0024_lexemecv.py index 4939eb8..4a54835 100644 --- a/dictionary/migrations/0024_lexemecv.py +++ b/dictionary/migrations/0024_lexemecv.py @@ -4,13 +4,13 @@ from south.db import db from south.v2 import DataMigration from django.db import models -class Migration(DataMigration): +class Migration(DataMigration): def forwards(self, orm): for cv in orm.ClassificationValue.objects.all(): for lexeme in cv.lexemes.all(): orm.LexemeCV.objects.get_or_create( - lexeme=lexeme, classification_value=cv) + lexeme=lexeme, classification_value=cv) def backwards(self, orm): for cv in orm.ClassificationValue.objects.all(): @@ -20,305 +20,575 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'cvs'", 'blank': 'True', 'to': u"orm['dictionary.Lexeme']"}), - 'new_lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'cvs'", 'blank': 'True', + 'to': u"orm['dictionary.Lexeme']"}), + 'new_lexemes': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0025_auto.py b/dictionary/migrations/0025_auto.py index df2c7fd..2384476 100644 --- a/dictionary/migrations/0025_auto.py +++ b/dictionary/migrations/0025_auto.py @@ -6,7 +6,6 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Removing M2M table for field lexemes on 'ClassificationValue' db.delete_table('wartosci_klasyfikacji_lexemes') @@ -15,314 +14,585 @@ class Migration(SchemaMigration): def backwards(self, orm): # Adding M2M table for field lexemes on 'ClassificationValue' db.create_table('wartosci_klasyfikacji_lexemes', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('classificationvalue', models.ForeignKey(orm[u'dictionary.classificationvalue'], null=False)), + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('classificationvalue', + models.ForeignKey(orm[u'dictionary.classificationvalue'], + null=False)), ('lexeme', models.ForeignKey(orm[u'dictionary.lexeme'], null=False)) )) - db.create_unique('wartosci_klasyfikacji_lexemes', ['classificationvalue_id', 'lexeme_id']) + db.create_unique('wartosci_klasyfikacji_lexemes', + ['classificationvalue_id', 'lexeme_id']) models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0026_auto__add_lexemeav__add_unique_lexemeav_lexeme_attribute_value__add_un.py b/dictionary/migrations/0026_auto__add_lexemeav__add_unique_lexemeav_lexeme_attribute_value__add_un.py index c57b44b..fe7c538 100644 --- a/dictionary/migrations/0026_auto__add_lexemeav__add_unique_lexemeav_lexeme_attribute_value__add_un.py +++ b/dictionary/migrations/0026_auto__add_lexemeav__add_unique_lexemeav_lexeme_attribute_value__add_un.py @@ -6,18 +6,22 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding model 'LexemeAV' db.create_table(u'dictionary_lexemeav', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.Lexeme'])), - ('attribute_value', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dictionary.LexemeAttributeValue'])), + (u'id', + self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.Lexeme'])), + ('attribute_value', + self.gf('django.db.models.fields.related.ForeignKey')( + to=orm['dictionary.LexemeAttributeValue'])), )) db.send_create_signal(u'dictionary', ['LexemeAV']) # Adding unique constraint on 'LexemeAV', fields ['lexeme', 'attribute_value'] - db.create_unique(u'dictionary_lexemeav', ['lexeme_id', 'attribute_value_id']) + db.create_unique(u'dictionary_lexemeav', + ['lexeme_id', 'attribute_value_id']) # Adding unique constraint on 'LexemeAssociation', fields ['lexeme', 'vocabulary'] db.create_unique('leksemy_w_slownikach', ['l_id', 'slownik']) @@ -28,7 +32,8 @@ class Migration(SchemaMigration): db.delete_unique('leksemy_w_slownikach', ['l_id', 'slownik']) # Removing unique constraint on 'LexemeAV', fields ['lexeme', 'attribute_value'] - db.delete_unique(u'dictionary_lexemeav', ['lexeme_id', 'attribute_value_id']) + db.delete_unique(u'dictionary_lexemeav', + ['lexeme_id', 'attribute_value_id']) # Deleting model 'LexemeAV' db.delete_table(u'dictionary_lexemeav') @@ -37,311 +42,587 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", 'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", + 'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'lavs'", 'blank': 'True', 'to': u"orm['dictionary.Lexeme']"}), - 'new_lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'lavs'", 'blank': 'True', + 'to': u"orm['dictionary.Lexeme']"}), + 'new_lexemes': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeav': { - 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", 'object_name': 'LexemeAV'}, - 'attribute_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttributeValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", + 'object_name': 'LexemeAV'}, + 'attribute_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttributeValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0027_lexemeav.py b/dictionary/migrations/0027_lexemeav.py index b3c216e..23d2a76 100644 --- a/dictionary/migrations/0027_lexemeav.py +++ b/dictionary/migrations/0027_lexemeav.py @@ -4,13 +4,13 @@ from south.db import db from south.v2 import DataMigration from django.db import models -class Migration(DataMigration): +class Migration(DataMigration): def forwards(self, orm): for av in orm.LexemeAttributeValue.objects.all(): for lexeme in av.lexemes.all(): orm.LexemeAV.objects.get_or_create( - lexeme=lexeme, attribute_value=av) + lexeme=lexeme, attribute_value=av) def backwards(self, orm): for av in orm.LexemeAttributeValue.objects.all(): @@ -20,311 +20,587 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", 'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", + 'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'lavs'", 'blank': 'True', 'to': u"orm['dictionary.Lexeme']"}), - 'new_lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'lavs'", 'blank': 'True', + 'to': u"orm['dictionary.Lexeme']"}), + 'new_lexemes': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeav': { - 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", 'object_name': 'LexemeAV'}, - 'attribute_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttributeValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", + 'object_name': 'LexemeAV'}, + 'attribute_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttributeValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0028_auto.py b/dictionary/migrations/0028_auto.py index 0a00007..99bdcd3 100644 --- a/dictionary/migrations/0028_auto.py +++ b/dictionary/migrations/0028_auto.py @@ -6,7 +6,6 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Removing M2M table for field lexemes on 'LexemeAttributeValue' db.delete_table('dictionary_lexemeattributevalue_lexemes') @@ -15,320 +14,597 @@ class Migration(SchemaMigration): def backwards(self, orm): # Adding M2M table for field lexemes on 'LexemeAttributeValue' db.create_table(u'dictionary_lexemeattributevalue_lexemes', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('lexemeattributevalue', models.ForeignKey(orm[u'dictionary.lexemeattributevalue'], null=False)), + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('lexemeattributevalue', + models.ForeignKey(orm[u'dictionary.lexemeattributevalue'], + null=False)), ('lexeme', models.ForeignKey(orm[u'dictionary.lexeme'], null=False)) )) - db.create_unique(u'dictionary_lexemeattributevalue_lexemes', ['lexemeattributevalue_id', 'lexeme_id']) + db.create_unique(u'dictionary_lexemeattributevalue_lexemes', + ['lexemeattributevalue_id', 'lexeme_id']) models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", 'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", + 'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeav': { - 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", 'object_name': 'LexemeAV'}, - 'attribute_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttributeValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", + 'object_name': 'LexemeAV'}, + 'attribute_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttributeValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0029_auto.py b/dictionary/migrations/0029_auto.py index d72d8be..a668e22 100644 --- a/dictionary/migrations/0029_auto.py +++ b/dictionary/migrations/0029_auto.py @@ -6,15 +6,18 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding M2M table for field parts_of_speech on 'Classification' db.create_table('klasyfikacje_parts_of_speech', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('classification', models.ForeignKey(orm[u'dictionary.classification'], null=False)), - ('partofspeech', models.ForeignKey(orm[u'dictionary.partofspeech'], null=False)) + ('id', models.AutoField(verbose_name='ID', primary_key=True, + auto_created=True)), + ('classification', + models.ForeignKey(orm[u'dictionary.classification'], null=False)), + ('partofspeech', + models.ForeignKey(orm[u'dictionary.partofspeech'], null=False)) )) - db.create_unique('klasyfikacje_parts_of_speech', ['classification_id', 'partofspeech_id']) + db.create_unique('klasyfikacje_parts_of_speech', + ['classification_id', 'partofspeech_id']) def backwards(self, orm): @@ -25,311 +28,586 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", 'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", + 'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeav': { - 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", 'object_name': 'LexemeAV'}, - 'attribute_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttributeValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", + 'object_name': 'LexemeAV'}, + 'attribute_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttributeValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0030_commonness_subst.py b/dictionary/migrations/0030_commonness_subst.py index 30a8aa1..c5081fc 100644 --- a/dictionary/migrations/0030_commonness_subst.py +++ b/dictionary/migrations/0030_commonness_subst.py @@ -4,8 +4,8 @@ from south.db import db from south.v2 import DataMigration from django.db import models -class Migration(DataMigration): +class Migration(DataMigration): def forwards(self, orm): for c in orm.Classification.objects.filter(name=u'pospolitość'): c.parts_of_speech.add('subst') #add @@ -21,311 +21,586 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", 'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", + 'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeav': { - 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", 'object_name': 'LexemeAV'}, - 'attribute_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttributeValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", + 'object_name': 'LexemeAV'}, + 'attribute_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttributeValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0031_auto__add_field_partofspeech_full_name__add_field_partofspeech_index__.py b/dictionary/migrations/0031_auto__add_field_partofspeech_full_name__add_field_partofspeech_index__.py index e0cae96..5e512f5 100644 --- a/dictionary/migrations/0031_auto__add_field_partofspeech_full_name__add_field_partofspeech_index__.py +++ b/dictionary/migrations/0031_auto__add_field_partofspeech_full_name__add_field_partofspeech_index__.py @@ -6,22 +6,22 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding field 'PartOfSpeech.full_name' db.add_column('klasygramatyczne', 'full_name', - self.gf('django.db.models.fields.CharField')(default='brak', max_length=128, db_column='nazwa'), - keep_default=False) + self.gf('django.db.models.fields.CharField')(default='brak', + max_length=128, db_column='nazwa'), + keep_default=False) # Adding field 'PartOfSpeech.index' db.add_column('klasygramatyczne', 'index', - self.gf('django.db.models.fields.IntegerField')(default=0), - keep_default=False) + self.gf('django.db.models.fields.IntegerField')(default=0), + keep_default=False) # Adding field 'PartOfSpeech.color_schema' db.add_column('klasygramatyczne', 'color_schema', - self.gf('django.db.models.fields.IntegerField')(default=0), - keep_default=False) + self.gf('django.db.models.fields.IntegerField')(default=0), + keep_default=False) def backwards(self, orm): @@ -38,314 +38,590 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", 'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", + 'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeav': { - 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", 'object_name': 'LexemeAV'}, - 'attribute_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttributeValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", + 'object_name': 'LexemeAV'}, + 'attribute_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttributeValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['index']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, + 'Meta': {'ordering': "['index']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, 'color_schema': ('django.db.models.fields.IntegerField', [], {}), - 'full_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nazwa'"}), + 'full_name': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_column': "'nazwa'"}), 'index': ('django.db.models.fields.IntegerField', [], {}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0032_new_pos_fields.py b/dictionary/migrations/0032_new_pos_fields.py index b8e279c..743fe4e 100644 --- a/dictionary/migrations/0032_new_pos_fields.py +++ b/dictionary/migrations/0032_new_pos_fields.py @@ -5,36 +5,36 @@ from south.v2 import DataMigration from django.db import models values = { - 'subst': (u'rzeczownik', 1, 0), - 'ppron': (u'rzeczownik', 2, 0), - 'osc': (u'rzeczownik', 9, 1), - 'adj': (u'przymiotnik', 5, 1), - 'adjcom': (u'przymiotnik stopnia wyższego', 6, 1), - 'adv': (u'przysłówek', 7, 1), - 'advcom': (u'przysłówek stopnia wyższego', 8, 1), - 'v': (u'czasownik', 10, 2), - 'pred': (u'czasownik niewłaściwy (predykatyw)', 11, 2), - 'ger': (u'odsłownik', 12, 2), - 'pact': (u'imiesłów przymiotnikowy czynny', 13, 2), - 'ppas': (u'imiesłów przymiotnikowy bierny', 14, 2), - 'appas': (u'quasi-imiesłów bierny', 15, 2), - 'num': (u'liczebnik', 20, 3), - 'advndm': (u'przysłówek', 30, 4), - 'burk': (u'człon niesamodzielny', 31, 4), - 'comp': (u'spójnik podrzędny', 32, 4), - 'conj': (u'spójnik współrzędny', 33, 4), - 'interj': (u'wykrzyknik', 34, 4), - 'qub': (u'partykuła', 35, 4), - 'prep': (u'przyimek', 31, 4), - 'pref': (u'prefiks', 31, 4), - 'skrl': (u'skrót leksemu', 40, 4), - 'skrw': (u'skrót wyrażenia', 41, 4), - 'skrf': (u'skrót frazy', 42, 4), - 'skrs': (u'skrótowy zapis form', 43, 4), + 'subst': (u'rzeczownik', 1, 0), + 'ppron': (u'rzeczownik', 2, 0), + 'osc': (u'rzeczownik', 9, 1), + 'adj': (u'przymiotnik', 5, 1), + 'adjcom': (u'przymiotnik stopnia wyższego', 6, 1), + 'adv': (u'przysłówek', 7, 1), + 'advcom': (u'przysłówek stopnia wyższego', 8, 1), + 'v': (u'czasownik', 10, 2), + 'pred': (u'czasownik niewłaściwy (predykatyw)', 11, 2), + 'ger': (u'odsłownik', 12, 2), + 'pact': (u'imiesłów przymiotnikowy czynny', 13, 2), + 'ppas': (u'imiesłów przymiotnikowy bierny', 14, 2), + 'appas': (u'quasi-imiesłów bierny', 15, 2), + 'num': (u'liczebnik', 20, 3), + 'advndm': (u'przysłówek', 30, 4), + 'burk': (u'człon niesamodzielny', 31, 4), + 'comp': (u'spójnik podrzędny', 32, 4), + 'conj': (u'spójnik współrzędny', 33, 4), + 'interj': (u'wykrzyknik', 34, 4), + 'qub': (u'partykuła', 35, 4), + 'prep': (u'przyimek', 31, 4), + 'pref': (u'prefiks', 31, 4), + 'skrl': (u'skrót leksemu', 40, 4), + 'skrw': (u'skrót wyrażenia', 41, 4), + 'skrf': (u'skrót frazy', 42, 4), + 'skrs': (u'skrótowy zapis form', 43, 4), } -class Migration(DataMigration): +class Migration(DataMigration): def forwards(self, orm): for pos in orm.PartOfSpeech.objects.all(): if pos.symbol in values: @@ -53,314 +53,590 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", 'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", + 'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeav': { - 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", 'object_name': 'LexemeAV'}, - 'attribute_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttributeValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", + 'object_name': 'LexemeAV'}, + 'attribute_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttributeValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['index']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, + 'Meta': {'ordering': "['index']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, 'color_schema': ('django.db.models.fields.IntegerField', [], {}), - 'full_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nazwa'"}), + 'full_name': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_column': "'nazwa'"}), 'index': ('django.db.models.fields.IntegerField', [], {}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0033_auto__del_field_partofspeech_color_schema__add_field_partofspeech_colo.py b/dictionary/migrations/0033_auto__del_field_partofspeech_color_schema__add_field_partofspeech_colo.py index dacbe3c..d159f3b 100644 --- a/dictionary/migrations/0033_auto__del_field_partofspeech_color_schema__add_field_partofspeech_colo.py +++ b/dictionary/migrations/0033_auto__del_field_partofspeech_color_schema__add_field_partofspeech_colo.py @@ -6,7 +6,6 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): db.rename_column('klasygramatyczne', 'color_schema', 'color_scheme') @@ -18,314 +17,590 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", 'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", + 'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), + 'value': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}) }, u'dictionary.lexemeav': { - 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", 'object_name': 'LexemeAV'}, - 'attribute_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttributeValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", + 'object_name': 'LexemeAV'}, + 'attribute_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttributeValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['index']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, + 'Meta': {'ordering': "['index']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, 'color_scheme': ('django.db.models.fields.IntegerField', [], {}), - 'full_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nazwa'"}), + 'full_name': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_column': "'nazwa'"}), 'index': ('django.db.models.fields.IntegerField', [], {}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0034_auto__add_field_lexemeattributevalue_display_value.py b/dictionary/migrations/0034_auto__add_field_lexemeattributevalue_display_value.py index d4214f9..278057c 100644 --- a/dictionary/migrations/0034_auto__add_field_lexemeattributevalue_display_value.py +++ b/dictionary/migrations/0034_auto__add_field_lexemeattributevalue_display_value.py @@ -6,12 +6,12 @@ from django.db import models class Migration(SchemaMigration): - def forwards(self, orm): # Adding field 'LexemeAttributeValue.display_value' db.add_column(u'dictionary_lexemeattributevalue', 'display_value', - self.gf('django.db.models.fields.CharField')(default='', max_length=32, blank=True), - keep_default=False) + self.gf('django.db.models.fields.CharField')(default='', + max_length=32, blank=True), + keep_default=False) def backwards(self, orm): @@ -22,315 +22,592 @@ class Migration(SchemaMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", 'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", + 'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - 'display_value': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + 'display_value': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), + 'value': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'blank': 'True'}) }, u'dictionary.lexemeav': { - 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", 'object_name': 'LexemeAV'}, - 'attribute_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttributeValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", + 'object_name': 'LexemeAV'}, + 'attribute_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttributeValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['index']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, + 'Meta': {'ordering': "['index']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, 'color_scheme': ('django.db.models.fields.IntegerField', [], {}), - 'full_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nazwa'"}), + 'full_name': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_column': "'nazwa'"}), 'index': ('django.db.models.fields.IntegerField', [], {}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/migrations/0035_display_values.py b/dictionary/migrations/0035_display_values.py index 388954d..2ba913c 100644 --- a/dictionary/migrations/0035_display_values.py +++ b/dictionary/migrations/0035_display_values.py @@ -38,8 +38,8 @@ ATTRS = { }, } -class Migration(DataMigration): +class Migration(DataMigration): def forwards(self, orm): for av in orm.LexemeAttributeValue.objects.all(): av.display_value = ATTRS[av.attribute.name][av.value] @@ -51,315 +51,592 @@ class Migration(DataMigration): models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '80'}), + 'permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}) }, u'auth.permission': { - 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + 'Meta': { + 'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", + 'unique_together': "((u'content_type', u'codename'),)", + 'object_name': 'Permission'}, + 'codename': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['contenttypes.ContentType']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + 'date_joined': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], + {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Group']", 'symmetrical': 'False', + 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ( + 'django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], + {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], + {'max_length': '30', 'blank': 'True'}), + 'password': ( + 'django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['auth.Permission']", 'symmetrical': 'False', + 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + 'Meta': {'ordering': "('name',)", + 'unique_together': "(('app_label', 'model'),)", + 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'dictionary.baseformlabel': { 'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}) }, u'dictionary.cell': { - 'Meta': {'ordering': "['index']", 'object_name': 'Cell', 'db_table': "'klatki'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kind'"}), - 'prefix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), - 'suffix': ('django.db.models.fields.CharField', [], {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), - 'tag': ('django.db.models.fields.TextField', [], {'db_column': "'tag'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", 'object_name': 'Cell', + 'db_table': "'klatki'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kind'"}), + 'prefix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}), + 'suffix': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}), + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}), + 'tag': ('django.db.models.fields.TextField', [], + {'db_column': "'tag'", 'blank': 'True'}) }, u'dictionary.classification': { - 'Meta': {'object_name': 'Classification', 'db_table': "'klasyfikacje'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) + 'Meta': {'object_name': 'Classification', + 'db_table': "'klasyfikacje'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}) }, u'dictionary.classificationvalue': { - 'Meta': {'object_name': 'ClassificationValue', 'db_table': "'wartosci_klasyfikacji'"}, - 'classification': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'db_column': "'klas_id'", 'to': u"orm['dictionary.Classification']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usunieta'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), - 'parent_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', 'db_column': "'rodzic'", 'to': u"orm['dictionary.ClassificationValue']"}) + 'Meta': {'object_name': 'ClassificationValue', + 'db_table': "'wartosci_klasyfikacji'"}, + 'classification': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", 'db_column': "'klas_id'", + 'to': u"orm['dictionary.Classification']"}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usunieta'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeCV']", 'blank': 'True'}), + 'parent_node': ('django.db.models.fields.related.ForeignKey', [], + {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True', + 'db_column': "'rodzic'", + 'to': u"orm['dictionary.ClassificationValue']"}) }, u'dictionary.crossreference': { - 'Meta': {'object_name': 'CrossReference', 'db_table': "'odsylacze'"}, - 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_to'", 'db_column': "'l_id_od'", 'to': u"orm['dictionary.Lexeme']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'refs_from'", 'db_column': "'l_id_do'", 'to': u"orm['dictionary.Lexeme']"}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.CrossReferenceType']", 'db_column': "'typods_id'"}) + 'Meta': {'object_name': 'CrossReference', + 'db_table': "'odsylacze'"}, + 'from_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_to'", 'db_column': "'l_id_od'", + 'to': u"orm['dictionary.Lexeme']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'to_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'refs_from'", 'db_column': "'l_id_do'", + 'to': u"orm['dictionary.Lexeme']"}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.CrossReferenceType']", + 'db_column': "'typods_id'"}) }, u'dictionary.crossreferencetype': { - 'Meta': {'object_name': 'CrossReferenceType', 'db_table': "'typyodsylaczy'"}, - 'desc': ('django.db.models.fields.CharField', [], {'max_length': '40', 'db_column': "'naglowek'"}), - 'from_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_to'", 'db_column': "'pos1'", 'to': u"orm['dictionary.PartOfSpeech']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'kolejnosc'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '10', 'db_column': "'typods'"}), - 'to_pos': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'crtype_from'", 'db_column': "'pos2'", 'to': u"orm['dictionary.PartOfSpeech']"}) + 'Meta': {'object_name': 'CrossReferenceType', + 'db_table': "'typyodsylaczy'"}, + 'desc': ('django.db.models.fields.CharField', [], + {'max_length': '40', 'db_column': "'naglowek'"}), + 'from_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_to'", 'db_column': "'pos1'", + 'to': u"orm['dictionary.PartOfSpeech']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'kolejnosc'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '10', 'db_column': "'typods'"}), + 'to_pos': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'crtype_from'", 'db_column': "'pos2'", + 'to': u"orm['dictionary.PartOfSpeech']"}) }, u'dictionary.ending': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('pattern', 'base_form_label', 'index'),)", 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, - 'base_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'zind'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'endings'", 'db_column': "'w_id'", 'to': u"orm['dictionary.Pattern']"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), - 'string': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('pattern', 'base_form_label', 'index'),)", + 'object_name': 'Ending', 'db_table': "'zakonczenia'"}, + 'base_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'zind'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'endings'", 'db_column': "'w_id'", + 'to': u"orm['dictionary.Pattern']"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}), + 'string': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'}) }, u'dictionary.history': { 'Meta': {'object_name': 'History', 'db_table': "'history'"}, - 'column_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'column_name_'", 'blank': 'True'}), - 'column_ord': ('django.db.models.fields.IntegerField', [], {'db_column': "'ordinal_position_of_column_'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'null': 'True', 'db_column': "'lexeme_id_'", 'blank': 'True'}), - 'new_value': ('django.db.models.fields.TextField', [], {'db_column': "'new_value_'", 'blank': 'True'}), - 'old_value': ('django.db.models.fields.TextField', [], {'db_column': "'old_value_'", 'blank': 'True'}), - 'operation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'operation_'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'null': 'True', 'db_column': "'pattern_id_'", 'blank': 'True'}), - 'row_id': ('django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), - 'table_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_column': "'table_name_'"}), - 'table_oid': ('django.db.models.fields.IntegerField', [], {'db_column': "'table_oid_'"}), - 'timestamp': ('django.db.models.fields.DateTimeField', [], {'db_column': "'timestamp_'"}), - 'transaction_began': ('django.db.models.fields.DateTimeField', [], {'db_column': "'transaction_began_'"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) + 'column_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'column_name_'", + 'blank': 'True'}), + 'column_ord': ('django.db.models.fields.IntegerField', [], + {'db_column': "'ordinal_position_of_column_'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'null': 'True', + 'db_column': "'lexeme_id_'", 'blank': 'True'}), + 'new_value': ('django.db.models.fields.TextField', [], + {'db_column': "'new_value_'", 'blank': 'True'}), + 'old_value': ('django.db.models.fields.TextField', [], + {'db_column': "'old_value_'", 'blank': 'True'}), + 'operation': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'operation_'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'null': 'True', + 'db_column': "'pattern_id_'", 'blank': 'True'}), + 'row_id': ( + 'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}), + 'table_name': ('django.db.models.fields.CharField', [], + {'max_length': '120', 'db_column': "'table_name_'"}), + 'table_oid': ('django.db.models.fields.IntegerField', [], + {'db_column': "'table_oid_'"}), + 'timestamp': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'timestamp_'"}), + 'transaction_began': ('django.db.models.fields.DateTimeField', [], + {'db_column': "'transaction_began_'"}), + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'db_column': "'user_id_'"}) }, u'dictionary.inflectioncharacteristic': { - 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, - 'basic_form_label': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) + 'Meta': {'unique_together': "(('symbol', 'part_of_speech'),)", + 'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"}, + 'basic_form_label': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}) }, u'dictionary.inputform': { 'Meta': {'object_name': 'InputForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InputLexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'input_lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InputLexeme']"}) }, u'dictionary.inputlexeme': { 'Meta': {'object_name': 'InputLexeme'}, - 'entry': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + 'entry': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}) }, u'dictionary.lexeme': { 'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"}, - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'entry': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", 'blank': 'True'}), - 'entry_suffix': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), - 'gloss': ('django.db.models.fields.TextField', [], {'db_column': "'glosa'", 'blank': 'True'}), - 'homonym_number': ('django.db.models.fields.IntegerField', [], {'default': '1', 'db_column': "'hom'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'data_modyfikacji'", 'blank': 'True'}), - 'note': ('django.db.models.fields.TextField', [], {'db_column': "'nota'", 'blank': 'True'}), - 'owner_vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}), - 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), - 'patterns': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Pattern']", 'through': u"orm['dictionary.LexemeInflectionPattern']", 'symmetrical': 'False'}), - 'pronunciation': ('django.db.models.fields.TextField', [], {'db_column': "'wymowa'", 'blank': 'True'}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'db_column': "'odpowiedzialny'", 'blank': 'True'}), - 'source': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'status'"}), - 'valence': ('django.db.models.fields.TextField', [], {'blank': 'True'}) + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'entry': ('django.db.models.fields.CharField', [], + {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'", + 'blank': 'True'}), + 'entry_suffix': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}), + 'gloss': ('django.db.models.fields.TextField', [], + {'db_column': "'glosa'", 'blank': 'True'}), + 'homonym_number': ('django.db.models.fields.IntegerField', [], + {'default': '1', 'db_column': "'hom'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'last_modified': ('django.db.models.fields.DateTimeField', [], + {'auto_now': 'True', 'db_column': "'data_modyfikacji'", + 'blank': 'True'}), + 'note': ('django.db.models.fields.TextField', [], + {'db_column': "'nota'", 'blank': 'True'}), + 'owner_vocabulary': ( + 'django.db.models.fields.related.ForeignKey', [], + {'related_name': "'owned_lexemes'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}), + 'part_of_speech': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}), + 'patterns': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Pattern']", + 'through': u"orm['dictionary.LexemeInflectionPattern']", + 'symmetrical': 'False'}), + 'pronunciation': ('django.db.models.fields.TextField', [], + {'db_column': "'wymowa'", 'blank': 'True'}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}), + 'responsible': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']", 'null': 'True', + 'db_column': "'odpowiedzialny'", 'blank': 'True'}), + 'source': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'status'"}), + 'valence': ( + 'django.db.models.fields.TextField', [], {'blank': 'True'}) }, u'dictionary.lexemeassociation': { - 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", 'object_name': 'LexemeAssociation', 'db_table': "'leksemy_w_slownikach'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'unique_together': "(['lexeme', 'vocabulary'],)", + 'object_name': 'LexemeAssociation', + 'db_table': "'leksemy_w_slownikach'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.lexemeattribute': { 'Meta': {'object_name': 'LexemeAttribute'}, - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristics': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'symmetrical': 'False', 'blank': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'parts_of_speech': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), - 'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'takes_ic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + 'closed': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristics': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'symmetrical': 'False', 'blank': 'True'}), + 'multiple': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '32'}), + 'parts_of_speech': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.PartOfSpeech']", 'symmetrical': 'False'}), + 'required': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'takes_ic': ( + 'django.db.models.fields.BooleanField', [], {'default': 'False'}) }, u'dictionary.lexemeattributevalue': { - 'Meta': {'ordering': "['value']", 'object_name': 'LexemeAttributeValue'}, - 'attribute': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'values'", 'to': u"orm['dictionary.LexemeAttribute']"}), - 'display_value': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), - 'value': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}) + 'Meta': {'ordering': "['value']", + 'object_name': 'LexemeAttributeValue'}, + 'attribute': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'values'", + 'to': u"orm['dictionary.LexemeAttribute']"}), + 'display_value': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Lexeme']", 'symmetrical': 'False', + 'through': u"orm['dictionary.LexemeAV']", 'blank': 'True'}), + 'value': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'blank': 'True'}) }, u'dictionary.lexemeav': { - 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", 'object_name': 'LexemeAV'}, - 'attribute_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexemeAttributeValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'attribute_value'],)", + 'object_name': 'LexemeAV'}, + 'attribute_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexemeAttributeValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemecv': { - 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", 'object_name': 'LexemeCV'}, - 'classification_value': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.ClassificationValue']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'Meta': {'unique_together': "(['lexeme', 'classification_value'],)", + 'object_name': 'LexemeCV'}, + 'classification_value': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.ClassificationValue']"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeform': { 'Meta': {'object_name': 'LexemeForm'}, - 'form': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']"}) + 'form': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_index': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']"}) }, u'dictionary.lexemeinflectionpattern': { - 'Meta': {'ordering': "['index']", 'unique_together': "(('lexeme', 'index'),)", 'object_name': 'LexemeInflectionPattern', 'db_table': "'odmieniasie'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'db_column': "'oind'"}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'lexeme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), - 'pattern': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), - 'qualifiers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), - 'root': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'rdzen'"}) + 'Meta': {'ordering': "['index']", + 'unique_together': "(('lexeme', 'index'),)", + 'object_name': 'LexemeInflectionPattern', + 'db_table': "'odmieniasie'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], + {'db_column': "'oind'"}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'lexeme': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Lexeme']", 'db_column': "'l_id'"}), + 'pattern': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Pattern']", 'db_column': "'w_id'"}), + 'qualifiers': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'to': u"orm['dictionary.Qualifier']", 'symmetrical': 'False', + 'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}), + 'root': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'rdzen'"}) }, u'dictionary.lexicalclass': { 'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"}, - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"}) }, u'dictionary.paradygmatywsjp': { - 'Meta': {'object_name': 'ParadygmatyWSJP', 'db_table': "'paradygmatywsjp'"}, - 'charfl': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), + 'Meta': {'object_name': 'ParadygmatyWSJP', + 'db_table': "'paradygmatywsjp'"}, + 'charfl': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'efobaz': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'efobaz': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.BaseFormLabel']", + 'db_column': "'efobaz'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'kskl': ('django.db.models.fields.IntegerField', [], {}), 'morf': ('django.db.models.fields.TextField', [], {}), - 'podparad': ('django.db.models.fields.CharField', [], {'max_length': '4', 'blank': 'True'}), - 'pref': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), + 'podparad': ('django.db.models.fields.CharField', [], + {'max_length': '4', 'blank': 'True'}), + 'pref': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'suf': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}), - 'typr': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), - 'wariant': ('django.db.models.fields.CharField', [], {'max_length': '4'}) + 'suf': ('django.db.models.fields.CharField', [], + {'max_length': '20', 'blank': 'True'}), + 'typr': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typr'"}), + 'wariant': ( + 'django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'dictionary.partofspeech': { - 'Meta': {'ordering': "['index']", 'object_name': 'PartOfSpeech', 'db_table': "'klasygramatyczne'"}, + 'Meta': {'ordering': "['index']", 'object_name': 'PartOfSpeech', + 'db_table': "'klasygramatyczne'"}, 'color_scheme': ('django.db.models.fields.IntegerField', [], {}), - 'full_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nazwa'"}), + 'full_name': ('django.db.models.fields.CharField', [], + {'max_length': '128', 'db_column': "'nazwa'"}), 'index': ('django.db.models.fields.IntegerField', [], {}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"}) }, u'dictionary.pattern': { - 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', 'db_table': "'wzory'"}, - 'basic_form_ending': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'db_column': "'komentarz'", 'blank': 'True'}), - 'example': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'przyklad'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) + 'Meta': {'ordering': "['name']", 'object_name': 'Pattern', + 'db_table': "'wzory'"}, + 'basic_form_ending': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], + {'db_column': "'komentarz'", 'blank': 'True'}), + 'example': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'przyklad'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}), + 'status': ( + 'django.db.models.fields.CharField', [], {'max_length': '8'}), + 'type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'typ'"}) }, u'dictionary.patterntype': { 'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), - 'symbol': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'lexical_class': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.LexicalClass']", 'db_column': "'czm'"}), + 'symbol': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}) }, u'dictionary.qualifier': { - 'Meta': {'ordering': "['label']", 'unique_together': "(('label', 'vocabulary'),)", 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'usuniety'"}), - 'exclusion_class': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', 'db_column': "'klasa'", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'kwal'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'qualifiers'", 'db_column': "'slownik'", 'to': u"orm['dictionary.Vocabulary']"}) + 'Meta': {'ordering': "['label']", + 'unique_together': "(('label', 'vocabulary'),)", + 'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"}, + 'deleted': ('django.db.models.fields.BooleanField', [], + {'default': 'False', 'db_column': "'usuniety'"}), + 'exclusion_class': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.QualifierExclusionClass']", 'null': 'True', + 'db_column': "'klasa'", 'blank': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'kwal'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'related_name': "'qualifiers'", 'db_column': "'slownik'", + 'to': u"orm['dictionary.Vocabulary']"}) }, u'dictionary.qualifierexclusionclass': { - 'Meta': {'object_name': 'QualifierExclusionClass', 'db_table': "'klasy_wykluczania'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), - 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) + 'Meta': {'object_name': 'QualifierExclusionClass', + 'db_table': "'klasy_wykluczania'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}), + 'vocabulary': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Vocabulary']", 'db_column': "'slownik'"}) }, u'dictionary.savedexportdata': { 'Meta': {'object_name': 'SavedExportData'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], + {'unique': 'True', 'max_length': '64'}), 'serialized_data': ('django.db.models.fields.TextField', [], {}) }, u'dictionary.savedfilter': { - 'Meta': {'unique_together': "(('name', 'user'),)", 'object_name': 'SavedFilter'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'Meta': {'unique_together': "(('name', 'user'),)", + 'object_name': 'SavedFilter'}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ( + 'django.db.models.fields.CharField', [], {'max_length': '64'}), 'serialized_filter': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}) + 'user': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['auth.User']"}) }, u'dictionary.tablecell': { 'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"}, - 'cell': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dictionary.Cell']", 'unique': 'True', 'db_column': "'k_id'"}), + 'cell': ('django.db.models.fields.related.OneToOneField', [], + {'to': u"orm['dictionary.Cell']", 'unique': 'True', + 'db_column': "'k_id'"}), 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}) }, u'dictionary.tableheader': { - 'Meta': {'object_name': 'TableHeader', 'db_table': "'naglowki_tabel'"}, + 'Meta': {'object_name': 'TableHeader', + 'db_table': "'naglowki_tabel'"}, 'col': ('django.db.models.fields.IntegerField', [], {}), 'colspan': ('django.db.models.fields.IntegerField', [], {}), - 'css_class': ('django.db.models.fields.CharField', [], {'max_length': '8', 'db_column': "'styl'"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), + 'css_class': ('django.db.models.fields.CharField', [], + {'max_length': '8', 'db_column': "'styl'"}), + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}), 'row': ('django.db.models.fields.IntegerField', [], {}), 'rowspan': ('django.db.models.fields.IntegerField', [], {}), - 'table_template': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) + 'table_template': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}) }, u'dictionary.tabletemplate': { - 'Meta': {'object_name': 'TableTemplate', 'db_table': "'szablony_tabel'"}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflection_characteristic': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.InflectionCharacteristic']", 'db_column': "'charfl'"}), - 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), - 'variant': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) + 'Meta': {'object_name': 'TableTemplate', + 'db_table': "'szablony_tabel'"}, + u'id': ( + 'django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'inflection_characteristic': ( + 'django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.InflectionCharacteristic']", + 'db_column': "'charfl'"}), + 'pattern_type': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.PatternType']", 'db_column': "'wtyp'"}), + 'variant': ('django.db.models.fields.related.ForeignKey', [], + {'to': u"orm['dictionary.Variant']", 'db_column': "'wariant'"}) }, u'dictionary.variant': { 'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"}, - 'id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'primary_key': 'True', 'db_column': "'wariant'"}) + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '32', 'primary_key': 'True', + 'db_column': "'wariant'"}) }, u'dictionary.vocabulary': { 'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"}, - 'classifications': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'id': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True', 'db_column': "'slownik'"}), - 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'vocabularies'", 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", 'to': u"orm['dictionary.Lexeme']"}), - 'managers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}), - 'viewers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", 'blank': 'True', 'to': u"orm['auth.User']"}) + 'classifications': ( + 'django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'to': u"orm['dictionary.Classification']"}), + 'editors': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'editable_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'id': ('django.db.models.fields.CharField', [], + {'max_length': '64', 'primary_key': 'True', + 'db_column': "'slownik'"}), + 'lexemes': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'vocabularies'", + 'blank': 'True', 'through': u"orm['dictionary.LexemeAssociation']", + 'to': u"orm['dictionary.Lexeme']"}), + 'managers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'managed_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}), + 'viewers': ('django.db.models.fields.related.ManyToManyField', [], + {'symmetrical': 'False', 'related_name': "'visible_vocabularies'", + 'blank': 'True', 'to': u"orm['auth.User']"}) } } diff --git a/dictionary/models.py b/dictionary/models.py index 356b349..ed0d623 100644 --- a/dictionary/models.py +++ b/dictionary/models.py @@ -152,7 +152,7 @@ def make_choices(tree): choices.append((value.pk, value.label)) subchoices = make_choices(subtree) choices += [(pk, u' ' + label) for (pk, label) in - subchoices] # + subchoices] # return choices @@ -161,7 +161,7 @@ class ClassificationValue(Model): unique=True, max_length=64, db_column='nazwa', verbose_name=u'nazwa wartości') classification = ForeignKey(Classification, db_column='klas_id', - related_name='values') + related_name='values') parent_node = ForeignKey( 'self', db_column='rodzic', null=True, blank=True, verbose_name=u'rodzic wartości', related_name='child_nodes') @@ -186,7 +186,7 @@ class ClassificationValue(Model): def remove_lexeme(self, lexeme): LexemeCV.objects.filter(lexeme=lexeme, - classification_value=self).delete() + classification_value=self).delete() def __unicode__(self): return self.label @@ -261,7 +261,7 @@ class Pattern(Model): type = ForeignKey(PatternType, db_column='typ') # rdzeń przykładowej formy hasłowej example = CharField(max_length=64, db_column='przyklad', - verbose_name=u'przyklad') + verbose_name=u'przyklad') # zakończenie formy podstawowej (uwaga: w zasadzie tylko dla prezentacji # wzoru, rdzenie w Odmieniasie trzeba tworzyć uważniej, wiedząc, która forma # jest hasłowa dla danego charfla) @@ -272,7 +272,7 @@ class Pattern(Model): status = CharField( max_length=8, choices=PATTERN_STATUS_CHOICES, verbose_name=u'status') comment = TextField(blank=True, db_column='komentarz', - verbose_name=u'komentarz') + verbose_name=u'komentarz') def ending_set(self, subroot='', tag_prefix=None): endings = self.endings @@ -280,7 +280,7 @@ class Pattern(Model): endings = endings.filter( base_form_label__symbol__startswith=tag_prefix) return set(subroot + e for e in - endings.values_list('string', flat=True)) + endings.values_list('string', flat=True)) def get_basic_form_ending(self, inflection_characteristic): return self.endings.filter( @@ -310,7 +310,7 @@ def prepare_table(table): seen_forms.append(form[1]) unique_forms.append(form) cell['forms'] = [{'form': form, 'qualifiers': qualifiers} - for (key, form, qualifiers) in unique_forms] + for (key, form, qualifiers) in unique_forms] elif type(cell) == dict and 'label' in cell: seen_labels = [] @@ -354,10 +354,10 @@ class Lexeme(Model): ) entry = CharField(max_length=64, db_column='haslo', db_index=True, - verbose_name=u'hasło', blank=True) # dla nowo utworzonych + verbose_name=u'hasło', blank=True) # dla nowo utworzonych # pozostałość historyczna: entry_suffix = CharField(blank=True, max_length=16, db_column='haslosuf', - verbose_name=u'sufiks hasła') + verbose_name=u'sufiks hasła') gloss = TextField(blank=True, db_column='glosa', verbose_name=u'glosa') note = TextField(blank=True, db_column='nota', verbose_name=u'nota') pronunciation = TextField( @@ -373,7 +373,7 @@ class Lexeme(Model): qualifiers = ManyToManyField( Qualifier, blank=True, db_table='kwalifikatory_leksemow') comment = TextField(blank=True, db_column='komentarz', - verbose_name=u'komentarz') + verbose_name=u'komentarz') last_modified = DateTimeField(auto_now=True, db_column='data_modyfikacji') # osoba, ktora ostatnia zmieniala opis leksemu responsible = ForeignKey( @@ -392,8 +392,8 @@ class Lexeme(Model): ic = lip.inflection_characteristic ics.add(ic, lip.pattern.name) return [(ic, patterns, - self.inflection_table(variant, ic, qualifiers=qualifiers)) - for ic, patterns in ics.iteritems()] + self.inflection_table(variant, ic, qualifiers=qualifiers)) + for ic, patterns in ics.iteritems()] def inflection_table(self, variant, inflection_characteristic, qualifiers=None): @@ -402,7 +402,7 @@ class Lexeme(Model): .prefetch_related('qualifiers').select_related( 'pattern__type', 'inflection_characteristic') tables = [lip.inflection_table(variant, qualifiers=qualifiers) - for lip in lips] + for lip in lips] table1 = tables[0] for table2 in tables[1:]: for row1, row2 in zip(table1, table2): @@ -430,7 +430,7 @@ class Lexeme(Model): for lip in self.lexemeinflectionpattern_set.all(): forms |= set( form for (indexes, form, qualifiers) - in lip.all_forms( + in lip.all_forms( affixes=affixes, label_filter=label_filter, variant=variant)) return forms @@ -473,8 +473,8 @@ class Lexeme(Model): def fix_homonym_number(self): homonym_numbers = (Lexeme.objects.filter( entry=self.entry, part_of_speech=self.part_of_speech) - .exclude(pk=self.pk)).values_list('homonym_number', - flat=True) + .exclude(pk=self.pk)).values_list('homonym_number', + flat=True) for i in xrange(1, len(homonym_numbers) + 2): if i not in homonym_numbers: self.homonym_number = i @@ -512,7 +512,7 @@ class Lexeme(Model): priority = (not (self.responsible and self.responsible.has_perm( 'dictionary.lexeme_priority')) - or user.has_perm('dictionary.lexeme_priority')) + or user.has_perm('dictionary.lexeme_priority')) edit_vocab = self.owner_vocabulary in editable_vocabularies(user) return edit_vocab and priority @@ -574,7 +574,7 @@ def get_root(basic_form, pos, pattern, ic, use_pattern_ending=False): else: if not use_pattern_ending: return get_root(basic_form, pos, pattern, ic, - use_pattern_ending=True) + use_pattern_ending=True) else: return None @@ -678,7 +678,7 @@ class LexemeInflectionPattern(Model): if col > last_col: last_col = col table = [[{'type': 'empty'} - for i in xrange(last_col)] for j in xrange(len(rows))] + for i in xrange(last_col)] for j in xrange(len(rows))] rows = sorted(rows) # słownik: nr rzędu w bazie -> rzeczywisty numer rzędu row_translate = dict(zip(rows, xrange(len(rows)))) @@ -727,7 +727,7 @@ class LexemeInflectionPattern(Model): assert table[y + j][x + i]['type'] == 'empty' table[y + j][x + i]['type'] = 'span' return [row for row in table - if not all(cell['type'] == 'empty' for cell in row)] + if not all(cell['type'] == 'empty' for cell in row)] def all_forms(self, separator='', affixes=True, label_filter=None, variant='1', qualifiers=None): @@ -757,11 +757,11 @@ class LexemeInflectionPattern(Model): ( (cell.index, self.index, ending.index), ( - cell.prefix + self.root + separator + ending.string + cell.suffix - if affixes else self.root + separator + ending.string), + cell.prefix + self.root + separator + ending.string + cell.suffix + if affixes else self.root + separator + ending.string), #+ '#' + cell.base_form_label.symbol, combine_qualifiers(lip_qual, - filter_quals(ending.qualifiers.all())) + filter_quals(ending.qualifiers.all())) if not edit_view else filter_quals(ending.qualifiers.all()), ) for ending in endings @@ -797,7 +797,7 @@ def all_forms(pattern, ic, pos, base, variant='1', affixes=True): forms |= set( cell.prefix + root + ending.string + cell.suffix if affixes else root + ending.string - for ending in endings) + for ending in endings) return forms @@ -838,16 +838,16 @@ def filter_visible_lips(lips, user): class Vocabulary(Model): id = CharField(max_length=64, primary_key=True, db_column='slownik') lexemes = ManyToManyField(Lexeme, blank=True, through='LexemeAssociation', - related_name='vocabularies') + related_name='vocabularies') managers = ManyToManyField(User, blank=True, - related_name='managed_vocabularies') + related_name='managed_vocabularies') viewers = ManyToManyField(User, blank=True, - related_name='visible_vocabularies') + related_name='visible_vocabularies') editors = ManyToManyField(User, blank=True, - related_name='editable_vocabularies') + related_name='editable_vocabularies') # bardziej by pasowało w Classification, ale już trudno classifications = ManyToManyField(Classification, blank=True, - related_name='vocabularies') + related_name='vocabularies') def owned_lexemes_pk(self): return self.owned_lexemes.values_list('pk', flat=True) @@ -871,7 +871,7 @@ class Vocabulary(Model): def remove_lexeme(self, lexeme): assert self != lexeme.owner_vocabulary LexemeAssociation.objects.filter(lexeme=lexeme, - vocabulary=self).delete() + vocabulary=self).delete() def set_lexeme(self, lexeme, add): if add: @@ -955,7 +955,7 @@ class CRManager(Manager): class CrossReference(Model): from_lexeme = ForeignKey(Lexeme, db_column='l_id_od', - related_name='refs_to') + related_name='refs_to') to_lexeme = ForeignKey( Lexeme, db_column='l_id_do', related_name='refs_from', verbose_name=u'nr docelowy') @@ -1096,7 +1096,7 @@ class SavedExportData(Model): class History(Model): table_name = CharField(max_length=120, db_column='table_name_') column_name = CharField(max_length=120, db_column='column_name_', - blank=True) + blank=True) timestamp = DateTimeField(db_column='timestamp_') user = ForeignKey(User, db_column='user_id_', db_index=True) old_value = TextField(db_column='old_value_', blank=True) diff --git a/dictionary/pagination_types.py b/dictionary/pagination_types.py index bfc2f6e..b9ac9df 100644 --- a/dictionary/pagination_types.py +++ b/dictionary/pagination_types.py @@ -52,7 +52,7 @@ class UserFilterForm(Form): class TimeFilterForm(Form): time = DateField(input_formats=['%d.%m.%Y'], label=u'', - widget=DateInput(attrs={'class': 'datepicker value'})) + widget=DateInput(attrs={'class': 'datepicker value'})) LEXEME_HISTORY_FILTERS = { diff --git a/dictionary/templates/lexeme_slickgrid_view.html b/dictionary/templates/lexeme_slickgrid_view.html new file mode 100644 index 0000000..f3d4289 --- /dev/null +++ b/dictionary/templates/lexeme_slickgrid_view.html @@ -0,0 +1,172 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block extrahead %} + <link rel="stylesheet" href="{{ MEDIA_URL }}css/lib/ui.jqgrid.css" + type="text/css" media="screen" charset="utf-8"/> + <link rel="stylesheet" type="text/css" + href="{{ MEDIA_URL }}css/lib/ui.multiselect.css"> + <link rel="stylesheet" type="text/css" + href="{{ MEDIA_URL }}css/lib/jquery.multiselect.css"/> + <link rel="stylesheet" type="text/css" + href="{{ MEDIA_URL }}css/lib/jquery.ui.selectmenu.css"/> + <link rel="stylesheet" type="text/css" + href="{{ MEDIA_URL }}css/jqgrid.css"/> + <link rel="stylesheet" type="text/css" + href="{{ MEDIA_URL }}css/lexeme_view.css"/> + <script type="text/javascript" + src="{{ MEDIA_URL }}js/lib/cvi_busy_lib.js"></script> + <script type="text/javascript" + src="{{ MEDIA_URL }}js/lib/splitter.js"></script> + <script type="text/javascript" + src="{{ MEDIA_URL }}js/lib/jquery.multiselect.js"></script> + <script type="text/javascript" + src="{{ MEDIA_URL }}js/lib/jquery.ui.selectmenu.js"></script> + <script type="text/javascript"> + $.fn.multiselect2 = $.fn.multiselect; + </script> + <script type="text/javascript" + src="{{ MEDIA_URL }}js/lib/ui.multiselect.js"></script> + <script type="text/javascript" + src="{{ MEDIA_URL }}js/lib/grid.locale-pl.js"></script> + <script type="text/javascript" + src="{{ MEDIA_URL }}js/lib/jquery.jqGrid.src.js"></script> + <script type="text/javascript"> + jQuery.jgrid.no_legacy_api = true; + </script> + <script type="text/javascript" + src="{{ MEDIA_URL }}js/jqgrid-patch.js"></script> + <script type="text/javascript" src="{{ MEDIA_URL }}js/jqgrid.js"></script> + <script type="text/javascript" + src="{{ MEDIA_URL }}js/lexeme-view.js"></script> +{% endblock %} + +{% block title %}Widok leksemów{% endblock %} + +{% block content %} + <div id="left"> + <div id="search-panel"> + <button id="open-sort-dialog" title="sortuj"> + <span class="ui-icon ui-icon-sort">sortuj</span> + </button> + <button id="filter-button" title="filtruj"> + <span class="ui-icon ui-icon-filter">filtruj</span> + </button> + <button id="show-columns-button" title="pokaż/ukryj"> + <span class="ui-icon ui-icon-columns">pokaż/ukryj</span> + </button> + <input type="text" id="phrase_box" class="phrase-box"/> + <button id="searchButton" title="szukaj"> + <span class="ui-icon ui-icon-search">szukaj</span> + </button> + {% if perms.dictionary.change_lexeme %} + <button id="action-button" title="akcje grupowe"> + <span class="ui-icon ui-icon-star">akcje grupowe</span> + </button> + <button id="add-button" title="dodaj leksem"> + <span class="ui-icon ui-icon-plus">dodaj leksem</span> + </button> + {% endif %} + </div> + <table id="scroll"></table> + <!--div id="pager"></div--> + </div> + <div id="right"> + <div class="tabs"> + <ul> + <li><a href="#edit" id="edit-tab">Edycja</a></li> + <li><a href="#variant0">Formy bazowe</a></li> + <li><a href="#variant1">Wszystkie formy</a></li> + <li><a href="#odm">Formy z sjp.pl</a></li> + <li><a href="#history">Historia</a></li> + </ul> + <div id="edit"></div> + <div id="variant0"></div> + <div id="variant1"></div> + <div id="odm"></div> + <div id="history"></div> + </div> + </div> +{% endblock %} + +{% block modal_elements %} + <div id="sort-dialog" title="Porządek sortowania"> + <ul id='sort-rule-list'> + </ul> + <input type="button" id="save-sort-order" value="Zatwierdź"/> + <input type="button" id="cancel-sort-order" value="Anuluj"/> + </div> + <div id="load-filter-dialog" title="Wybierz filtr"> + <ul id="filter-list" class="load-dialog-list"> + </ul> + </div> + <div id="group-action-dialog" title="Wybierz akcję grupową"> + <button id="add-action" title="dodaj akcję"> + <span class="ui-icon ui-icon-plus">dodaj akcję</span> + </button> + <table id="action-list" class="group-action-list"> + </table> + </div> + <div id="choose-homonym-dialog" title="Wybierz homonim"> + <table id="homonym-list" class="choose-homonym-list"> + <thead> + <tr> + <th>Nr hom.</th> + <th>Char. fleks.</th> + <th>Wzór</th> + </tr> + </thead> + <tbody> + </tbody> + </table> + </div> + <div id="prompter-dialog" title="Podpowiadacz wzorów"> + <p> + + <div id="prompter-dialog-left"> + <table id="prompter-list"> + </table> + <ul id="prompter-checkboxes"> + <li> + <input type="checkbox" id="prompter-ic"/> + <label for="prompter-ic">Uwzględniaj charakterystykę + fleksyjną</label> + </li> + <li> + <input type="checkbox" id="prompter-commonness"/> + <label for="prompter-commonness">Uwzględniaj + pospolitość</label> + </li> + <li> + <input type="checkbox" id="prompter-blacklist"/> + <label for="prompter-blacklist">Pomijaj wzory + nietypowe</label> + </li> + </ul> + </div> + <div id="prompter-table-preview"> + </div> + </p> + </div> + <div id="default-owner-dialog" title="Wybór domyślnego słownika"> + <p> + Wybierz słownik domyślnie ustawiany jako właściciel przy dodawaniu + leksemów. + </p> + + <p> + W przyszłości wybór można będzie zmienić w Ustawieniach. + </p> + + <p> + <ul id="default-owner"> + {% for vocab in editable_vocabularies %} + <li> + <input type="radio" value="{{ vocab.pk }}" + name="owner"/> {{ vocab.id }} + </li> + {% endfor %} + </ul> + </p> + </div> +{% endblock %} diff --git a/dictionary/util.py b/dictionary/util.py index 895076b..69b942b 100644 --- a/dictionary/util.py +++ b/dictionary/util.py @@ -33,9 +33,9 @@ def compare_patterns(patterns): bfl_pks0 = set(pattern0.endings.values_list('base_form_label', flat=True)) differing_bfls = set() forms = dict((p, dict((bfl, root + e) for bfl, e - in - p.endings.values_list('base_form_label', 'string'))) - for p, root in patterns) + in + p.endings.values_list('base_form_label', 'string'))) + for p, root in patterns) for pattern, root in patterns[1:]: bfl_pks = set(pattern.endings.values_list('base_form_label', flat=True)) for pk in bfl_pks ^ bfl_pks0: # różnica symetryczna @@ -47,6 +47,6 @@ def compare_patterns(patterns): differing_bfls.add(ending.base_form_label.pk) differing_bfls = list(BaseFormLabel.objects.filter(pk__in=differing_bfls)) diffs = dict((pattern, [(bfl, forms[pattern].get(bfl.pk)) - for bfl in differing_bfls]) - for pattern, root in patterns) + for bfl in differing_bfls]) + for pattern, root in patterns) return diffs diff --git a/dictionary/views.py b/dictionary/views.py index 74a644c..2c5a1e2 100644 --- a/dictionary/views.py +++ b/dictionary/views.py @@ -53,7 +53,7 @@ def lexeme_view(request): for cr_type in CrossReferenceType.objects.order_by('symbol'): cr_type_options.append( (cr_type.pk, - '%s %s->%s' % (cr_type.symbol, cr_type.from_pos, cr_type.to_pos))) + '%s %s->%s' % (cr_type.symbol, cr_type.from_pos, cr_type.to_pos))) default_owner = request.user.usersettings.default_owner js_vars = { 'ajax_get_page': reverse('get_lexemes'), @@ -102,13 +102,19 @@ def lexeme_view(request): 'default_owner': default_owner.id if default_owner else '', } session_variables = ( - 'filters', 'sort_rules', 'colModel', 'colNames', 'remap') + 'filters', 'sort_rules', 'colModel', 'colNames', 'remap') for var in session_variables: if var in request.session: js_vars[var] = request.session[var] return {'js_vars': js_vars, 'editable_vocabularies': editable_vocabs} +@permission_required('dictionary.view_lexeme') +@render('lexeme_slickgrid_view.html') +def lexeme_slickgrid_view(request): + return lexeme_view(request) + + @permission_required('dictionary.view_pattern') @render() def pattern_view(request): @@ -163,7 +169,7 @@ def manager_view(request): 'users': User.objects.order_by('username'), 'vocabularies_info': [ (v, request.user in v.all_managers(), - v.all_viewers(), v.all_editors(), v.all_managers()) + v.all_viewers(), v.all_editors(), v.all_managers()) for v in Vocabulary.objects.order_by('id')], 'js_vars': { 'ajax_add_vocabulary': reverse('add_vocabulary'), @@ -280,12 +286,12 @@ def manage_qualifiers(request): qualifier_forms = [] for q in qualifiers: change_class_form = ChangeClassForm(instance=q, - prefix='cec%s' % q.pk) + prefix='cec%s' % q.pk) qualifier_forms.append((q, change_class_form)) form_list.append( (vocabulary.id, add_exclusion_class_form, - remove_exclusion_class_form, - add_qualifier_form, qualifier_forms)) + remove_exclusion_class_form, + add_qualifier_form, qualifier_forms)) to_return['form_list'] = form_list return to_return @@ -338,7 +344,8 @@ def export(request): if regex: magic_qualifiers.append( ( - regex, magic_form.cleaned_data['qualifier'].pk)) + regex, + magic_form.cleaned_data['qualifier'].pk)) else: normal_qualifiers.append( magic_form.cleaned_data['qualifier'].pk) diff --git a/media/js/common.js b/media/js/common.js index 815b6bf..4e26e11 100644 --- a/media/js/common.js +++ b/media/js/common.js @@ -398,3 +398,20 @@ function interpret_hash(hash) { } old_hash = hash; } + +var ctrl; + +function busy_on() { + "use strict"; + ctrl = getBusyOverlay( + 'viewport', + {color: 'black', opacity: 0.5}, + {size: 100}); +} +common.busy_on = busy_on; + +function busy_off() { + "use strict"; + if (ctrl) ctrl.remove(); +} +common.busy_off = busy_off; \ No newline at end of file diff --git a/media/js/jqgrid.js b/media/js/jqgrid.js index b37a449..998ca50 100644 --- a/media/js/jqgrid.js +++ b/media/js/jqgrid.js @@ -4,7 +4,7 @@ var timeoutHnd; var changed; var jqgrid = { grid: undefined, - ctrl: undefined // do pokazywania, ze laduje + created: false }; function put_filter(filter) { @@ -150,7 +150,10 @@ $(function () { } return ok; }, - onSelectRow: jqgrid.load_content, + onSelectRow: function (id) { + common.busy_on(); + jqgrid.load_content(id); + }, beforeRequest: function () { var empty, filters; if (!jqgrid.grid.jqGrid('getGridParam', 'search')) { @@ -376,7 +379,7 @@ function show_changed() { $('#' + jqgrid.edit_form_submit_id).button('enable'); $('#' + jqgrid.edit_form_cancel_id).button('enable'); $('#edit-tab').html('<strong>Edycja (niezapisane)</strong>'); - $(window).on('beforeunload', function() { + $(window).on('beforeunload', function () { return "Są niezapisane zmiany."; }); } diff --git a/media/js/lexeme-view.js b/media/js/lexeme-view.js index a1013a2..9b77c9c 100644 --- a/media/js/lexeme-view.js +++ b/media/js/lexeme-view.js @@ -1,4 +1,4 @@ -var prompter_ctrl, created; +var prompter_ctrl; function init_selection(jq) { "use strict"; @@ -499,7 +499,7 @@ function load_content(id, is_created) { data: {id: id}, callback: function () { edit_form_init(); - created = Boolean(is_created); + jqgrid.created = Boolean(is_created); } }); $.ajaxJSON({ @@ -573,13 +573,12 @@ function edit_form_init() { show_homonym_count(); deleted = []; deleted_cr = []; - created = false; + jqgrid.created = false; init_selection($('#id_part_of_speech')); init_selection($('.inflection-characteristic')); init_selection(new_owner_elem); jqgrid.hide_changed(); - if (jqgrid.ctrl) - jqgrid.ctrl.remove(); + common.busy_off(); } jqgrid.edit_form_init = edit_form_init; @@ -623,10 +622,7 @@ jqgrid.edit_form_submit = function () { form_data.push({name: name, value: value}); }); form_data.push({name: 'classification_values', value: cvs}); - jqgrid.ctrl = getBusyOverlay( - 'viewport', - {color: 'black', opacity: 0.5}, - {size: 100}); + common.busy_on(); var result = $.ajaxJSON({ method: 'post', url: $dj.ajax_update_lexeme, @@ -640,21 +636,19 @@ jqgrid.edit_form_submit = function () { jqgrid.hide_changed(); jqgrid.grid.jqGrid('setGridParam', {'setOnComplete': true}); jqgrid.grid.trigger("reloadGrid"); - load_content(lexeme_id()); + jqgrid.load_content(lexeme_id()); }, error_callback: function (xhr, status, error) { common.error_alert(status + ': ' + error); - if (jqgrid.ctrl) - jqgrid.ctrl.remove(); + common.busy_off(); }, bad_data_callback: function () { - if (jqgrid.ctrl) - jqgrid.ctrl.remove(); + common.busy_off(); return true; } }); - if (result === false && jqgrid.ctrl) { - jqgrid.ctrl.remove(); + if (result === false) { + common.busy_off(); } return false; }; @@ -1124,7 +1118,7 @@ function make_new_lexeme() { data: {vocab_id: $dj.default_owner}, description: "Utworzenie leksemu", callback: function (data) { - load_content(data.id, true); + jqgrid.load_content(data.id, true); } }); } diff --git a/media/js/lib/jquery-1.7.1.min.js b/media/js/lib/jquery-1.7.1.min.js index 9aba6bb..e3cf4ed 100644 --- a/media/js/lib/jquery-1.7.1.min.js +++ b/media/js/lib/jquery-1.7.1.min.js @@ -607,8 +607,8 @@ i.done(function () { e = "resolved" }, c.disable, d.lock).fail(function () { - e = "rejected" - }, b.disable, d.lock), a && a.call(i, i); + e = "rejected" + }, b.disable, d.lock), a && a.call(i, i); return i }, when: function (a) { function m(a) { @@ -2146,13 +2146,13 @@ return this.map(function () { return this.elements ? f.makeArray(this.elements) : this }).filter(function () { - return this.name && !this.disabled && (this.checked || bO.test(this.nodeName) || bI.test(this.type)) - }).map(function (a, b) { - var c = f(this).val(); - return c == null ? null : f.isArray(c) ? f.map(c, function (a, c) { - return{name: b.name, value: a.replace(bF, "\r\n")} - }) : {name: b.name, value: c.replace(bF, "\r\n")} - }).get() + return this.name && !this.disabled && (this.checked || bO.test(this.nodeName) || bI.test(this.type)) + }).map(function (a, b) { + var c = f(this).val(); + return c == null ? null : f.isArray(c) ? f.map(c, function (a, c) { + return{name: b.name, value: a.replace(bF, "\r\n")} + }) : {name: b.name, value: c.replace(bF, "\r\n")} + }).get() }}), f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function (a, b) { f.fn[b] = function (a) { return this.on(b, a) diff --git a/media/js/lib/jquery-ui-1.8.21.custom.min.js b/media/js/lib/jquery-ui-1.8.21.custom.min.js index 2ab7ebe..ac838d1 100644 --- a/media/js/lib/jquery-ui-1.8.21.custom.min.js +++ b/media/js/lib/jquery-ui-1.8.21.custom.min.js @@ -204,8 +204,8 @@ this.element.bind("mousedown." + this.widgetName,function (a) { return b._mouseDown(a) }).bind("click." + this.widgetName, function (c) { - if (!0 === a.data(c.target, b.widgetName + ".preventClickEvent"))return a.removeData(c.target, b.widgetName + ".preventClickEvent"), c.stopImmediatePropagation(), !1 - }), this.started = !1 + if (!0 === a.data(c.target, b.widgetName + ".preventClickEvent"))return a.removeData(c.target, b.widgetName + ".preventClickEvent"), c.stopImmediatePropagation(), !1 + }), this.started = !1 }, _mouseDestroy: function () { this.element.unbind("." + this.widgetName), a(document).unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate) }, _mouseDown: function (b) { @@ -1025,15 +1025,15 @@ if (c.disabled)return; a(this).addClass("ui-state-hover") }).bind("mouseleave.accordion",function () { - if (c.disabled)return; - a(this).removeClass("ui-state-hover") - }).bind("focus.accordion",function () { - if (c.disabled)return; - a(this).addClass("ui-state-focus") - }).bind("blur.accordion", function () { - if (c.disabled)return; - a(this).removeClass("ui-state-focus") - }), b.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"); + if (c.disabled)return; + a(this).removeClass("ui-state-hover") + }).bind("focus.accordion",function () { + if (c.disabled)return; + a(this).addClass("ui-state-focus") + }).bind("blur.accordion", function () { + if (c.disabled)return; + a(this).removeClass("ui-state-focus") + }), b.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"); if (c.navigation) { var d = b.element.find("a").filter(c.navigationFilter).eq(0); if (d.length) { @@ -1182,24 +1182,24 @@ if (h.disabled)return; a(this).addClass("ui-state-hover"), this === c && a(this).addClass("ui-state-active") }).bind("mouseleave.button",function () { - if (h.disabled)return; - a(this).removeClass(l) - }).bind("click.button", function (a) { - h.disabled && (a.preventDefault(), a.stopImmediatePropagation()) - }), this.element.bind("focus.button",function () { + if (h.disabled)return; + a(this).removeClass(l) + }).bind("click.button", function (a) { + h.disabled && (a.preventDefault(), a.stopImmediatePropagation()) + }), this.element.bind("focus.button",function () { b.buttonElement.addClass(m) }).bind("blur.button", function () { - b.buttonElement.removeClass(m) - }), i && (this.element.bind("change.button", function () { + b.buttonElement.removeClass(m) + }), i && (this.element.bind("change.button", function () { if (f)return; b.refresh() }), this.buttonElement.bind("mousedown.button",function (a) { if (h.disabled)return; f = !1, d = a.pageX, e = a.pageY }).bind("mouseup.button", function (a) { - if (h.disabled)return; - if (d !== a.pageX || e !== a.pageY)f = !0 - })), this.type === "checkbox" ? this.buttonElement.bind("click.button", function () { + if (h.disabled)return; + if (d !== a.pageX || e !== a.pageY)f = !0 + })), this.type === "checkbox" ? this.buttonElement.bind("click.button", function () { if (h.disabled || f)return!1; a(this).toggleClass("ui-state-active"), b.buttonElement.attr("aria-pressed", b.element[0].checked) }) : this.type === "radio" ? this.buttonElement.bind("click.button", function () { @@ -1215,14 +1215,14 @@ c = null }) }).bind("mouseup.button",function () { - if (h.disabled)return!1; - a(this).removeClass("ui-state-active") - }).bind("keydown.button",function (b) { - if (h.disabled)return!1; - (b.keyCode == a.ui.keyCode.SPACE || b.keyCode == a.ui.keyCode.ENTER) && a(this).addClass("ui-state-active") - }).bind("keyup.button", function () { - a(this).removeClass("ui-state-active") - }), this.buttonElement.is("a") && this.buttonElement.keyup(function (b) { + if (h.disabled)return!1; + a(this).removeClass("ui-state-active") + }).bind("keydown.button",function (b) { + if (h.disabled)return!1; + (b.keyCode == a.ui.keyCode.SPACE || b.keyCode == a.ui.keyCode.ENTER) && a(this).addClass("ui-state-active") + }).bind("keyup.button", function () { + a(this).removeClass("ui-state-active") + }), this.buttonElement.is("a") && this.buttonElement.keyup(function (b) { b.keyCode === a.ui.keyCode.SPACE && a(this).click() })), this._setOption("disabled", h.disabled), this._resetButton() }, _determineButtonType: function () { @@ -1288,18 +1288,18 @@ var b = this, d = b.options, e = d.title || " ", f = a.ui.dialog.getTitleId(b.element), g = (b.uiDialog = a("<div></div>")).appendTo(document.body).hide().addClass(c + d.dialogClass).css({zIndex: d.zIndex}).attr("tabIndex", -1).css("outline", 0).keydown(function (c) { d.closeOnEscape && !c.isDefaultPrevented() && c.keyCode && c.keyCode === a.ui.keyCode.ESCAPE && (b.close(c), c.preventDefault()) }).attr({role: "dialog", "aria-labelledby": f}).mousedown(function (a) { - b.moveToTop(!1, a) - }), h = b.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g), i = (b.uiDialogTitlebar = a("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g), j = a('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role", "button").hover(function () { + b.moveToTop(!1, a) + }), h = b.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g), i = (b.uiDialogTitlebar = a("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g), j = a('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role", "button").hover(function () { j.addClass("ui-state-hover") },function () { j.removeClass("ui-state-hover") }).focus(function () { - j.addClass("ui-state-focus") - }).blur(function () { - j.removeClass("ui-state-focus") - }).click(function (a) { - return b.close(a), !1 - }).appendTo(i), k = (b.uiDialogTitlebarCloseText = a("<span></span>")).addClass("ui-icon ui-icon-closethick").text(d.closeText).appendTo(j), l = a("<span></span>").addClass("ui-dialog-title").attr("id", f).html(e).prependTo(i); + j.addClass("ui-state-focus") + }).blur(function () { + j.removeClass("ui-state-focus") + }).click(function (a) { + return b.close(a), !1 + }).appendTo(i), k = (b.uiDialogTitlebarCloseText = a("<span></span>")).addClass("ui-icon ui-icon-closethick").text(d.closeText).appendTo(j), l = a("<span></span>").addClass("ui-dialog-title").attr("id", f).html(e).prependTo(i); a.isFunction(d.beforeclose) && !a.isFunction(d.beforeClose) && (d.beforeClose = d.beforeclose), i.find("*").add(i).disableSelection(), d.draggable && a.fn.draggable && b._makeDraggable(), d.resizable && a.fn.resizable && b._makeResizable(), b._createButtons(d.buttons), b._isOpen = !1, a.fn.bgiframe && g.bgiframe() }, _init: function () { this.options.autoOpen && this.open() @@ -1697,10 +1697,10 @@ if (!c.length)return; c.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover") }).bind("mouseover", function (c) { - var d = $(c.target).closest(b); - if ($.datepicker._isDisabledDatepicker(instActive.inline ? a.parent()[0] : instActive.input[0]) || !d.length)return; - d.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"), d.addClass("ui-state-hover"), d.hasClass("ui-datepicker-prev") && d.addClass("ui-datepicker-prev-hover"), d.hasClass("ui-datepicker-next") && d.addClass("ui-datepicker-next-hover") - }) + var d = $(c.target).closest(b); + if ($.datepicker._isDisabledDatepicker(instActive.inline ? a.parent()[0] : instActive.input[0]) || !d.length)return; + d.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"), d.addClass("ui-state-hover"), d.hasClass("ui-datepicker-prev") && d.addClass("ui-datepicker-prev-hover"), d.hasClass("ui-datepicker-next") && d.addClass("ui-datepicker-next-hover") + }) } function extendRemove(a, b) { @@ -1748,8 +1748,8 @@ this._attachments(c, b), c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function (a, c, d) { b.settings[c] = d }).bind("getData.datepicker", function (a, c) { - return this._get(b, c) - }), this._autoSize(b), $.data(a, PROP_NAME, b), b.settings.disabled && this._disableDatepicker(a) + return this._get(b, c) + }), this._autoSize(b), $.data(a, PROP_NAME, b), b.settings.disabled && this._disableDatepicker(a) }, _attachments: function (a, b) { var c = this._get(b, "appendText"), d = this._get(b, "isRTL"); b.append && b.append.remove(), c && (b.append = $('<span class="' + this._appendClass + '">' + c + "</span>"), a[d ? "before" : "after"](b.append)), a.unbind("focus", this._showDatepicker), b.trigger && b.trigger.remove(); @@ -1780,8 +1780,8 @@ c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",function (a, c, d) { b.settings[c] = d }).bind("getData.datepicker", function (a, c) { - return this._get(b, c) - }), $.data(a, PROP_NAME, b), this._setDate(b, this._getDefaultDate(b), !0), this._updateDatepicker(b), this._updateAlternate(b), b.settings.disabled && this._disableDatepicker(a), b.dpDiv.css("display", "block") + return this._get(b, c) + }), $.data(a, PROP_NAME, b), this._setDate(b, this._getDefaultDate(b), !0), this._updateDatepicker(b), this._updateAlternate(b), b.settings.disabled && this._disableDatepicker(a), b.dpDiv.css("display", "block") }, _dialogDatepicker: function (a, b, c, d, e) { var f = this._dialogInst; if (!f) { @@ -2050,8 +2050,8 @@ [b, a] ] }).sort(function (a, b) { - return-(a[1].length - b[1].length) - }), f = -1; + return-(a[1].length - b[1].length) + }), f = -1; $.each(e, function (a, c) { var d = c[1]; if (b.substr(r, d.length).toLowerCase() == d.toLowerCase())return f = c[0], r += d.length, !1 diff --git a/media/js/lib/jquery.jqGrid.min.js b/media/js/lib/jquery.jqGrid.min.js index bc0b66d..2d52266 100644 --- a/media/js/lib/jquery.jqGrid.min.js +++ b/media/js/lib/jquery.jqGrid.min.js @@ -1587,9 +1587,9 @@ n = b(a.target).closest("tr.jqgrow"); b(n).attr("class") !== "ui-subgrid" && b(n).addClass("ui-state-hover") }).bind("mouseout", function (a) { - n = b(a.target).closest("tr.jqgrow"); - b(n).removeClass("ui-state-hover") - }); + n = b(a.target).closest("tr.jqgrow"); + b(n).removeClass("ui-state-hover") + }); var t, E, ha; b(a).before(c.hDiv).click(function (c) { A = @@ -3738,10 +3738,10 @@ a(this).hasClass("ui-state-disabled") || (a.isFunction(d.addfunc) ? d.addfunc.call(g) : a(g).jqGrid("editGridRow", "new", l)); return false }).hover(function () { - a(this).hasClass("ui-state-disabled") || a(this).addClass("ui-state-hover") - }, function () { - a(this).removeClass("ui-state-hover") - }), f = null); + a(this).hasClass("ui-state-disabled") || a(this).addClass("ui-state-hover") + }, function () { + a(this).removeClass("ui-state-hover") + }), f = null); d.edit && (f = a("<td class='ui-pg-button ui-corner-all'></td>"), e = e || {}, a(f).append("<div class='ui-pg-div'><span class='ui-icon " + d.editicon + "'></span>" + d.edittext + "</div>"), a("tr", b).append(f), a(f, b).attr({title: d.edittitle || "", id: e.id || "edit_" + h}).click(function () { if (!a(this).hasClass("ui-state-disabled")) { @@ -3753,10 +3753,10 @@ } return false }).hover(function () { - a(this).hasClass("ui-state-disabled") || a(this).addClass("ui-state-hover") - }, function () { - a(this).removeClass("ui-state-hover") - }), + a(this).hasClass("ui-state-disabled") || a(this).addClass("ui-state-hover") + }, function () { + a(this).removeClass("ui-state-hover") + }), f = null); d.view && (f = a("<td class='ui-pg-button ui-corner-all'></td>"), s = s || {}, a(f).append("<div class='ui-pg-div'><span class='ui-icon " + d.viewicon + "'></span>" + d.viewtext + "</div>"), a("tr", b).append(f), a(f, b).attr({title: d.viewtitle || "", id: s.id || "view_" + h}).click(function () { if (!a(this).hasClass("ui-state-disabled")) { @@ -3768,11 +3768,11 @@ } return false }).hover(function () { - a(this).hasClass("ui-state-disabled") || - a(this).addClass("ui-state-hover") - }, function () { - a(this).removeClass("ui-state-hover") - }), f = null); + a(this).hasClass("ui-state-disabled") || + a(this).addClass("ui-state-hover") + }, function () { + a(this).removeClass("ui-state-hover") + }), f = null); d.del && (f = a("<td class='ui-pg-button ui-corner-all'></td>"), r = r || {}, a(f).append("<div class='ui-pg-div'><span class='ui-icon " + d.delicon + "'></span>" + d.deltext + "</div>"), a("tr", b).append(f), a(f, b).attr({title: d.deltitle || "", id: r.id || "del_" + h}).click(function () { if (!a(this).hasClass("ui-state-disabled")) { var b; @@ -3798,10 +3798,10 @@ a(this).hasClass("ui-state-disabled") || (a.isFunction(d.searchfunc) ? d.searchfunc.call(g, t) : a(g).jqGrid("searchGrid", t)); return false }).hover(function () { - a(this).hasClass("ui-state-disabled") || a(this).addClass("ui-state-hover") - }, function () { - a(this).removeClass("ui-state-hover") - }), t.showOnLoad && + a(this).hasClass("ui-state-disabled") || a(this).addClass("ui-state-hover") + }, function () { + a(this).removeClass("ui-state-hover") + }), t.showOnLoad && !0 === t.showOnLoad && a(f, b).click(), f = null); d.refresh && (f = a("<td class='ui-pg-button ui-corner-all'></td>"), a(f).append("<div class='ui-pg-div'><span class='ui-icon " + d.refreshicon + "'></span>" + d.refreshtext + "</div>"), a("tr", b).append(f), a(f, b).attr({title: d.refreshtitle || "", id: "refresh_" + h}).click(function () { if (!a(this).hasClass("ui-state-disabled")) { @@ -3862,10 +3862,10 @@ a(this).hasClass("ui-state-disabled") || a.isFunction(d.onClickButton) && d.onClickButton.call(l, c); return!1 }).hover(function () { - a(this).hasClass("ui-state-disabled") || a(this).addClass("ui-state-hover") - }, function () { - a(this).removeClass("ui-state-hover") - }) + a(this).hasClass("ui-state-disabled") || a(this).addClass("ui-state-hover") + }, function () { + a(this).removeClass("ui-state-hover") + }) } } }) diff --git a/media/js/lib/jquery.layout.min-1.2.0.js b/media/js/lib/jquery.layout.min-1.2.0.js index f1edb88..a7c754e 100644 --- a/media/js/lib/jquery.layout.min-1.2.0.js +++ b/media/js/lib/jquery.layout.min-1.2.0.js @@ -419,8 +419,8 @@ toggle(pane); evt.stopPropagation(); }).mouseover(function (evt) { - evt.stopPropagation(); - }).addClass(tClass + " " + tClass + _pane + " " + tClass + _state + " " + tClass + _pane + _state).appendTo($R); + evt.stopPropagation(); + }).addClass(tClass + " " + tClass + _pane + " " + tClass + _state + " " + tClass + _pane + _state).appendTo($R); if (o.togglerContent_open)$("<span>" + o.togglerContent_open + "</span>").addClass("content content-open").css("display", s.isClosed ? "none" : "block").appendTo($T); if (o.togglerContent_closed)$("<span>" + o.togglerContent_closed + "</span>").addClass("content content-closed").css("display", s.isClosed ? "block" : "none").appendTo($T); if (o.applyDefaultStyles)$T.css(c.togglers.cssDef); diff --git a/media/js/pattern-view.js b/media/js/pattern-view.js index 1f01659..ad3d9b9 100644 --- a/media/js/pattern-view.js +++ b/media/js/pattern-view.js @@ -111,8 +111,7 @@ function edit_form_init() { $('#ending-list').find('.qualifiers').multiselect2(qualifier_options); deleted = []; jqgrid.hide_changed(); - if (jqgrid.ctrl) - jqgrid.ctrl.remove(); + common.busy_off(); } jqgrid.edit_form_init = edit_form_init; @@ -142,10 +141,7 @@ jqgrid.edit_form_submit = function () { ending_list.push({base_form_label: label, endings: endings}); }); form_data.push({name: 'ending_list', value: ending_list}); - jqgrid.ctrl = getBusyOverlay( - 'viewport', - {color: 'black', opacity: 0.5}, - {size: 100}); + common.busy_on(); $.ajaxJSON({ method: 'post', url: $dj.ajax_update_pattern, @@ -160,12 +156,10 @@ jqgrid.edit_form_submit = function () { }, error_callback: function (xhr, status, error) { common.error_alert(status + ': ' + error); - if (jqgrid.ctrl) - jqgrid.ctrl.remove(); + common.busy_off(); }, bad_data_callback: function () { - if (jqgrid.ctrl) - jqgrid.ctrl.remove(); + common.busy_off(); return true; } }); @@ -186,4 +180,5 @@ function get_new_row_html() { return row_html; } -jqgrid.add_buttons = function() {}; +jqgrid.add_buttons = function () { +}; diff --git a/paginer/decorators.py b/paginer/decorators.py index f50574c..21becc4 100644 --- a/paginer/decorators.py +++ b/paginer/decorators.py @@ -15,8 +15,8 @@ def paginated(func): paginer = output['paginer'] js_vars = output.get('js_vars', {}) js_vars['paginer'] = dict((id, (d['type'], d['params'], d['action'], - d['group_actions'])) - for (id, d) in paginer.dict.iteritems()) + d['group_actions'])) + for (id, d) in paginer.dict.iteritems()) js_vars['original_paginer'] = js_vars['paginer'] js_vars['ajax_paginer'] = reverse('get_page_content') js_vars['ajax_new_filter_row'] = reverse('new_filter_row') diff --git a/skrypty/filter_forms.py b/skrypty/filter_forms.py index d023db3..8fe06f1 100755 --- a/skrypty/filter_forms.py +++ b/skrypty/filter_forms.py @@ -27,7 +27,7 @@ def test_adj(tag): def test_other(tag): return not ( - test_subst(tag) or test_v(tag) or test_ndm(tag) or test_adj(tag)) + test_subst(tag) or test_v(tag) or test_ndm(tag) or test_adj(tag)) def test(lc, tag): diff --git a/sqlstacktrace/__init__.py b/sqlstacktrace/__init__.py index 8fd7cf3..8205f97 100644 --- a/sqlstacktrace/__init__.py +++ b/sqlstacktrace/__init__.py @@ -5,7 +5,7 @@ from .replacer import replace_call SQL_STACKTRACE = settings.SQL_STACKTRACE if hasattr(settings, - 'SQL_STACKTRACE') else False + 'SQL_STACKTRACE') else False if SQL_STACKTRACE: from django.db.backends import BaseDatabaseWrapper from .stacktracecursor import StacktraceCursorWrapper diff --git a/sqlstacktrace/stacktrace.py b/sqlstacktrace/stacktrace.py index 076aaf7..a73acb8 100644 --- a/sqlstacktrace/stacktrace.py +++ b/sqlstacktrace/stacktrace.py @@ -53,7 +53,7 @@ def getframeinfo(frame, context=1): lines = index = None return inspect.Traceback(filename, lineno, frame.f_code.co_name, lines, - index) + index) def get_stack(context=1): diff --git a/sqlstacktrace/stacktracecursor.py b/sqlstacktrace/stacktracecursor.py index e86e468..ce47f9c 100644 --- a/sqlstacktrace/stacktracecursor.py +++ b/sqlstacktrace/stacktracecursor.py @@ -20,11 +20,11 @@ class StacktraceCursorWrapper(CursorWrapper): stacktrace.append( u"""File "{0}", line {1}, in {2}\n\t{3}""".format( *[smart_unicode(stack_data) for stack_data in - stack]).replace("%", "%%")) + stack]).replace("%", "%%")) stacktrace = "\n".join(stacktrace) stacktrace = stacktrace.replace('/*', '\/\*').replace('*/', '\*\/') except: stacktrace = u"WITHOUT STACKTRACE" sql = u"{sql} \n/* {stacktrace} \n*/".format(stacktrace=stacktrace, - sql=smart_unicode(sql)) + sql=smart_unicode(sql)) return self.cursor.execute(sql, params) diff --git a/urls.py b/urls.py index 75e4abc..fc51541 100644 --- a/urls.py +++ b/urls.py @@ -9,116 +9,105 @@ from common.util import url #admin.autodiscover() urlpatterns = patterns('', - # Example: - # (r'^lexeme_forge/', include('lexeme_forge.foo.urls')), - url(r'^accounts/register/$', 'accounts.views.register'), - url(r'^accounts/settings/$', 'accounts.views.settings'), - url(r'^accounts/manage-groups/$', - 'accounts.views.manage_groups'), - (r'^accounts/', - include('registration.backends.default.urls')), + # Example: + # (r'^lexeme_forge/', include('lexeme_forge.foo.urls')), + url(r'^accounts/register/$', 'accounts.views.register'), + url(r'^accounts/settings/$', 'accounts.views.settings'), + url(r'^accounts/manage-groups/$', + 'accounts.views.manage_groups'), + (r'^accounts/', include('registration.backends.default.urls')), - url(r'^ajax/history-table/$', - 'dictionary.ajax_history.history_table'), - url(r'^ajax/prompter-list/$', - 'dictionary.ajax_prompter.prompter_list'), + url(r'^ajax/history-table/$', + 'dictionary.ajax_history.history_table'), + url(r'^ajax/prompter-list/$', + 'dictionary.ajax_prompter.prompter_list'), - url(r'^%s(?P<path>.*)$' % settings.MEDIA_URL.lstrip('/'), - 'django.views.static.serve', - kwargs={'document_root': settings.MEDIA_ROOT}), + url(r'^%s(?P<path>.*)$' % settings.MEDIA_URL.lstrip('/'), + 'django.views.static.serve', + kwargs={'document_root': settings.MEDIA_ROOT}), ) urlpatterns += patterns('dictionary.ajax_lexeme_view', - url(r'^ajax/inflection_tables/$', - 'get_inflection_tables'), - url(r'^ajax/odm-forms/$', 'odm_forms'), - url(r'^ajax/lexeme_edit_form/$', 'lexeme_edit_form'), - url(r'^ajax/update_lexeme/$', 'update_lexeme'), - url(r'^ajax/table_preview/$', 'table_preview'), - url(r'^ajax/new_lip_row/$', 'new_lip_edit_row'), - url(r'^ajax/save_columns/$', 'save_columns'), - url(r'^ajax/add_vocabulary/$', 'add_vocabulary'), - url(r'^ajax/get_privileges/$', - 'vocabulary_permissions'), - url(r'^ajax/set_privilege$', - 'set_vocabulary_permission'), - url(r'^ajax/new_cr_row/$', 'new_cross_reference_row'), - url(r'^ajax/delete_lexeme/$', 'delete_lexeme'), - url(r'^ajax/check-pos/$', 'check_pos'), - url(r'^ajax/check-pattern/$', 'check_pattern'), - url(r'^ajax/check-classifications/$', - 'check_classifications'), - url(r'^ajax/get-ics/$', 'get_ics'), - url(r'^ajax/create-lexeme/$', 'create_lexeme'), - url(r'^ajax/classification-forms/$', - 'classification_forms'), - url(r'^ajax/extra-attributes/$', 'extra_attributes'), - url(r'^ajax/check-attributes/$', 'check_attributes'), - url(r'^ajax/homonym-count/$', 'homonym_count'), - url(r'^ajax/cr-homonyms/$', 'cr_homonyms'), - url(r'^ajax/new-action-row/$', 'new_action_row'), - url(r'^ajax/dynamic-fields/$', 'dynamic_action_fields'), - url(r'^ajax/execute-actions$', 'execute_group_actions'), + url(r'^ajax/inflection_tables/$', 'get_inflection_tables'), + url(r'^ajax/odm-forms/$', 'odm_forms'), + url(r'^ajax/lexeme_edit_form/$', 'lexeme_edit_form'), + url(r'^ajax/update_lexeme/$', 'update_lexeme'), + url(r'^ajax/table_preview/$', 'table_preview'), + url(r'^ajax/new_lip_row/$', 'new_lip_edit_row'), + url(r'^ajax/save_columns/$', 'save_columns'), + url(r'^ajax/add_vocabulary/$', 'add_vocabulary'), + url(r'^ajax/get_privileges/$', 'vocabulary_permissions'), + url(r'^ajax/set_privilege$', 'set_vocabulary_permission'), + url(r'^ajax/new_cr_row/$', 'new_cross_reference_row'), + url(r'^ajax/delete_lexeme/$', 'delete_lexeme'), + url(r'^ajax/check-pos/$', 'check_pos'), + url(r'^ajax/check-pattern/$', 'check_pattern'), + url(r'^ajax/check-classifications/$', 'check_classifications'), + url(r'^ajax/get-ics/$', 'get_ics'), + url(r'^ajax/create-lexeme/$', 'create_lexeme'), + url(r'^ajax/classification-forms/$', 'classification_forms'), + url(r'^ajax/extra-attributes/$', 'extra_attributes'), + url(r'^ajax/check-attributes/$', 'check_attributes'), + url(r'^ajax/homonym-count/$', 'homonym_count'), + url(r'^ajax/cr-homonyms/$', 'cr_homonyms'), + url(r'^ajax/new-action-row/$', 'new_action_row'), + url(r'^ajax/dynamic-fields/$', 'dynamic_action_fields'), + url(r'^ajax/execute-actions$', 'execute_group_actions'), ) urlpatterns += patterns('dictionary.ajax_lexeme_jqgrid', - url(r'^ajax/lexemes/$', 'get_lexemes'), - url(r'^ajax/location/$', 'get_location'), - url(r'^ajax/find_id/$', 'find_id'), + url(r'^ajax/lexemes/$', 'get_lexemes'), + url(r'^ajax/location/$', 'get_location'), + url(r'^ajax/find_id/$', 'find_id'), ) urlpatterns += patterns('dictionary.ajax_filters', - url(r'^ajax/save_filter/$', 'save_filter'), - url(r'^ajax/get_filters/$', 'get_filters'), - url(r'^ajax/delete_filter/$', 'delete_filter'), + url(r'^ajax/save_filter/$', 'save_filter'), + url(r'^ajax/get_filters/$', 'get_filters'), + url(r'^ajax/delete_filter/$', 'delete_filter'), ) urlpatterns += patterns('dictionary.ajax_pattern_view', - url(r'^ajax/patterns/objects/$', 'get_patterns'), - url(r'^ajax/patterns/find_id/$', 'find_id', - name='patterns_find_id'), - url(r'^ajax/patterns/location/$', 'get_location', - name='patterns_get_location'), - url(r'^ajax/patterns/save_columns/$', 'save_columns', - name='patterns_save_columns'), - url(r'^ajax/patterns/pattern_edit_form/$', - 'pattern_edit_form'), - url(r'^ajax/patterns/new_ending_row/$', - 'new_ending_row'), - url(r'^ajax/update_pattern/$', 'update_pattern'), + url(r'^ajax/patterns/objects/$', 'get_patterns'), + url(r'^ajax/patterns/find_id/$', 'find_id', name='patterns_find_id'), + url(r'^ajax/patterns/location/$', 'get_location', + name='patterns_get_location'), + url(r'^ajax/patterns/save_columns/$', 'save_columns', + name='patterns_save_columns'), + url(r'^ajax/patterns/pattern_edit_form/$', 'pattern_edit_form'), + url(r'^ajax/patterns/new_ending_row/$', 'new_ending_row'), + url(r'^ajax/update_pattern/$', 'update_pattern'), ) urlpatterns += patterns('dictionary.ajax_export', - url(r'^ajax/new_qualifier_row/$', - 'magic_qualifier_row'), - url(r'^ajax/save_export_data/$', 'save_export_data'), - url(r'^ajax/get_export_data/$', 'get_export_data'), - url(r'^ajax/delete_export_data/$', - 'delete_export_data'), + url(r'^ajax/new_qualifier_row/$', 'magic_qualifier_row'), + url(r'^ajax/save_export_data/$', 'save_export_data'), + url(r'^ajax/get_export_data/$', 'get_export_data'), + url(r'^ajax/delete_export_data/$', 'delete_export_data'), ) urlpatterns += patterns('accounts.ajax', - url(r'^ajax/set_group/$', 'set_group'), - url(r'^ajax/save-default-owner/$', - 'save_default_owner'), + url(r'^ajax/set_group/$', 'set_group'), + url(r'^ajax/save-default-owner/$', 'save_default_owner'), ) urlpatterns += patterns('dictionary.views', - url(r'^$', 'lexeme_view'), - url(r'^wzory/$', 'pattern_view'), - url(r'^zadania/$', 'tasks'), - url(r'^raporty/$', 'reports'), - url(r'^widok-wydawcy/$', 'manager_view'), - url(r'^klasyfikacje/$', 'manage_classifications'), - url(r'^kwalifikatory/$', 'manage_qualifiers'), - url(r'^historia/$', 'history_view'), - url(r'^eksport/$', 'export'), - url(r'^administracja/$', 'management_menu'), - url(r'^WSJP/(.+)/$', 'wsjp_table'), + url(r'^$', 'lexeme_view'), + url(r'^slickgrid/$', 'lexeme_slickgrid_view'), + url(r'^wzory/$', 'pattern_view'), + url(r'^zadania/$', 'tasks'), + url(r'^raporty/$', 'reports'), + url(r'^widok-wydawcy/$', 'manager_view'), + url(r'^klasyfikacje/$', 'manage_classifications'), + url(r'^kwalifikatory/$', 'manage_qualifiers'), + url(r'^historia/$', 'history_view'), + url(r'^eksport/$', 'export'), + url(r'^administracja/$', 'management_menu'), + url(r'^WSJP/(.+)/$', 'wsjp_table'), ) urlpatterns += patterns('paginer.ajax', - url(r'^ajax/get-page/$', 'get_page_content'), - url(r'^ajax/new-filter-row/$', 'new_filter_row'), - url(r'^ajax/dynamic-field/$', 'field_form'), + url(r'^ajax/get-page/$', 'get_page_content'), + url(r'^ajax/new-filter-row/$', 'new_filter_row'), + url(r'^ajax/dynamic-field/$', 'field_form'), ) \ No newline at end of file diff --git a/urls_main.py b/urls_main.py index b40b616..c61bb6c 100644 --- a/urls_main.py +++ b/urls_main.py @@ -8,5 +8,5 @@ else: prefix = r'^' urlpatterns = patterns('', - (prefix, include('urls')), + (prefix, include('urls')), )