> > The external jQuery script doesn't go through Django, so obviously the
> > template variables aren't parsed. As you have discovered, you can put
> > javascript in the template so that it is parsed. So you already have
> > the answer to your question: use a small script within your template,
Ok, I will try this way.
Thank a lot!
On Feb 5, 11:50 pm, Daniel Roseman
wrote:
> On Feb 5, 12:19 pm, min wrote:
>
>
>
>
>
> > Hi, everyone.
>
> > I'm learing Django now. Currently, I have a problem with Django and
> > jQuery. The detail
On Feb 5, 12:19 pm, min wrote:
> Hi, everyone.
>
> I'm learing Django now. Currently, I have a problem with Django and
> jQuery. The detail is that:
>
> Firstly, I have a form in the forms.py:
>
> class TestForm(forms.Form):
> name = forms.CharField( max_length=30 )
>
Hi, everyone.
I'm learing Django now. Currently, I have a problem with Django and
jQuery. The detail is that:
Firstly, I have a form in the forms.py:
class TestForm(forms.Form):
name = forms.CharField( max_length=30 )
Then, in the views.py:
def Test_page(request):
form = TestForm()
4 matches
Mail list logo