PyLand Team
PyLand Team
Author's articles
All publications PyLand Team
Pydantic v2 in FastAPI
FastAPI uses Pydantic for data validation and serialization.
Multi-stage Builds: Shrinking Your Docker Image
A large image means slow downloads, more disk usage, and a bigger attack surface. Multi-stage builds solve all three.
Docker Compose: Advanced Features
A basic docker-compose.yml is just the starting point. Production workloads need healthchecks, profiles, override files, and resource management.
Docker Networking: How Containers Communicate
Containers are isolated, but they often need to talk to each other and to the outside world. Docker handles this...
Environment Variables in Docker
Environment variables are the standard way to configure containers. They let you use a single image across different environments (dev,...
Search in Django
You can start with simple Django ORM filters and move to PostgreSQL features when you need ranked, full-text search.
Swagger Documentation with drf-spectacular
drf-spectacular generates an OpenAPI 3.0 schema and Swagger UI for DRF.
settings.py: Django Configuration
settings.py is the central configuration file for a Django project.
DRF Serializers
A serializer converts model objects to and from a Python dict and JSON.
Django Project Structure
After running django-admin startproject mysite, the following standard structure is created:
CSRF Protection in Django
CSRF (Cross-Site Request Forgery) is an attack in which an adversary tricks the user's browser into sending a request on...
Django Model Fields
A model is a Python class that describes a database table. Each field represents a column.
Statistics by categories
Author's article distribution by topics
Django
63 articles
Python
54 articles
Git ΠΈ GitHub
32 articles
Html Css
23 articles
LLM ΠΈ AI
21 articles