title: Create django object using a view with no form
body: <p>I was wondering how I would be able to create an object in a database based the URL a user is going to. </p>
  
  <p>Say for example they would go to /schedule/addbid/1/ and this would create an object in the table containing the owner of the bid, the schedule they bidded on and if the bid has been completed. This here is what I have for my model so far for bids.</p>
  
  <pre><code>class Bids(models.Model):
     id = models.AutoField("ID", primary_key=True, editable=False,)
     owner = models.ForeignKey(User)
     biddedschedule = models.ForeignKey(Schedule)
     complete = models.BooleanField("Completed?", default=False)
  </code></pre>
  
  <p>The biddedschedule would be based on the number in the URL as the 1 in this case would be the first schedule in the schedule table</p>
  
  <p>Any ideas on how to do this? </p>