Opened 5 years ago
Last modified 5 years ago
#30663 closed Bug
How to iuse the if to verify a self define filter value — at Initial Version
Reported by: | Leilei Hu | Owned by: | nobody |
---|---|---|---|
Component: | Template system | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi, Team,
I an newer to this, I want to to verify myself define filter value{% if compOsMap|hash:key %} in the teamplate. it will get this error:
"Could not parse the remainder: '|' from 'compMap|"
my django version
django.VERSION
(1, 8, 5, 'final', 0)
Am I right here, or could you give me some suggestions, Many Thanks
Note:
See TracTickets
for help on using tickets.