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