PyLand Team
PyLand Team
Author's articles
All publications PyLand Team
SECRET_KEY in Django
SECRETKEY is used to cryptographically sign Django data, so it must never be committed to a repository or exposed in...
Django Shell
Django Shell is an interactive Python console with the full Django environment loaded.
manage.py: Django commands
manage.py is Django's command-line utility. Every interaction with a project goes through it.
Date Formats in Django
Covered topics: Date fields in a model, Working with dates in Python, Formatting in templates, Formatting in Python.
Internationalization (i18n) in Django
Covered topics: Configuration, Translating strings in Python, Translating in templates, Creating translation files.
Overriding get_queryset in Django CBVs
getqueryset() is a method for customizing the dataset used in a CBV.
ForeignKey and on_delete in Django
Covered topics: ondelete β behavior when the parent is deleted, ondelete options, Examples, relatedname.
Testing Django with pytest
Covered topics: Installation, conftest.py β Fixtures, Model Test, View Test with Client.
REST API Design Principles
Covered topics: Resources and URLs, HTTP methods, Nested resources, Response codes.
Setting Up Your Environment: Python, pip, and VS Code
Before writing code locally, you need to set up three tools: Python, pip, and VS Code. This takes 10β15 minutes...
Anthropic SDK: Getting Started with the Claude API
Anthropic Python SDK is the official library for working with Claude. It hides the complexity of raw HTTP requests, adds...
Streaming LLM Responses: Getting the Answer Piece by Piece
By default, messages.create() waits until the model has fully generated its response before returning anything. For long responses this means...
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