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

All Samples(21)  |  Call(2)  |  Derive(0)  |  Import(19)

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
                #card_form in card_formset.forms:
                new_card = Card(
                    template=card_template,
                    fact=new_fact,
                    active=True,
                            #[card_template.id]
                            #new_card = card_form.save(commit=False)
                            new_card = Card(template=card_template)
                            new_card.fact = fact2
                            new_card.active = True

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.forms import DeckForm, FactForm, FieldContentForm
from flashcards.models import FactType, Fact, Deck, CardTemplate, FieldType
from flashcards.models import FieldContent, Card
from flashcards.views.shortcuts import get_deck_or_404
 

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.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
from flashcards.views.shortcuts import get_deck_or_404

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/stats/templatetags/stats_tags.py   manabi(Download)
from copy import copy
from datetime import datetime, timedelta
from django import template
from flashcards.models import CardHistory, Deck, Card
 

src/m/a/manabi-HEAD/apps/flashcards/urls.py   manabi(Download)
from django.views.generic.simple import direct_to_template
 
from flashcards.models import Deck, FactType, Card
from flashcards import redis_listeners
 

  1 | 2  Next