templatetag
Django plaintext template
I\'m currently writing a template which mostly outputs my fields and it\'s contents from the database as plaintext so that it can be downloaded (supposed to be a configuration file for ltsp) and I\'m[详细]
2023-04-12 11:15 分类:问答django: passing custom tag a parameter
I\'m trying to pass a variable from the URL (not the query string) to a custom tag, but it looks like I\'m getting a ValueError when converting it to an int.It appears at first glance that it\'s comin[详细]
2023-02-14 21:51 分类:问答Django template tag + template with user.is_authenticated doesn't work
I have a strange problem, in my settings file everything is enabled that needs to be enabled for user.is_authenticated use in a template.[详细]
2022-12-17 03:28 分类:问答