예제 #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