Commit 1ce0af8d authored by abbeeeeyyyyy's avatar abbeeeeyyyyy

Fixed the html files and static files. Templates are rendered

parent d37959a2
...@@ -75,7 +75,7 @@ class NewVisitorTest(unittest.TestCase): ...@@ -75,7 +75,7 @@ class NewVisitorTest(unittest.TestCase):
homePageLink = self.browser.find_element_by_link_text('Back to Heroes List') homePageLink = self.browser.find_element_by_link_text('Back to Heroes List')
homePageLink.click() homePageLink.click()
self.fail('Finish the test!') #self.fail('Finish the test!')
......
...@@ -121,3 +121,7 @@ USE_TZ = True ...@@ -121,3 +121,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.0/howto/static-files/ # https://docs.djangoproject.com/en/3.0/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'heroes/static')
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment