# Path: access/views.py
# class UserFilter(django_filters.FilterSet):
#     class Meta:
# class UserViewSet(viewsets.ModelViewSet):
# class GroupViewSet(viewsets.ModelViewSet):
# class PermissionViewSet(viewsets.ModelViewSet):
# 
# Path: attachments/views.py
# class ImageViewSet(viewsets.ModelViewSet):
# class VideoViewSet(viewsets.ModelViewSet):
# class AudioViewSet(viewsets.ModelViewSet):
# class ReviewFilter(django_filters.FilterSet):
#     class Meta:
# class ReviewViewSet(viewsets.ModelViewSet):
# class PollViewSet(viewsets.ModelViewSet):
# class PollChoiceViewSet(viewsets.ModelViewSet):
# 
# Path: authors/views.py
# class AuthorViewSet(viewsets.ModelViewSet):
# class OrganizationViewSet(viewsets.ModelViewSet):
# class PositionViewSet(viewsets.ModelViewSet):
# 
# Path: comments/views.py
# class InternalCommentFilter(django_filters.FilterSet):
#     class Meta:
# class InternalCommentViewSet(VersionableModelViewSetMixin,
#                              viewsets.ModelViewSet):
# 
# Path: core/views.py
# class SchemaViewSet(viewsets.ViewSet):
# class StatusViewSet(viewsets.ModelViewSet):
# class StoryFilter(django_filters.FilterSet):
#     class Meta:
# class StoryViewSet(VersionableModelViewSetMixin, viewsets.ModelViewSet):
# class PageViewSet(VersionableModelViewSetMixin, viewsets.ModelViewSet):
#     def list(self, request):
#     def get_queryset(self):
# 
# Path: display/views.py
# class CardSizeViewSet(viewsets.ModelViewSet):
# class StylesheetViewSet(viewsets.ModelViewSet):
# class ScriptViewSet(viewsets.ModelViewSet):
# class TemplateViewSet(viewsets.ModelViewSet):
# 
# Path: organization/views.py
# class SectionViewSet(viewsets.ModelViewSet):
# class TagViewSet(viewsets.ModelViewSet):
# class SiteViewSet(viewsets.ModelViewSet):
# 
# Path: requests/views.py
# class PhotoRequestFilter(django_filters.FilterSet):
#     class Meta:
# class PhotoRequestViewSet(VersionableModelViewSetMixin, viewsets.ModelViewSet):
# class GraphicRequestViewSet(VersionableModelViewSetMixin,
#                             viewsets.ModelViewSet):
# class IllustrationRequestViewSet(VersionableModelViewSetMixin,
#                                  viewsets.ModelViewSet):
# 
# Path: sports/views.py
# class SportViewSet(viewsets.ModelViewSet):
# class SchoolViewSet(viewsets.ModelViewSet):
# class GameFilter(django_filters.FilterSet):
#     class Meta:
# class GameViewSet(viewsets.ModelViewSet):


from django.conf.urls import url, include
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
from rest_framework import routers
from rest_framework.authtoken import views as rest_framework_views
from rest_framework_swagger.views import get_swagger_view
from access import views as access_views
from attachments import views as attachments_views
from authors import views as authors_views
from comments import views as comments_views
from core import views as core_views
from display import views as display_views
from organization import views as organization_views
from requests import views as requests_views
from sports import views as sports_views



router = routers.DefaultRouter()

# get the view for auto-generated API docs from Swagger
docs_view = get_swagger_view(title='docs')

# access
router.register(r'users', access_views.UserViewSet)
router.register(r'groups', access_views.GroupViewSet)
router.register(r'permissions', access_views.PermissionViewSet)

# attachments
router.register(r'images', attachments_views.ImageViewSet)
router.register(r'videos', attachments_views.VideoViewSet)
router.register(r'audio', attachments_views.AudioViewSet)
router.register(r'reviews', attachments_views.ReviewViewSet)
router.register(r'polls', attachments_views.PollViewSet)
router.register(r'poll_choices', attachments_views.PollChoiceViewSet)

# authors
router.register(r'authors', authors_views.AuthorViewSet)

# Path: access/views.py
# class UserFilter(django_filters.FilterSet):
#     class Meta:
# class UserViewSet(viewsets.ModelViewSet):
# class GroupViewSet(viewsets.ModelViewSet):
# class PermissionViewSet(viewsets.ModelViewSet):
# 
# Path: attachments/views.py
# class ImageViewSet(viewsets.ModelViewSet):
# class VideoViewSet(viewsets.ModelViewSet):
# class AudioViewSet(viewsets.ModelViewSet):
# class ReviewFilter(django_filters.FilterSet):
#     class Meta:
# class ReviewViewSet(viewsets.ModelViewSet):
# class PollViewSet(viewsets.ModelViewSet):
# class PollChoiceViewSet(viewsets.ModelViewSet):
# 
# Path: authors/views.py
# class AuthorViewSet(viewsets.ModelViewSet):
# class OrganizationViewSet(viewsets.ModelViewSet):
# class PositionViewSet(viewsets.ModelViewSet):
# 
# Path: comments/views.py
# class InternalCommentFilter(django_filters.FilterSet):
#     class Meta:
# class InternalCommentViewSet(VersionableModelViewSetMixin,
#                              viewsets.ModelViewSet):
# 
# Path: core/views.py
# class SchemaViewSet(viewsets.ViewSet):
# class StatusViewSet(viewsets.ModelViewSet):
# class StoryFilter(django_filters.FilterSet):
#     class Meta:
# class StoryViewSet(VersionableModelViewSetMixin, viewsets.ModelViewSet):
# class PageViewSet(VersionableModelViewSetMixin, viewsets.ModelViewSet):
#     def list(self, request):
#     def get_queryset(self):
# 
# Path: display/views.py
# class CardSizeViewSet(viewsets.ModelViewSet):
# class StylesheetViewSet(viewsets.ModelViewSet):
# class ScriptViewSet(viewsets.ModelViewSet):
# class TemplateViewSet(viewsets.ModelViewSet):
# 
# Path: organization/views.py
# class SectionViewSet(viewsets.ModelViewSet):
# class TagViewSet(viewsets.ModelViewSet):
# class SiteViewSet(viewsets.ModelViewSet):
# 
# Path: requests/views.py
# class PhotoRequestFilter(django_filters.FilterSet):
#     class Meta:
# class PhotoRequestViewSet(VersionableModelViewSetMixin, viewsets.ModelViewSet):
# class GraphicRequestViewSet(VersionableModelViewSetMixin,
#                             viewsets.ModelViewSet):
# class IllustrationRequestViewSet(VersionableModelViewSetMixin,
#                                  viewsets.ModelViewSet):
# 
# Path: sports/views.py
# class SportViewSet(viewsets.ModelViewSet):
# class SchoolViewSet(viewsets.ModelViewSet):
# class GameFilter(django_filters.FilterSet):
#     class Meta:
# class GameViewSet(viewsets.ModelViewSet):


# Path: project/urls.py
from django.conf.urls import url, include
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
from rest_framework import routers
from rest_framework.authtoken import views as rest_framework_views
from rest_framework_swagger.views import get_swagger_view
from access import views as access_views
from attachments import views as attachments_views
from authors import views as authors_views
from comments import views as comments_views
from core import views as core_views
from display import views as display_views
from organization import views as organization_views
from requests import views as requests_views
from sports import views as sports_views




router = routers.DefaultRouter()

# get the view for auto-generated API docs from Swagger
docs_view = get_swagger_view(title='docs')

# access
router.register(r'users', access_views.UserViewSet)
router.register(r'groups', access_views.GroupViewSet)
router.register(r'permissions', access_views.PermissionViewSet)

# attachments
router.register(r'images', attachments_views.ImageViewSet)
router.register(r'videos', attachments_views.VideoViewSet)
router.register(r'audio', attachments_views.AudioViewSet)
router.register(r'reviews', attachments_views.ReviewViewSet)
router.register(r'polls', attachments_views.PollViewSet)
router.register(r'poll_choices', attachments_views.PollChoiceViewSet)

# authors
router.register(r'authors', authors_views.AuthorViewSet)

router.register(r'organizations', authors_views.OrganizationViewSet)