Commit cca8e671aef9742fe10df769f467ba61fbc4e33e
1 parent
7c545d6a
poprawiony bug z podpowiadaczem dla nierzeczowników
Showing
2 changed files
with
3 additions
and
5 deletions
dictionary/ajax_lexeme_view.py
... | ... | @@ -8,9 +8,9 @@ from dictionary.ajax_lexeme_slickgrid import LexemeQuery |
8 | 8 | from dictionary.auto_derivatives import lexeme_derivatives, create_derivative |
9 | 9 | from dictionary.models import Lexeme, LexemeInflectionPattern, PartOfSpeech, \ |
10 | 10 | Pattern, Vocabulary, Qualifier, prepare_table, ClassificationValue, \ |
11 | - CrossReference, InputLexeme, CrossReferenceType, \ | |
12 | - filter_visible, editable_vocabularies, visible_qualifiers, \ | |
13 | - LexemeAttributeValue, Gender, LexemeAttribute, LexemeAV, LexemeCV | |
11 | + CrossReference, InputLexeme, CrossReferenceType, editable_vocabularies, \ | |
12 | + visible_qualifiers, LexemeAttributeValue, Gender, LexemeAttribute, \ | |
13 | + LexemeAV, LexemeCV | |
14 | 14 | from dictionary.forms import LexemeEditForm, LIPEditForm, ClassificationForm, \ |
15 | 15 | CrossReferenceForm, ActionFieldForm, ACTION_FIELDS,\ |
16 | 16 | LexemeOpenAttributeForm, LexemeClosedAttributeForm, \ |
... | ... |
dictionary/ajax_prompter.py
... | ... | @@ -21,8 +21,6 @@ def make_list(user, entry, pos, gender, cvs, bl_check): |
21 | 21 | lips = lips.filter(gender=gender) |
22 | 22 | if cvs: |
23 | 23 | lips = lips.filter(lexeme__classificationvalue__in=cvs) |
24 | - else: | |
25 | - lips = lips.exclude(lexeme__classificationvalue=None) | |
26 | 24 | lips = lips.order_by('lexeme__entry') |
27 | 25 | feature_sets = set() |
28 | 26 | bad_inflections = set() |
... | ... |