orwellian
orwellian

Reputation: 3

Django: Messages Framework

So I have installed the new Messages Framework. The documentation mentions using a css class called "messages" in the template. But I can't seem to find any such css class in any of the files in the trunk. What I want to do is, in the Django Admin, have a red cross, instead of a green v, when displaying an error.

http://docs.djangoproject.com/en/dev/ref/contrib/messages/#ref-contrib-messages

Upvotes: 0

Views: 1211

Answers (1)

Ned Batchelder
Ned Batchelder

Reputation: 375604

You can define the styling for .messages in your own CSS file, there doesn't need to be one already defined in the trunk.

Upvotes: 2

Related Questions