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
1
vote
0answers
18 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 ...
0
votes
0answers
29 views

using a Built-in template tag "regroup" take long time to render result

I'm working on a project on django, I used the built in view ArchiveListView, and I want to sort records to be grouped by a common attribute. So django ORM don't have a group by query, so I tried to ...
2
votes
0answers
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. ...
2
votes
1answer
969 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 ...
5
votes
3answers
410 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 ...
6
votes
1answer
39k 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 ...