On Thu, 2007-02-08 at 20:21 -0600, Derek Lee-Wo wrote:
> > One more idea: It looks like you're doing foreign-key lookups in the 
> > rendering.
> >
> > {% for workoutWeek in workoutWeeks %}
> > ...
> > {% for workoutDay in workoutWeek.workouts %}
> 
> workoutWeek isn't a table, but I'm pretty sure all my DB queries are
> done by the time I go to render, but I could be wrong.  I've only been
> using Django for a week now.
> 
> > ... Of course, if you shared your view and original template, it'd be
> > easier to help.  The template you included at the start of the thread
> > was inline, which was garbled...
> 
> I've attached a zip file of the template and the view.py file.  The
> main method is __viewPlan() which starts at line 51

Could you also please post the models you are using and the
trainingplan_extras custom tags/filters, just in case they have any
effect on things. It isn't possible to replicate the problem with the
information you have provided so far.

Thanks,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to