Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Bring tag behavior in line with builtin messages #23

Closed
wants to merge 4 commits into from

Conversation

nthall
Copy link

@nthall nthall commented Jan 14, 2016

This fixes #21 -- adds a level_tag property to the message model, and adds a custom message manager with a method that automatically adds any applicable level_tag to any user-defined tags. Tag behavior now matches builtin messages. I didn't add any new tests for this functionality; I just changed the existing tag-related assertions to match the new expected behavior. I'm happy to add new tests if you think it's necessary.

@nthall
Copy link
Author

nthall commented Feb 18, 2016

I'm closing this PR so that I can submit a new one with cleaner commit history and no merge conflicts.

@nthall nthall closed this Feb 18, 2016
@palazzem
Copy link
Contributor

Hi @nthall !
Thank you. I'm just going to work on the project again during this weekend so I can merge everything, taking a look at your PR.

Thanks for your code!

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.

Tag interface on message object does not match django.contrib.messages
2 participants