FAQ Database Discussion Community


Polymer 1.0: Using template dom-repeat inside paper-menu elements to display iron-pages on selection

polymer,web-component,templatetag,polymer-1.0
Using Polymer 1.0, I have created a paper-drawer-panel layout. In the drawer I have a menu using paper-menu with paper-items which are bound to the iron-pages. I took this example from Content Switcheroo with Core-Pages -- Polycasts #09 and converted it to use the Polymer 1.0 elements. In the code...

Issue in Django count string in a template

python,django,variables,templatetag
I am facing issues trying to get a count. Hope you can help me. In the template, if I insert {{ message.count }} not happens 'coz message is a string. If I insert {% load inbox %} {% inbox_count as message %} it returns all unread messages, but I need...