wwwuser
wwwuser

Reputation: 6372

Django CMS how do I add a CSS file to the admin

When using Django CMS, how do you add your own custom CSS file to be loaded in the admin? I'd like to customize the layout of the page admin.

Upvotes: 0

Views: 1078

Answers (1)

Rob L
Rob L

Reputation: 3734

You'll need to copy at least base.html from /contrib/admin/templates/admin/ to

project
--templates
----admin
------base.html

There you can tell admin to load whatever .css files you want.

Upvotes: 1

Related Questions