On 23/01/17 17:54, Martin Long wrote: > > > I think this could be a grantlee issue - > If you have a bit of time, can you write what you think it would > be the correct implementation on the template and send me so I can > poke subsurface internals or a new grantlee library to se if it works? > > Thanks. > > Tomaz > > > > Ok, I'll see if I can do that. It's a little tricky as there ain't a > great deal of good documentation for either Grantlee or Django, but > I'll see what I can do. > > Hi Both,
I'm very interested to see how this pans out, as I a while ago I gave up trying to implement something essentially similar to this. It wasn't that there was something broken in Grantlee so much as there was nothing that I could find in Grantlee that could facilitate what I needed to do, which was either: a) to assign a dive object to some variable or pointer so that I could reference it later when it wasn't the current subject of the for loop iterating through the dives. or b) reference a dive directly by it's position in the collection of dives. cheers, Tim
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
