Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » templates and using repr to 'stringify' objects in views [RSS Feed]

#1 Nov. 22, 2005 19:32:44

w.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

templates and using repr to 'stringify' objects in views


Is this standard practice? I'd been having a tough time using some
parts the template language (in particular ifequals, many of the filter
and string functions) until I discovered that some of the template
"magic" doesn't work correctly unless I "pre", repr(o) objects within
the code of my view (i.e. select_items_list = ).

I'll be happy to follow up with detailed examples if asked.

--- thanks

Offline

  • Root
  • » Django
  • » templates and using repr to 'stringify' objects in views [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support