Skip to main content

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
41k 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 ...
citadelgrad's user avatar
5 votes
3 answers
418 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 ...
Xavier Nodet's user avatar
2 votes
1 answer
2k 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 ...
Bruno Vermeulen's user avatar
2 votes
0 answers
20 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. ...
Walid Mujahid وليد مجاهد's user avatar
1 vote
0 answers
22 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 ...
Amit Yadav's user avatar