sobolevn
sobolevn
Code: ```python from rest_framework import viewsets from server.apps.main.logic import repo from server.apps.main.serializers import BlogPostSerializer from server.apps.main.models import BlogPost class BlogPostViewset(viewsets.ModelViewSet): """API demo.""" serializer_class = BlogPostSerializer queryset = repo.published_posts() def perform_create(self,...
```python # -*- coding: utf-8 -*- from rest_framework import serializers from server.apps.main.models import BlogPost, User class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ['username', 'email'] class BlogPostSerializer(serializers.HyperlinkedModelSerializer): author =...
My current use-case is that I am working on `pyproject.toml` styles. I want ```toml [build-system] requires = ... build-backend = ... ``` to be set to any values. But, I...
See https://github.com/wemake-services/wemake-django-template/blob/master/.gitlab-ci.yml
https://github.com/plantain-00/type-coverage
https://awesomejs.dev/for/nuxt/pkg/248213994992566798/
https://github.com/nuxt-community/eslint-module Related #1695
https://wemake-vue-demo.now.sh/  Steps to recreate: 1. create new app with our template 2. run the production server with `yarn start` 3. open the page with `iPad`
Related https://github.com/wemake-services/wemake-django-template/issues/1046
Lighthouse CI is a set of commands that make continuously running, asserting, saving, and retrieving Lighthouse results as easy as possible. https://github.com/GoogleChrome/lighthouse-ci