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

All Samples(38)  |  Call(28)  |  Derive(0)  |  Import(10)

src/d/j/django-ajax-shop-HEAD/e_commerce/ajax.py   django-ajax-shop(Download)
# -*- coding: utf-8 -*-
 
from dajax.core import Dajax
from dajaxice.decorators import dajaxice_register
from django.conf import settings
def primopiano(request):
    dajax = Dajax()
    primo_piano = Product.objects.filter(primo_piano=True)
    out = '<table width="550px">'
    for i in primo_piano:
def productcategories(request):
    dajax = Dajax()
    tags = Tag.objects.all()
    out = "<p id='cart-contents'><b>Categorie</b></p>"
    f = 0
def filtercat(request, option):
    dajax = Dajax()
    #logging.error(option)
    try:
        filtercat = Tag.objects.get(name=option).product_set.all()
def onsale(request):
    #logging.error("ONSALE")
    dajax = Dajax()
    try:
        filtersale = Discount.objects.all()

src/o/p/opendota-HEAD/dotastats/ajax.py   opendota(Download)
from dajax.core import Dajax
from dajaxice.decorators import dajaxice_register
from django.template.loader import render_to_string
from dotastats.models import Heroes, SteamPlayer
 
@dajaxice_register
def search_matches(request, search_request):
    if len(search_request) < 2:
        return None
    dajax = Dajax()
def search_players(request, search_request):
    if len(search_request) < 2:
        return None
    dajax = Dajax()
    result_set = SteamPlayer.filter_by_name(name=search_request, profileurl=search_request, communityid=search_request)
def search_heroes(request, search_request):
    if len(search_request) < 2:
        return None
    dajax = Dajax()
    result_set = Heroes.objects.filter(dota2_name__icontains=search_request)[:25]

src/f/a/faf-HEAD/pyfaf/hub/services/ajax.py   faf(Download)
from django.template.defaultfilters import slugify
 
from dajax.core import Dajax
from dajaxice.decorators import dajaxice_register
 
def components(request, os_release, associate, component_field):
    dajax = Dajax()
 
    db = pyfaf.storage.getDatabase()
 
def associates(request, os_release, field):
    dajax = Dajax()
 
    db = pyfaf.storage.getDatabase()
 

src/d/j/django-sis-HEAD/ecwsp/benchmark_grade/ajax.py   django-sis(Download)
from django.utils import simplejson
from dajaxice.decorators import dajaxice_register
from dajax.core import Dajax
from ecwsp.benchmark_grade.models import Category
from ecwsp.benchmark_grade.views import get_teacher_courses
from ecwsp.grades.models import Grade
 
@dajaxice_register
def check_fixed_points_possible(request, category):
    dajax = Dajax()
def save_marking_period_average_comment(request, grade_pk, comment):
    dajax = Dajax()
    message = ""
    try:
        marking_period_average = Grade.objects.get(pk=grade_pk)

src/t/r/treeio-HEAD/account/ajax.py   treeio(Download)
from treeio.core.ajax import converter
from dajaxice.core import dajaxice_functions
from dajax.core import Dajax
 
 
def comments_likes(request, target, form, expand=True):
    dajax = Dajax()
def tags(request, target, object_id, edit=False, formdata={}):
    dajax = Dajax()
 
    response_format = 'html'
    object = Object.objects.get(pk=object_id)
def attachment(request, object_id, update_id=None):
    dajax = Dajax()
 
    try:
 
def easy_invite(request, emails=None):
 
    dajax = Dajax()
 
    try:

src/n/e/newfies-dialer-HEAD/newfies/survey/ajax.py   newfies-dialer(Download)
 
from dajaxice.decorators import dajaxice_register
from dajax.core import Dajax
 
from survey.models import Section_template, Branching_template
def section_sort(request, id, sort_order):
    dajax = Dajax()
 
    try:
        section = Section_template.objects.get(pk=int(id))
def default_branching_goto(request, id, goto_id):
    dajax = Dajax()
    try:
        if id:
            branching_obj = Branching_template.objects.get(id=id)

src/t/r/treeio-HEAD/projects/ajax.py   treeio(Download)
from datetime import datetime
from dajaxice.core import dajaxice_functions
from dajax.core import Dajax
from treeio.projects.models import Task, Milestone
from django.contrib import messages
from django.utils.translation import ugettext as _
 
 
def gantt(request, task, start, end):
    dajax = Dajax()

src/t/r/treeio-HEAD/news/ajax.py   treeio(Download)
 
from dajaxice.core import dajaxice_functions
from dajax.core import Dajax
from django.template import RequestContext
from django.db.models import Q
def get_more(request, target='#more-news', skip=20):
    dajax = Dajax()
 
    profile = request.user.get_profile()
    query = _get_filter_query(profile) & (

src/p/a/pari-HEAD/pari/article/ajax.py   pari(Download)
 
from dajaxice.decorators import dajaxice_register
from dajax.core import Dajax
 
from pari.search.models import get_search_results
def render_dajax_response(template, context):
    render = render_to_string(template, context)
 
    dajax = Dajax()
    dajax.assign('.filter-list-container', 'innerHTML', render)

src/d/j/django-sis-HEAD/ecwsp/omr/views.py   django-sis(Download)
from django.template import RequestContext
from django.http import HttpResponse, HttpResponseRedirect
from dajax.core import Dajax
from dajaxice.decorators import dajaxice_register