Reputation: 1932
I'm not a web developer but however, I'm in a project where we want to deploy a Django web app based in HTML and CSS front end. We have deployed an HTML code that looks like :
Unfortunately, when we deploy this in a login template for Django the fancy model is screwed up we get:
Check out my code here:
https://jsfiddle.net/Andres/hmpbkc9n/#
Workaround:
I have just to add the file .css into the path project\Lib\site-packages\django\contrib\admin\static
and then I run the command:
python manage.py findstatic css/login.css --verbosity 2
and I got:
However, it's not working yet.
Upvotes: 0
Views: 87
Reputation: 1810
Static files such as CSS, JS, and images should be placed accordingly based on the STATIC setting in your settings.py
then perform a collectstatic
command.
Upvotes: 2