refacto [server]: style/lint
This commit is contained in:
parent
0d6b6d41e5
commit
8df108a63e
2 changed files with 5 additions and 5 deletions
|
@ -135,11 +135,11 @@ $navbar-item-img-max-height: 105px
|
|||
.navbar-menu
|
||||
display: flex
|
||||
flex-direction: column
|
||||
align-items: end
|
||||
justify-content: end
|
||||
align-items: flex-end
|
||||
justify-content: flex-end
|
||||
|
||||
.navbar-start
|
||||
align-items: end
|
||||
align-items: flex-end
|
||||
|
||||
.navbar-end
|
||||
align-items: center
|
||||
|
|
|
@ -24,7 +24,7 @@ class AdminFilmViewSet(viewsets.ModelViewSet):
|
|||
return Response(preview_text)
|
||||
|
||||
# TODO confirm that latex renderer is not a problem
|
||||
@action(detail=True, renderer_classes=[LatexRenderer], methods=["GET"])
|
||||
@action(detail=True, methods=["GET"], renderer_classes=[LatexRenderer])
|
||||
def bocal(self, request, pk=None):
|
||||
return self.general_com_view(com.bocal)
|
||||
|
||||
|
@ -37,7 +37,7 @@ class AdminFilmViewSet(viewsets.ModelViewSet):
|
|||
{"title": fb_title, "body": fb_text, "banner_link": film.banner_link}
|
||||
)
|
||||
|
||||
@action(detail=True, renderer_classes=[StaticHTMLRenderer], methods=["GET"])
|
||||
@action(detail=True, methods=["GET"], renderer_classes=[StaticHTMLRenderer])
|
||||
def newsletter(self, request, pk=None):
|
||||
return self.general_com_view(com.mail)
|
||||
|
||||
|
|
Loading…
Reference in a new issue