Skip to content

Commit

Permalink
removing email for privacy reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
fredfalcon authored Jun 24, 2018
1 parent f16fb00 commit b4a6cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class UserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = ('id','username','email')
fields = ('id','username')

class IssueSerializer(serializers.ModelSerializer):
user = UserSerializer(read_only=True)
Expand Down Expand Up @@ -44,4 +44,4 @@ class DomainViewSet(viewsets.ModelViewSet):
router = routers.DefaultRouter()
router.register(r'issues', IssueViewSet, base_name="issues")
router.register(r'profile', UserProfileViewSet, base_name="profile")
router.register(r'domain', DomainViewSet, base_name="domain")
router.register(r'domain', DomainViewSet, base_name="domain")

0 comments on commit b4a6cdf

Please sign in to comment.