title: Deploying Django App
body: <p>I am using a tutorial repo, and now that I want to deploy it to an EC2 instance it is not working
  here is the repo, the only thing I added was the ec2-54-197-26-105.compute-1.amazonaws.com</p>
  
  <p>to allowed host. I have left the instance running so you can access it at ec2-54-197-26-105.compute-1.amazonaws.com</p>
  
  <p>REPO <a href="https://bitbucket.org/trackstarz/clab" rel="nofollow noreferrer">https://bitbucket.org/trackstarz/clab</a>
  Here is the output</p>
  
  <pre><code>KeyError at /accounts/logout
  'en-us'
  Request Method: GET
  Request URL:    http://ec2-54-197-26-105.compute-1.amazonaws.com/accounts/logout
  Django Version: 1.11.4
  Exception Type: KeyError
  Exception Value:    
  'en-us'
  Exception Location: /home/ubuntu/clab/denv/local/lib/python2.7/site-packages/django/urls/resolvers.py in reverse_dict, line 335
  Python Executable:  /home/ubuntu/clab/denv/bin/python
  Python Version: 2.7.6
  Python Path:    
  ['/home/ubuntu/clab',
   '/home/ubuntu/clab/denv/bin',
   '/home/ubuntu/clab/denv/lib/python2.7',
   '/home/ubuntu/clab/denv/lib/python2.7/plat-x86_64-linux-gnu',
   '/home/ubuntu/clab/denv/lib/python2.7/lib-tk',
   '/home/ubuntu/clab/denv/lib/python2.7/lib-old',
   '/home/ubuntu/clab/denv/lib/python2.7/lib-dynload',
   '/usr/lib/python2.7',
   '/usr/lib/python2.7/plat-x86_64-linux-gnu',
   '/usr/lib/python2.7/lib-tk',
   '/home/ubuntu/clab/denv/local/lib/python2.7/site-packages',
   '/home/ubuntu/clab/denv/lib/python2.7/site-packages']
  Server time:    Sat, 5 Aug 2017 01:58:31 +0000
  Error during template rendering
  
  In template /home/ubuntu/clab/courses/templates/base.html, error at line 16
  en-us
  6       &lt;title&gt;{% block title %}Educa{% endblock %}&lt;/title&gt;
  7       &lt;link href="{% static "css/base.css" %}" rel="stylesheet"&gt;
  8   &lt;/head&gt;
  9   &lt;body&gt;
  10      &lt;div id="header"&gt;
  11          &lt;a href="/" class="logo"&gt;Educa&lt;/a&gt;
  12          &lt;ul class="menu"&gt;
  13              {% if request.user.is_authenticated %}
  14                  &lt;li&gt;&lt;a href="{% url "logout" %}"&gt;Sign out&lt;/a&gt;&lt;/li&gt;
  15              {% else %}
  16          &lt;li&gt;&lt;a href="{% url "login" %}"&gt;Sign in&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>I am not sure where to start here. 
  requirement.txt has the following 
  django
  django-braces
  gunicorn</p>
  
  <p>Thank you in advance. </p>