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

All Samples(12)  |  Call(2)  |  Derive(0)  |  Import(10)

src/m/a/manabi-HEAD/apps/flashcards/views/api/__init__.py   manabi(Download)
from flashcards.cachenamespaces import fact_grid_namespace
from flashcards.forms import DeckForm, FactForm, FieldContentForm, CardForm
from flashcards.models import (FactType, Fact, Deck, CardTemplate, FieldType,
                               FieldContent, Card)
from flashcards.models.constants import MAX_NEW_CARD_ORDINAL
                        # create the new subfact
                        new_subfact = Fact(
                                fact_type=new_field_content\
                                          .field_type.fact_type,
                                active=True,
                            # create the new subfact
                            new_subfact = Fact(
                                fact_type=field_content.field_type.fact_type,
                                active=True,
                                parent_fact=fact

src/m/a/manabi-HEAD/apps/popups/views.py   manabi(Download)
from django.template import RequestContext
 
from flashcards.models import (FactType, Fact, Deck, CardTemplate,
    FieldType, FieldContent, Card,
    GRADE_NONE, GRADE_HARD, GRADE_GOOD, GRADE_EASY)
from flashcards.contextprocessors import subfact_form_context
from flashcards.contextprocessors import (
    deck_count_context, card_existence_context, fact_add_form_context)
from flashcards.forms import DeckForm, FactForm, FieldContentForm
from flashcards.models import FactType, Fact, Deck, CardTemplate, FieldType

src/m/a/manabi-HEAD/apps/flashcards/contextprocessors.py   manabi(Download)
from flashcards.models import (FactType, Fact, Deck, CardTemplate,
    FieldType, FieldContent, Card,
    GRADE_NONE, GRADE_HARD, GRADE_GOOD, GRADE_EASY)
from django.template.loader import render_to_string
import datetime

src/m/a/manabi-HEAD/views.py   manabi(Download)
from flashcards.models import (FactType, Fact, Deck, CardTemplate,
    FieldType, FieldContent, Card,
    GRADE_NONE, GRADE_HARD, GRADE_GOOD, GRADE_EASY)
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers import resolve

src/m/a/manabi-HEAD/apps/flashcards/admin.py   manabi(Download)
from django.contrib import admin
 
from books.models import Textbook
from flashcards.models import (
    Deck, FactType, Fact, CardTemplate,

src/m/a/manabi-HEAD/apps/flashcards/views/shortcuts.py   manabi(Download)
 
from flashcards.forms import DeckForm, FactForm, FieldContentForm, CardForm
from flashcards.models import FactType, Fact, Deck, CardTemplate, FieldType
from flashcards.models import FieldContent, Card
from flashcards.models.constants import MAX_NEW_CARD_ORDINAL

src/m/a/manabi-HEAD/apps/flashcards/views/crud.py   manabi(Download)
from flashcards.contextprocessors import subfact_form_context
from flashcards.forms import DeckForm, FactForm, FieldContentForm
from flashcards.models import FactType, Fact, Deck, CardTemplate, FieldType
from flashcards.models import FieldContent, Card
from flashcards.forms import TextbookSourceForm

src/m/a/manabi-HEAD/apps/flashcards/management/commands/update_redis.py   manabi(Download)
    DEFAULT_EASE_FACTOR, INTERVAL_FUZZ_MAX,
    ALL_GRADES, GRADE_NAMES)
from flashcards.models import (FactType, Fact, Deck, CardTemplate, Card)
from apps.manabi_redis.models import redis
 

src/m/a/manabi-HEAD/apps/flashcards/models/decks.py   manabi(Download)
        writer = UnicodeWriter(response)
 
        from flashcards.models import FactType, Fact, FieldType
        fact_type = FactType.objects.get(id=1)
        field_types = FieldType.objects.filter(fact_type=fact_type).order_by('id')