Fixes #1622 - split the api into 4 apps: core, history, schedule, storage - exploded the settings into testing/prod
10 lines
321 B
Python
10 lines
321 B
Python
from rest_framework import viewsets
|
|
|
|
from ..models import ServiceRegister
|
|
from ..serializers import ServiceRegisterSerializer
|
|
|
|
|
|
class ServiceRegisterViewSet(viewsets.ModelViewSet):
|
|
queryset = ServiceRegister.objects.all()
|
|
serializer_class = ServiceRegisterSerializer
|
|
model_permission_name = "serviceregister"
|