I have a blog with categories. Users who read the blog are allowed to add up to five unique posts to their favorites for each category.
So Favorites - CategoryID - PostID - UserID How should I limit the number of favorites per user (per category), while enforcing favorite post uniqueness for each category? (if that sentence made any sense at all). Is this something that should be down as a Trigger in PostgreSQL, is this something that should be done by overriding save(), or is this limitation/restriction suppose to be handled just in the view? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---