Did I find the right examples for you? yes no

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

src/e/p/epiwork-website-HEAD/apps/survey/api/handlers.py   epiwork-website(Download)
from piston.handler import BaseHandler
from piston.utils import rc
from apps.survey.models import Profile, SurveyUser, Survey, User
from apps.survey.times import timedate_to_epochal
from utils import xmlify_spec, report_survey, code_hash, code_unhash, GetError
        ss = Survey.objects.all()
        most_recently_added_survey = ss[len(ss)-1]
        xml = xmlify_spec(most_recently_added_survey.specification)
        returnable.update({'survey': xml})
        return returnable