From 07dd2ed3474ee55f64870eefb2ca72c6ba89d440 Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 27 Aug 2017 14:10:01 +0800 Subject: [PATCH] Fix CassandraDatabaseSchemaEditor.create_model --- django_cassandra_engine/base/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_cassandra_engine/base/schema.py b/django_cassandra_engine/base/schema.py index c5ea256..c6673c7 100644 --- a/django_cassandra_engine/base/schema.py +++ b/django_cassandra_engine/base/schema.py @@ -20,7 +20,7 @@ def create_model(self, model): MigrationSchemaMissing as Exc) except ImportError: from django.core.exceptions import ImproperlyConfigured as Exc - raise Exception('No schema for cassandra database') + raise Exc('No schema for cassandra database') def delete_model(self, model): pass