Opened 5 years ago
Closed 5 years ago
#30663 closed Bug (invalid)
How to iuse the if to verify a self define filter value.
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 (last modified by )
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
Change History (1)
comment:1 by , 5 years ago
Component: | Uncategorized → Template system |
---|---|
Description: | modified (diff) |
Resolution: | → invalid |
Status: | new → closed |
Summary: | How to iuse the if to verify a self define filter value → How to iuse the if to verify a self define filter value. |
Type: | Uncategorized → Bug |
Version: | 2.2 → master |
Note:
See TracTickets
for help on using tickets.
This is a support question, not an issue in Django. Please check documentation and use one of support channels.