Fix for club tools

This commit is contained in:
klmp200 committed 2017-10-06 11:09:31 +02:00
1 parent 4026d076b3
commit 2c1cf2d7af
4 files changed
+20 -7

No files matched your search

+4
View File
@@ -26,6 +26,10 @@ from django.db import connection, migrations
class PsqlRunOnly(migrations.RunSQL):
"""
Usefull for migrations with specific postgresql commands
Avoid breaking tests and local dev environnment
"""
def _run_sql(self, schema_editor, sqls):
if connection.vendor == 'postgresql':