Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top