visd / VISD-Badges

VISD Badges
Other
0 stars 0 forks source link

Add "tagged_with" to context #21

Closed argybarg closed 11 years ago

argybarg commented 11 years ago

The odd name to avoid confusion with 'tags,' which is something else. Tags are a model, with many-to-many joins to other models.

"Tagged_with" attaches a list of potentially useful tags to the context. Example: If in instance's owner == request.user, add the "owned" tag to "tagged_with." In this way we mark owned instances, and we can use CSS to add a visual marker to say: "This one is yours."