I can't believe I checked in my debugging garbage, removed!
This commit is contained in:
parent
63e7abdf0f
commit
b998d80be4
@ -349,12 +349,7 @@ def get_locale_from_request(request):
|
|||||||
Figure out what target language is most appropriate based on the
|
Figure out what target language is most appropriate based on the
|
||||||
request
|
request
|
||||||
"""
|
"""
|
||||||
if request.method == 'GET':
|
request_form = request.GET or request.POST
|
||||||
request_form = request.GET
|
|
||||||
else:
|
|
||||||
import pdb
|
|
||||||
pdb.set_trace()
|
|
||||||
request_form = request.POST
|
|
||||||
|
|
||||||
if request_form.has_key('lang'):
|
if request_form.has_key('lang'):
|
||||||
return locale_to_lower_upper(request_form['lang'])
|
return locale_to_lower_upper(request_form['lang'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user