Skip to content

Commit

Permalink
Fix CassandraDatabaseSchemaEditor.create_model (#100)
Browse files Browse the repository at this point in the history
Thanks for the fix! It was probably my mistake, nice catch!
  • Loading branch information
Darren authored and r4fek committed Aug 27, 2017
1 parent 3de05bf commit f129ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_cassandra_engine/base/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f129ce8

Please sign in to comment.