Could not parse the remainder: |slice

61 views
Skip to first unread message

electrocoder

unread,
Aug 13, 2011, 7:28:38 PM8/13/11
to django...@googlegroups.com
Blog on my local PC with "Could not parse the remainder: | Slice" I get the error message. How can I fix.

Chintan Tank

unread,
Aug 13, 2011, 7:43:07 PM8/13/11
to django...@googlegroups.com
are you sure you used proper syntax?


{{ sliceable|slice:":2" }}

On Sat, Aug 13, 2011 at 7:28 PM, electrocoder <electr...@gmail.com> wrote:
Blog on my local PC with "Could not parse the remainder: | Slice" I get the error message. How can I fix.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/AeqglbCy8ZIJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Thanks & Regards,

Chintan Tank
Software Developer
School of Library & Information Science
Indiana University, Bloomington.

http://www.cs.indiana.edu/~cdtank/

electrocoder

unread,
Aug 13, 2011, 8:01:33 PM8/13/11
to django...@googlegroups.com
my syntax is   {% autoescape off %} {{ myobje.mypage|slice:":150" }} {% endautoescape %}

Chintan Tank

unread,
Aug 13, 2011, 8:05:17 PM8/13/11
to django...@googlegroups.com
can you paste the entire error stacktrace? use http://dpaste.de/ or equivalent to share it.

On Sat, Aug 13, 2011 at 8:01 PM, electrocoder <electr...@gmail.com> wrote:
my syntax is   {% autoescape off %} {{ myobje.mypage|slice:":150" }} {% endautoescape %}

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/UpRrFOATAeIJ.

To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Reply all
Reply to author
Forward
0 new messages