title: Store data associated with a foreign Key in a Django Model
body: <p>I wanna store data in a Django Table as if I am storing data into some category and item access them in FIFO manner. 
  Here I should be able to store a data item to a category. </p>
  
  <pre><code>Category:
  ID: 1,
  Name: firstname
  Percentage: 40
  </code></pre>
  
  <p>I have to store them in a different category pass if > 40 and in fail if &lt;40.</p>
  
  <pre><code>Table Fail:
  ID 1 --&gt; Inserted first
  ID 2 --&gt; Insrted second
  ID 3 --&gt; Inserted third
  
  Table Pass:
  ID 4 --&gt; Inserted first
  ID 5 --&gt; Insrted second
  ID 6 --&gt; Inserted third
  </code></pre>
  
  <p>For some reason, I have to rank them using the First In First Out(FIFO) method. 
  What is the best way to do that? </p>