OK so I have solved this, the flaw being my understanding of the
cacheing of Django database QuerySets. I still have not eliminated
the double auth_user request because one is made in the
@login_required directive and the other is made in the view code to
pass user data to the template. However i
In this case there is no form POST data so that code gets skipped. I
started profiling with the django_debugger_toolbar and my SQL data
results are at the bottom. There are duplicate SQL select statements
for handin_course and auth_user which doesn't make sense to me as I
understand how views sho
2 matches
Mail list logo