Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
I recently read this interesting Reliable Django Signals article which left me inspired to have a play with building something similar.
-
I recently read How to use UUIDv7 in Python, Django and PostgreSQL from Paolo Melchiorre.
-
When writing tests I use the example.com domain for any URLs, email addresses, and similar.
-
I recently came across Capo, a tool that helps identify HTML head elements that are out of order.
-
Recently shared at work was this TIL from Samuel, Custom alias for pretty printing in Python debugger with .pdbrc (including Django models!).
-
I recently had a deployment fail with the following WhiteNoise error. -----> $ python src/manage.py collectstatic --noinput Post-processing 'polls/style.css' failed!
-
Django has a many built-in database functions and a documented Func API for writing your own.
-
I have some slow running, low priority Celery tasks that I don’t want holding up more important tasks.
-
I recently ran into this error uploading images to AWS S3 using the boto3 package.
-
Let’s say I have the following Django model. from django.db import models class User(models.Model): name = models.CharField(blank=True) And I want to filter those like so. users = User.objects.filter(name__istartswith="John") That would perform the…
-
Here are some notes on how to structure a Django project.