From 2de9932225b6d5091347d28fd7357746e2c8f4e1 Mon Sep 17 00:00:00 2001
From: Vito <vito.lavilla@invitae.com>
Date: Tue, 14 Jan 2025 05:58:59 -0500
Subject: [PATCH] Version 5.1.2 release (#2478)

---
 README.md    | 1 +
 ext/setup.py | 2 +-
 setup.py     | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index cd62bcf73..b24459288 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,7 @@ We rely on different `django` and `mypy` versions:
 
 | django-stubs   | Mypy version | Django version | Django partial support | Python version |
 |----------------|--------------|----------------|------------------------|----------------|
+| 5.1.2          | 1.13+        | 5.1            | 4.2                    | 3.8 - 3.13     |
 | 5.1.1          | 1.13.x       | 5.1            | 4.2                    | 3.8 - 3.12     |
 | 5.1.0          | 1.11.x       | 5.1            | 4.2                    | 3.8 - 3.12     |
 | 5.0.4          | 1.11.x       | 5.0            | 4.2                    | 3.8 - 3.12     |
diff --git a/ext/setup.py b/ext/setup.py
index fc32035cc..4137ad3e5 100755
--- a/ext/setup.py
+++ b/ext/setup.py
@@ -13,7 +13,7 @@
 # It's fine to skip django-stubs-ext releases, but when doing a release, update this to newest django-stubs version.
 setup(
     name="django-stubs-ext",
-    version="5.1.1",
+    version="5.1.2",
     description="Monkey-patching and extensions for django-stubs",
     long_description=readme,
     long_description_content_type="text/markdown",
diff --git a/setup.py b/setup.py
index 395e2947e..c375e5cb3 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ def find_stub_files(name: str) -> list[str]:
 dependencies = [
     "django",
     "asgiref",
-    "django-stubs-ext>=5.1.1",
+    "django-stubs-ext>=5.1.2",
     "tomli; python_version < '3.11'",
     # Types:
     "typing-extensions>=4.11.0",
@@ -38,7 +38,7 @@ def find_stub_files(name: str) -> list[str]:
 
 setup(
     name="django-stubs",
-    version="5.1.1",
+    version="5.1.2",
     description="Mypy stubs for Django",
     long_description=readme,
     long_description_content_type="text/markdown",