On Tue, Dec 9, 2008 at 8:24 PM, Chris <[EMAIL PROTECTED]> wrote: > > I'm trying to implement a simple mailing list unsubscribe feature. For > the model, I currently have an "Unsubscribe" class with a > ReferenceProperty to the default User class, and a DateProperty to > record the unsubscribe time. A record in this table/instance of this > class would indicate that a specific User has unsubscribed. > > The problem I've run into is that I don't see any way to take > advantage of this model. How would you query all Users who *aren't* > referenced by Unsubscribe?
You should model your data based on how you want to use your data. If you want to find users who aren't unsubscribed, add a boolean subscribed (or unsubscribed) property to the User model. Dave. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---