コード例 #1
0
ファイル: __init__.py プロジェクト: xeor/fecto
def templateDict(request):
    '''
    Will be accessible as {{ data }} in your template.
    Remember that this can be a dict or whatever you want
    but the data will loaded at page load, not when you open
    the filter!
    '''

    form = getIpInputHtml(request)
    return {'form': form}
コード例 #2
0
ファイル: __init__.py プロジェクト: xeor/fecto
def templateDict(request):
    '''
    Will be accessible as {{ data }} in your template.
    Remember that this can be a dict or whatever you want
    but the data will loaded at page load, not when you open
    the filter!
    '''

    form = getIpInputHtml(request)
    return {'form': form}
コード例 #3
0
ファイル: api.py プロジェクト: xeor/fecto
 def get(self, request):
     html = getIpInputHtml(request)
     return html
コード例 #4
0
ファイル: api.py プロジェクト: xeor/fecto
 def get(self, request):
     html = getIpInputHtml(request)
     return html