# Path: yak/rest_social_network/views.py
# class TagViewSet(viewsets.ModelViewSet):
# class CommentViewSet(viewsets.ModelViewSet):
# class FollowViewSet(viewsets.ModelViewSet):
# class ShareViewSet(viewsets.ModelViewSet):
# class LikeViewSet(viewsets.ModelViewSet):
# class FlagView(generics.CreateAPIView):
# class SocialUserViewSet(UserViewSet):
#     def perform_create(self, serializer):
#     def perform_update(self, serializer):
#     def perform_create(self, serializer):
#     def perform_update(self, serializer):
#     def bulk_create(self, request):
#     def perform_create(self, serializer):
#     def perform_update(self, serializer):
#     def perform_create(self, serializer):
#     def perform_update(self, serializer):
#     def perform_create(self, serializer):
#     def following(self, request, pk):
#     def followers(self, request, pk):


from django.conf.urls import url, include
from yak.rest_social_network import views
from rest_framework import routers


router = routers.DefaultRouter()

# These views will normally be overwritten by notification-related views to account for notifications
# They can still be used as-is by registering with the main project router
# router.register(r'follows', FollowViewSet, base_name='follows')
# router.register(r'likes', LikeViewSet, base_name='likes')
# router.register(r'shares', ShareViewSet, base_name='shares')
# router.register(r'comments', CommentViewSet, base_name='comments')

# These views do not expect app-specific notifications
router.register(r'tags', views.TagViewSet, base_name='tags')

urlpatterns = [
    url(r'^', include(router.urls)),

# Path: yak/rest_social_network/views.py
# class TagViewSet(viewsets.ModelViewSet):
# class CommentViewSet(viewsets.ModelViewSet):
# class FollowViewSet(viewsets.ModelViewSet):
# class ShareViewSet(viewsets.ModelViewSet):
# class LikeViewSet(viewsets.ModelViewSet):
# class FlagView(generics.CreateAPIView):
# class SocialUserViewSet(UserViewSet):
#     def perform_create(self, serializer):
#     def perform_update(self, serializer):
#     def perform_create(self, serializer):
#     def perform_update(self, serializer):
#     def bulk_create(self, request):
#     def perform_create(self, serializer):
#     def perform_update(self, serializer):
#     def perform_create(self, serializer):
#     def perform_update(self, serializer):
#     def perform_create(self, serializer):
#     def following(self, request, pk):
#     def followers(self, request, pk):


# Path: yak/rest_social_network/urls.py
from django.conf.urls import url, include
from yak.rest_social_network import views
from rest_framework import routers



router = routers.DefaultRouter()

# These views will normally be overwritten by notification-related views to account for notifications
# They can still be used as-is by registering with the main project router
# router.register(r'follows', FollowViewSet, base_name='follows')
# router.register(r'likes', LikeViewSet, base_name='likes')
# router.register(r'shares', ShareViewSet, base_name='shares')
# router.register(r'comments', CommentViewSet, base_name='comments')

# These views do not expect app-specific notifications
router.register(r'tags', views.TagViewSet, base_name='tags')

urlpatterns = [
    url(r'^', include(router.urls)),

    url(r'^flag/$', views.FlagView.as_view(), name="flag"),