Hi Bram, Here is a possible mechanism to address your second point, i.e., hide certain fields while serializing.
Consider this model: class Person(models.Model): ... # various fields here. @staticmethod def fields_for_serializing(): return [list of those field names that can be serialized] You can then invoke this method while serializing. serializers.serialize('json', Person.objects.all(), fields = Person.fields_for_serializing()) Regards, Manoj --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---