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

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

src/m/a/manabi-HEAD/apps/flashcards/management/commands/update_redis.py   manabi(Download)
 
from django.core.management.base import BaseCommand
 
from flashcards.models.constants import (
    GRADE_NONE, GRADE_HARD, GRADE_GOOD, GRADE_EASY,

src/m/a/manabi-HEAD/apps/flashcards/models/managers/cardmanager.py   manabi(Download)
from apps.manabi_redis.models import redis
from model_utils.managers import manager_from
from flashcards.models.constants import (
    GRADE_NONE, GRADE_HARD, GRADE_GOOD, GRADE_EASY,
    MAX_NEW_CARD_ORDINAL, EASE_FACTOR_MODIFIERS,
                            abs(review_time - sibling.last_reviewed_at)
                            <= min_space)
                        or sibling.last_review_grade == GRADE_NONE):
                        break
                else:

src/m/a/manabi-HEAD/apps/flashcards/views/api/review.py   manabi(Download)
from apps.utils.querycleaner import clean_query
from flashcards.models import Card
from flashcards.models.constants import (
    GRADE_NONE, GRADE_HARD, GRADE_GOOD, GRADE_EASY)
from flashcards.models.undo import UndoCardReview

src/m/a/manabi-HEAD/apps/stats/views.py   manabi(Download)
from dojango.util import to_dojo_data, json_decode, json_encode
from flashcards.models import CardHistory, Card
from flashcards.models.constants import GRADE_NONE, GRADE_HARD, GRADE_GOOD, GRADE_EASY
from flashcards.views.decorators import ApiException
from flashcards.views.decorators import flashcard_api as api