# Path: diag_app/views.py
# def create_account(request):
# def about_us(request):
# def login_user(request):
# def main_page(request):
# def notifications(request):
# def problem_list(request, model, id):
# def model_detail(request, id):
# def problem_detail(request, id):
# def profile(request):
#     def get_permissions(self):
#     def get_permissions(self):
# class UserView(viewsets.ModelViewSet):
# class SystemViewSet(viewsets.ModelViewSet):
# class ModelFilter(django_filters.rest_framework.FilterSet):
#     class Meta:
# class ModelViewSet(viewsets.ModelViewSet):
# class BrandViewSet(viewsets.ModelViewSet):
# class ProblemFilter(django_filters.rest_framework.FilterSet):
#     class Meta:
# class ProblemGetViewSet(viewsets.ModelViewSet):
# class ProblemPostViewSet(viewsets.ModelViewSet):
# class SolutionGetViewSet(viewsets.ModelViewSet):
# class SolutionPostViewSet(viewsets.ModelViewSet):
# class VoteFilter(django_filters.rest_framework.FilterSet):
#     class Meta:
# class VoteViewSet(viewsets.ModelViewSet):
# class TechGetViewSet(viewsets.ModelViewSet):
# class TechPostViewSet(viewsets.ModelViewSet):
# class RatingViewSet(viewsets.ModelViewSet):
# class NotificationViewSet(viewsets.ModelViewSet):


from django.conf.urls import url, include
from django.contrib import admin
from django.contrib.auth import views as auth_views
from rest_framework import routers
from diag_app import views
from django.views.generic import TemplateView


router = routers.DefaultRouter()
router.register(r'accounts', views.UserView, 'list')
router.register(r'systems', views.SystemViewSet)
router.register(r'brands', views.BrandViewSet)
router.register(r'models', views.ModelViewSet)
router.register(r'get-problems', views.ProblemGetViewSet)
router.register(r'post-problems', views.ProblemPostViewSet)
router.register(r'get-solutions', views.SolutionGetViewSet)
router.register(r'post-solutions', views.SolutionPostViewSet)
router.register(r'votes', views.VoteViewSet)
router.register(r'get-techs', views.TechGetViewSet)
router.register(r'post-techs', views.TechPostViewSet)
router.register(r'ratings', views.RatingViewSet)

# Path: diag_app/views.py
# def create_account(request):
# def about_us(request):
# def login_user(request):
# def main_page(request):
# def notifications(request):
# def problem_list(request, model, id):
# def model_detail(request, id):
# def problem_detail(request, id):
# def profile(request):
#     def get_permissions(self):
#     def get_permissions(self):
# class UserView(viewsets.ModelViewSet):
# class SystemViewSet(viewsets.ModelViewSet):
# class ModelFilter(django_filters.rest_framework.FilterSet):
#     class Meta:
# class ModelViewSet(viewsets.ModelViewSet):
# class BrandViewSet(viewsets.ModelViewSet):
# class ProblemFilter(django_filters.rest_framework.FilterSet):
#     class Meta:
# class ProblemGetViewSet(viewsets.ModelViewSet):
# class ProblemPostViewSet(viewsets.ModelViewSet):
# class SolutionGetViewSet(viewsets.ModelViewSet):
# class SolutionPostViewSet(viewsets.ModelViewSet):
# class VoteFilter(django_filters.rest_framework.FilterSet):
#     class Meta:
# class VoteViewSet(viewsets.ModelViewSet):
# class TechGetViewSet(viewsets.ModelViewSet):
# class TechPostViewSet(viewsets.ModelViewSet):
# class RatingViewSet(viewsets.ModelViewSet):
# class NotificationViewSet(viewsets.ModelViewSet):


# Path: diag_project/urls.py
from django.conf.urls import url, include
from django.contrib import admin
from django.contrib.auth import views as auth_views
from rest_framework import routers
from diag_app import views
from django.views.generic import TemplateView



router = routers.DefaultRouter()
router.register(r'accounts', views.UserView, 'list')
router.register(r'systems', views.SystemViewSet)
router.register(r'brands', views.BrandViewSet)
router.register(r'models', views.ModelViewSet)
router.register(r'get-problems', views.ProblemGetViewSet)
router.register(r'post-problems', views.ProblemPostViewSet)
router.register(r'get-solutions', views.SolutionGetViewSet)
router.register(r'post-solutions', views.SolutionPostViewSet)
router.register(r'votes', views.VoteViewSet)
router.register(r'get-techs', views.TechGetViewSet)
router.register(r'post-techs', views.TechPostViewSet)
router.register(r'ratings', views.RatingViewSet)

router.register(r'notifications', views.NotificationViewSet)