fnp
/
fnpdjango.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
More textile optional.
[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'])