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 Mariusz Felisiak)

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 Mariusz Felisiak, 5 years ago

Component: UncategorizedTemplate system
Description: modified (diff)
Resolution: invalid
Status: newclosed
Summary: How to iuse the if to verify a self define filter valueHow to iuse the if to verify a self define filter value.
Type: UncategorizedBug
Version: 2.2master

This is a support question, not an issue in Django. Please check documentation and use one of support channels.

Note: See TracTickets for help on using tickets.
Back to Top