Skip to content
Snippets Groups Projects
Commit 2c440062 authored by ynerant's avatar ynerant
Browse files

Changelogs are read-only protected

parent 13797598
No related branches found
No related tags found
Loading
......@@ -8,7 +8,7 @@ from .serializers import ChangelogSerializer
from ..models import Changelog
class ChangelogViewSet(viewsets.ModelViewSet):
class ChangelogViewSet(viewsets.ReadOnlyModelViewSet):
"""
REST API View set.
The djangorestframework plugin will get all `Changelog` objects, serialize it to JSON with the given serializer,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment