2009/2/10 min :
>
> Hi, everyone.
>
> I have a question for the following example.
>
> Firstly, in the view.py:
>
> def test_1(request, zipcode, pro):
> if zipcode == 'a' and pro == 'b':
>city = 'c'
> else:
>city = ''
>
> return HttpResponse(city)
>
> def test_0(request):
> return rend
Hi, everyone.
I have a question for the following example.
Firstly, in the view.py:
def test_1(request, zipcode, pro):
if zipcode == 'a' and pro == 'b':
city = 'c'
else:
city = ''
return HttpResponse(city)
def test_0(request):
return render_to_response('test_0.html', {})
-
2 matches
Mail list logo