#30663: How to iuse the if to verify a self define filter value.
---------------------------------+--------------------------------------
     Reporter:  xauthulei        |                    Owner:  nobody
         Type:  Bug              |                   Status:  closed
    Component:  Template system  |                  Version:  master
     Severity:  Normal           |               Resolution:  invalid
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Changes (by felixxm):

 * status:  new => closed
 * resolution:   => invalid
 * component:  Uncategorized => Template system
 * version:  2.2 => master
 * type:  Uncategorized => Bug


Old 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

New 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

--

Comment:

 This is a support question, not an issue in Django. Please check
 [https://docs.djangoproject.com/en/2.2/ref/templates/builtins/#filters
 documentation] and use one of
 [https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels
 support channels].

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30663#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.3bf7f600a596140db4ce6f9355ac76a0%40djangoproject.com.

Reply via email to