Questions tagged [django-template-language]

The Django template language is the built-in template language to Django. It extends HTML with the ability to put dynamic data into the HTML on the server side.

Filter by
Sorted by
Tagged with
6 votes
1 answer
40k views

Django query_set filtering in the template

Can I make my template syntax simpler? I'm hoping to eliminate the if and maybe also the for block. This worked in the shell ...
5 votes
3 answers
414 views

Todo app for displaying a list of tasks

The main view in my (toy!) Todo app is, of course, to display the list of tasks. These are grouped by some criterion, and the tasks structure below is actually a ...
2 votes
1 answer
1k views

Django turn ChoiceField into a submit button

I have made a ChoiceField into a select and submit button and wondered if this is the correct approach. forms.py ...
2 votes
0 answers
19 views

Displaying workshops on a page

A section of my page lists 'Workshops' and just uses objects from a queryset. The page/site uses bootstrap. ...
1 vote
0 answers
20 views

processing webhook request coming from a 3rd party application

I need some help to evaluate whether I am doing it right. The scenario is, a 3rd party application is sending a webhook request after a successful payment but the problem is that sometimes this ...