title: Using an embedded Iframe in Django?
body: <p>How do I use an Iframe in Django. Currently its searching for the src url in my own files. How do I tell it to not look in my files but to look at the url? </p>
  
  <p>Currently I'm storing the embed code minus the  tag in a database and then trying to dynamically generate it in my template. </p>
  
  <pre><code>games.embed = 'allowtransparency="true" width="485" height="402" src="//scratch.mit.edu/projects/embed/82384372/?autostart=false" frameborder="0" allowfullscreen'
  
  {% extends 'code_games/base.html' %}
  
  {% block content %}
    &lt;div class="game"&gt;
  
        {{games.title|linebreaks}}
        &lt;iframe '{{ games.embed }}'&gt;&lt;/iframe&gt;
  
    &lt;/div&gt;
  {% endblock %}
  </code></pre>
  
  <p>The iframe itself shows up on my page but the contents of it don't. </p>
  
  <p>The request URL per the error:</p>
  
  <pre><code>Request URL:    http://chacemcguyer.pythonanywhere.com/games/1/%22/scratch.mit.edu/projects/embed/82384372/?autostart=false%22
  </code></pre>
  
  <p>You can see that its searching for the url in my site. How do I get around that?</p>
  
  <p>The error also says:</p>
  
  <pre><code>Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order:
  </code></pre>
  
  <p>Then it shows all of my urls from settings.py </p>