This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# This field is used on the user model to transparently add stuff from the | |
# user profile object into the user resource. | |
# | |
# Copyright (c) 2012 Colin Sullivan <colinsul [at] gmail.com> | |
# Licensed under the MIT License. | |
### | |
class UserProfileManyToManyField(fields.ManyToManyField): | |
### | |
# We will override the dehydrate method so when we're trying to dehydrate |