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

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/m/a/manabi-HEAD/apps/flashcards/management/commands/flashcards_init.py   manabi(Download)
def create_initial_data():
    from django.conf import settings
    from flashcards.models.facts import FactType
    from flashcards.models.fields import FieldType
    from flashcards.models.cardtemplates import CardTemplate
    import flashcards.partsofspeech as partsofspeech
    import pickle
 
    #Japanese model
    japanese_fact_type = FactType(name='Japanese')