title: How to generate feed from different models in Django?
body: <p>So, I have two models called apartments and jobs. It's easy to display contents of both models separately, but what I can't figure out is how to display the mix feed of both models based on the date.</p>
  
  <pre><code>jobs = Job.objects.all().order_by('-posted_on')
  apartments = Apartment.objects.all().order_by('-date')
  </code></pre>
  
  <p>The posted date on job is represented by 'posted_by' and the posted date on apartment is represented by 'date'. How can I combine both of these and sort them according to the date posted? I tried combining both of these models in a simpler way like:</p>
  
  <pre><code>new_feed = list(jobs) + list(apartments)
  </code></pre>
  
  <p>This just creates the list of both of these models, but they are not arranged based on date. </p>