Template tag to convert number of seconds into mm:ss format
Template tag to convert number of seconds into mm:ss format
- templatetag
- format
- time
Template tag to convert number of seconds into mm:ss format
Perhaps this is blindingly obvious but I spent a while trying to get this, before figuring out that when a each item of an iterated ValuesQuerySet is a dict. Useful for serialising to JSON or XML etc.
waitinforatrain has posted 2 snippets.