fnp
/
fnpdjango.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0c8ee4735ff0e06006d05eaa225d85539bc04d8e
[fnpdjango.git]
/
tests
/
views.py
1
from django.http import HttpResponse
2
from django.utils.translation import get_language
3
4
5
def get_lang(request):
6
return HttpResponse(get_language())
7
8
9
def ip(request):
10
return HttpResponse(request.META['REMOTE_ADDR'])