Make LazyUGettext a Promise so it deconstructs nicely.
[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'])