I am using Cloud9 to develop Django app. I used the command: python manage.py runserver $PORT:$IP
to launch the development server, and added https
for css and scripts that will be loaded from external sites. Things are going OK, except for the foo.com/admin
page, it takes a long time for me to access the login page, and the style of admin page seems to be lost.
How can I fix it?
update 01
after looking into the issue, I found the problem is somehow caused by the virtualenv
, when I start my virtualenv
install Django
using pip
and then start the development server, the admin page is loading slowly as what I had. But when I deactivate my virtualenv
, and use the default Django
provided by Cloud9, the admin page is normal again.
Did anyone experience the same thing?