title: How to show a value from model related to other model?
body: <p>I would like to show all lecture rooms ('sale') which are related with language English('jezyk'='EN')</p>
  
  <p>I can not use such solution:</p>
  
  <pre><code>'sala': Sala.objects.filter(jezyk='3')
  </code></pre>
  
  <p>Because I defined in the options that user can define languages. In my project English has always "EN" key
  <img src="https://i.stack.imgur.com/s2jwc.png" alt="enter image description here"></p>
  
  <p>I try to doing it in this way but it doesn't work</p>
  
  <p>models.py</p>
  
  <pre><code>from django.db import models
  from jezyk.models import Jezyk
  
  class Article(models.Model):
      title = models.CharField(max_length=150, verbose_name="Tytul wiadomosci")
      content = models.TextField(verbose_name="Zawartosc")
      published = models.DateTimeField(verbose_name="Data Publikacji")
      jezyk = models.ForeignKey('jezyk.Jezyk', null=True, related_name='jezyk_articles')
  </code></pre>
  
  <p>views.py</p>
  
  <pre><code>def articles(request):
      return render_to_response('articles.html',{'articles' : Article.objects.all(),'godzina': Godzina.objects.all(),'sala': Sala.objects.all() })
  </code></pre>
  
  <p>articles.html</p>
  
  <pre><code>{% if article.jezyk = sala.jezyk %}
      {% for sala in sala %}
          &lt;div&gt;{{ sala }}&lt;/div&gt;
      {%endfor %}
  {% endif %}
  </code></pre>