Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(1)  |  Derive(0)  |  Import(4)

src/d/a/daisyproducer-HEAD/dictionary/views.py   daisyproducer(Download)
from daisyproducer.dictionary.brailleTables import writeLocalTables, getTables, write_words_with_wrong_default_translation, translate
from daisyproducer.dictionary.forms import RestrictedWordForm, ConfirmWordForm, ConflictingWordForm, ConfirmDeferredWordForm, PartialGlobalWordForm, LookupGlobalWordForm, GlobalWordBothGradesForm, FilterForm, PaginationForm, FilterWithGradeForm
from daisyproducer.dictionary.models import GlobalWord, LocalWord
from daisyproducer.dictionary.importExport import exportWords
from daisyproducer.statistics.models import DocumentStatistic
        for word in unconfirmed_homographs - covered_entries:
            document = Document.objects.filter(localword__grade=grade, localword__type=5, localword__isConfirmed=False, localword__untranslated=word)[0]
            w = LocalWord(untranslated=word, 
                          braille=translate(getTables(grade), word),
                          grade=grade, type=0, document=document)

src/d/a/daisyproducer-HEAD/dictionary/forms.py   daisyproducer(Download)
# coding=utf-8
import re
 
from daisyproducer.dictionary.models import Word, LocalWord, GlobalWord
from daisyproducer.dictionary.models import VALID_BRAILLE_RE, VALID_HOMOGRAPH_RE

src/d/a/daisyproducer-HEAD/dictionary/admin.py   daisyproducer(Download)
from daisyproducer.dictionary.models import GlobalWord, LocalWord
from django.contrib import admin
 
class GlobalWordAdmin(admin.ModelAdmin):
    list_display = ('untranslated', 'braille', 'grade', 'type', 'homograph_disambiguation')

src/d/a/daisyproducer-HEAD/dictionary/brailleTables.py   daisyproducer(Download)
import louis
 
from daisyproducer.dictionary.models import LocalWord
from django.utils.encoding import smart_unicode