Starting lesson 2 and misssing CSS in admin page
Hi, I am starting lesson 2 at Admin section (after migration section). When I Load the admin ~(http://127.0.0.1:8888/admin/)~ I am missing the CSS for the django admin, I only have the HTML. I tried googling the problem but the solutions doesn't seem appropriate. Would you have any suggestions? Thank you.
Sorry You must be a logged in, registered user to answer a question.
Answers
A similar thing happened to me around minute 39 of the first tutorial.
I initially forgot the “root” in root("..", "static") and it gave me a very similar error at for this part of base.py:
STATIC_ROOT = root("..", "static")
I would go through base.py and make sure all of your paths are configured correctly.
Maybe it's a problem that Kenneth addressed in lesson 1, STATICFILES_DIRS and TEMPLATES_DIRS must have a comma in the end like:
STATICFILES_DIRS = (
root("assets"),
)