Пример #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}
Пример #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}
Пример #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