Figured it out. Added this to my Model:
@property
def spacer(self):
return (25-len(str(self.team.name)))*' '
then in my template just added {{ team.spacer }}
On Jun 17, 7:17 pm, Chris McComas wrote:
> I have this as my template code:
>
> http://dpaste.com/555651/
>
> T
I have this as my template code:
http://dpaste.com/555651/
This is the HTML it is outputting, which makes sense. What I'm trying
to do is make it so the closing tag is right after the team name
and the whitespace from the ljust after it.
http://dpaste.com/555649/
--
You received this message
2 matches
Mail list logo