🦆
Typing ...
Software Developer.
Python Fanatic.
-
@PythonBalkan, bemo.fi
- Serbia, Belgrade
-
14:43
(UTC +01:00) - https://ruslan.beer
- https://telegram.ruslan.beer
- in/ruslan-korneev
- ruslan.beer
Pinned Loading
-
-
pgconnect-zsh
pgconnect-zsh PublicThis plugin enhances your Oh My Zsh setup by providing an easy way to manage and connect to PostgreSQL databases using pgcli and fzf for a seamless command-line experience.
Shell 2
-
-
-
DRF Serializer and Permission per Ac...
DRF Serializer and Permission per Action.md 1# Serializer and Permission per action in Django REST Framework
2In Django REST Framework you have a Viewsets, which can contain multiple views (actions).
3But to use different serializers and permissions for each action you always need to override `get_serializer_class` or `get_permissions` methods.
4Here I've implemented a mixins which allow you to setup your serializers and permissions per action in a dictionaries
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.