title: Call another model field in url django
body: <p>My problem is have two models job and company and i want to get all jobs in this company</p>
  
  <p>My urls.py:</p>
  
  <pre><code>url(r'^jobs/(?P&lt;slug&gt;[\w-]+)/$', views.job_at_company, name='job_at_company'),
  </code></pre>
  
  <p>My views.py:</p>
  
  <pre><code>def job_at_company(request, slug):
      return render(request, 'jobs.html')
  </code></pre>
  
  <p>My models.py:</p>
  
  <pre><code>class Company(models.Model):
       title = models.CharField(max_length=100, blank=False)
       slug = models.SlugField(blank=True, default='')
       city = models.CharField(max_length=100, blank=False)
       contact_info = models.CharField(max_length=100, blank=False, default=0)
       facebook = models.CharField(max_length=100, blank=True)
       twitter = models.CharField(max_length=100, blank=True)
       linkedin = models.CharField(max_length=100, blank=True)
       logo = models.ImageField(upload_to="logo", default=0)
  
  class Jobs(models.Model):
       title = models.CharField(max_length=100)
       slug = models.SlugField(blank=True, default='')
       company = models.ForeignKey(Company, on_delete=models.CASCADE)
       price = models.IntegerField(default='')
       Description = models.TextField(blank=True, null=True)
       created = models.DateTimeField(auto_now_add=True)
       updated = models.DateTimeField(auto_now=True)
       job_type = models.CharField(max_length=100, choices=(('Full Time', 'Full Time'),('Part Time', 'Part Time')),default='Full Time')
  </code></pre>