title: Django Unable to access LiveServerTestCase (code 500)
body: <p>I was following Django docs, but am still having problem with this example - I get <code>500 Internal server error</code> when accesing the live server with Selenium.</p>
  <p>My code:</p>
  <pre><code>import os
  
  try:
      browser_driver = os.environ['BROWSER_DRIVER']
  except KeyError:
      raise ValueError(&quot;BROWSER_DRIVER env variable not specified. \nPlease specify path to your &quot;
                       &quot;browsers driver, more information: &quot;
                       &quot;https://selenium-python.readthedocs.io/installation.html#drivers&quot;)
  
  os.environ[&quot;PATH&quot;] += browser_driver
  
  from django.contrib.staticfiles.testing import LiveServerTestCase
  from selenium import webdriver
  
  
  class TestMostCommonUserActions(LiveServerTestCase):
      @classmethod
      def setUpClass(cls):
          super().setUpClass()
          cls.selenium = webdriver.Chrome()
          cls.selenium.implicitly_wait(10)
  
      @classmethod
      def tearDownClass(cls):
          cls.selenium.quit()
          super().tearDownClass()
  
      def test_slicing_is_possible_after_adding_and_subtracting_custom_slicing_info(self):
          # Here is the problem
          self.selenium.get('%s%s' % (self.live_server_url, '/'))
          pass
  </code></pre>
  <p>When I run my server on localhost and try to access with selenium localhost on port 8000, it works. But shouldn't be the whole point of LiveServerTestCase to not to have the real django server?</p>