ajax_export.py 269 Bytes
#-*- coding:utf-8 -*-

from common.decorators import render, ajax, AjaxError
from dictionary.forms import MagicQualifierForm

@render()
@ajax(method='get', encode_result=False)
def magic_qualifier_row(request):
  return {'form': MagicQualifierForm(prefix='magic_NUM')}