1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

[5.2.x] Applied Black's 2025 stable style.

https://github.com/psf/black/releases/tag/25.1.0
Backport of ff3aaf036f from main
This commit is contained in:
Mariusz Felisiak
2025-03-01 19:41:37 +01:00
parent b8ceda4a51
commit 53bb1d5a24
46 changed files with 213 additions and 185 deletions

View File

@@ -546,6 +546,7 @@ class SuperVillain(Villain):
class FunkyTag(models.Model):
"Because we all know there's only one real use case for GFKs."
name = models.CharField(max_length=25)
content_type = models.ForeignKey(ContentType, models.CASCADE)
object_id = models.PositiveIntegerField()