Nick - I removed some irrelevant stuff earlier, and removed those tags by
mistake.
Cheers, N//
Regards,
Nigel Legg
07914 740972
http://twitter.com/nigellegg
http://uk.linkedin.com/in/nigellegg
On 1 July 2013 22:20, Nick Dokos wrote:
> Nigel Legg writes:
>
> > template datatab
Nigel Legg writes:
> template datatables.html:
>
>
>
> Make Tables
>
>
> enctype="multipart/formdata">{% csrf_token %}
>
>
Ah yes, thank you.
Regards,
Nigel Legg
07914 740972
http://twitter.com/nigellegg
http://uk.linkedin.com/in/nigellegg
On 1 July 2013 15:53, Mário Idival wrote:
> Oh, but the url 'list'? remove the url 'list' of actions in forms
>
>
> 2013/7/1 Nigel Legg
>
>> Tried that, still going back to th
Oh, but the url 'list'? remove the url 'list' of actions in forms
2013/7/1 Nigel Legg
> Tried that, still going back to the index page.
>
> Regards,
> Nigel Legg
> 07914 740972
> http://twitter.com/nigellegg
> http://uk.linkedin.com/in/nigellegg
>
>
>
> On 1 July 2013 15:33, Mário Idival wrote
Tried that, still going back to the index page.
Regards,
Nigel Legg
07914 740972
http://twitter.com/nigellegg
http://uk.linkedin.com/in/nigellegg
On 1 July 2013 15:33, Mário Idival wrote:
> """
> form.is_valid():
> model_instance.save()
>
> """
>
> form.is_valid():
> form.save
"""
form.is_valid():
model_instance.save()
"""
form.is_valid():
form.save()
2013/7/1 Nigel Legg
> So I have:
> views.py:
> def datatables(request):
> if request.method == 'POST':
> form = DataTableForm(request.POST)
> if form.is_valid():
> mod
So I have:
views.py:
def datatables(request):
if request.method == 'POST':
form = DataTableForm(request.POST)
if form.is_valid():
model_instance.save()
return redirect('myapp/tabspec.html')
else:
form = DataTableForm()
return render(reques
7 matches
Mail list logo