Skip to content
This repository was archived by the owner on Jan 11, 2019. It is now read-only.

Add simple styling#1

Open
holdenweb wants to merge 12 commits intodivio:masterfrom
holdenweb:master
Open

Add simple styling#1
holdenweb wants to merge 12 commits intodivio:masterfrom
holdenweb:master

Conversation

@holdenweb
Copy link
Copy Markdown

Please note this is my first contribution to any public Django codebase, so you may have suggestions for further changes before accepting this request. It's some time since I used Django and I was never heavily into it. I am not necessarily aware of current best practices as I have only jsut started working with django-cms.

Basically I have added another model column, style, set by drop-down in the editing widget. This is used to set the class of the generated table and select one of a number of styles specified in an auxiliary CSS file.

I have tested the schema migration, which appears to work (I haven't used South before, either).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant