From c9205ddae567c18aaa0ec7133049ee752e953db7 Mon Sep 17 00:00:00 2001 From: Thomas Aglassinger Date: Sun, 8 Jun 2025 18:47:13 +0200 Subject: [PATCH] Fix missing import in example Without this, the migrations fails with the error message > NameError: name 'migrations' is not defined --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 24d9bb9..ce43bbe 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ Or check out some examples: Create a migration to enable the extension ```python +from django.db import migrations from pgvector.django import VectorExtension class Migration(migrations.Migration):