Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes legacy stuff from #2709 #2710

Merged
merged 9 commits into from
Dec 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions posthog/api/team.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from typing import Any, Dict

import posthoganalytics
from django.db import transaction
from django.shortcuts import get_object_or_404
from rest_framework import exceptions, permissions, request, response, serializers, viewsets
Expand Down Expand Up @@ -123,21 +122,3 @@ def reset_token(self, request: request.Request, id: str, **kwargs) -> response.R
team.api_token = generate_random_token()
team.save()
return response.Response(TeamSerializer(team).data)


class TeamSignupViewset(OrganizationSignupViewset):
"""
DEPRECATED: Only for transition purposes to support posthog-production repo. May be removed after
https://github.com/PostHog/posthog-production/pull/54 is merged.
"""

pass


class TeamSignupSerializer(OrganizationSignupSerializer):
"""
DEPRECATED: Only for transition purposes to support posthog-production repo. May be removed after
https://github.com/PostHog/posthog-production/pull/54 is merged.
"""

pass