title: Forward base URL to specific page with Django
body: <p>I took over a Django web app from a coworker who quit. Currently users of the app have to type in a very long URL to login to the app and use it, like:</p>
  
  <p><a href="http://myapp.company.com/djangoapp/mydir/login" rel="nofollow noreferrer">http://myapp.company.com/djangoapp/mydir/login</a></p>
  
  <p>whereas the base (is that the correct term?) URL of </p>
  
  <p><a href="http://myapp.company.com/" rel="nofollow noreferrer">http://myapp.company.com/</a></p>
  
  <p>points to nothing. </p>
  
  <p>So now they would like <a href="http://myapp.company.com/" rel="nofollow noreferrer">http://myapp.company.com/</a> to automatically forward to 
  <a href="http://myapp.company.com/djangoapp/mydir/login" rel="nofollow noreferrer">http://myapp.company.com/djangoapp/mydir/login</a></p>
  
  <p>Sounds simple enough and I could do it with HTML or the Spring framework, but with Django I can't seem to figure this out. I have a feeling I need to edit <code>urls.py</code> but I'm not sure in what way to do so.</p>
  
  <p>I have access to the Django app and the server hosting it, but there's not like a cPanel or any simplifying tool like that to manage the domain. The domain itself is set up and owned by some unknown IT person in a department far, far away.</p>