dand...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed abee84e

added check to see if your backend is supported yet.

  • Participants
  • Parent commits aa8bd74
  • Branches schema-evolution

Comments (0)

Files changed (1)

File django/core/

             "Edit your settings file and change DATABASE_ENGINE to something like 'postgresql' or 'mysql'.\n"))
+    try:
+        backend.get_add_column_sql
+    except:
+        # This must be an unsupported database backend
+        sys.stderr.write(style.ERROR("Error: Django doesn't know which syntax to use for your SQL statements, " +
+            "because schema evolution support isn't built into your database backend yet.  Sorry!\n"))
+        sys.exit(1)
     # First, try validating the models.