realpython / dockerizing-django

https://realpython.com/blog/python/django-development-with-docker-compose-and-machine/
1.34k stars 484 forks source link

standard admin page? #43

Closed rochford77 closed 7 years ago

rochford77 commented 7 years ago

is there a way to get the standard admin page. I followed the blog post and everything works well, however the django admin page is wonky. screen shot 2017-02-01 at 11 47 07 pm

vstoykov commented 7 years ago

There is not a problem with the admin page. There is a problem with serving the static files from your project.

jujes commented 7 years ago

yes, use this command:

docker-compose exec web python manage.py collectstatic --noinput
rochford77 commented 7 years ago

WOW, didn't even consider that. I'll Give it a shot this evening.

AliYmn commented 7 years ago

@jujes thanks.