On Wed, Nov 11, 2020 at 7:48 PM rssail wrote:
>
>
> I'm confused with how django adds elements to a list. consider the following:
>
> def add(request):
> if request.method == "POST":
> form = NewTaskForm(request.POST)
should the above line be indented?
> if form.is_
I'm confused with how django adds elements to a list. consider the
following:
def add(request):
if request.method == "POST":
form = NewTaskForm(request.POST)
if form.is_valid():
task = form.cleaned_data["task"]
request.sessio
2 matches
Mail list logo