Esempio n. 1
0
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}
Esempio n. 2
0
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}
Esempio n. 3
0
File: api.py Progetto: xeor/fecto
 def get(self, request):
     html = getIpInputHtml(request)
     return html
Esempio n. 4
0
File: api.py Progetto: xeor/fecto
 def get(self, request):
     html = getIpInputHtml(request)
     return html