title: Is this loop redundant?
body: <p>The three tables of interest are:</p>
  
  <ul>
  <li>Event, containing various details of, eg, the berlin marathon</li>
  <li>Result, containing various fields including user's race time and a FK to an Event, and</li>
  <li>Goal, with a FK to the Event the user would like to run, a field for the time they'd like to run it in, and eventually a FK to the Race at which the user achieved their goal.</li>
  </ul>
  
  <p>Obviously, the Event of the Race where the user achieved their goal has to be the Event of the Goal. But not all Goal's have been achieved -- some may never be.</p>
  
  <p>Is this bad design? Can anybody suggest a better way of modelling this problem?  I'm using sqlite in a django project.</p>