from django.conf import settings
from fabtastic.db import util

db_engine = util.get_db_setting('ENGINE')

if 'postgresql_psycopg2' in db_engine:
    from fabtastic.db.postgres import *
else:
    raise NotImplementedError("Fabtastic: DB engine '%s' is not supported" % db_engine)
from django.conf import settings
from fabtastic.db import util

db_engine = util.get_db_setting('ENGINE')

if 'postgresql_psycopg2' in db_engine:
    from fabtastic.db.postgres import *
else:
    print("Fabtastic WARNING: DB engine '%s' is not supported" % db_engine)

Make the warning for SQLite not being supported a print instead of an exception.
Make the warning for SQLite not being supported a print instead of an exception.

  from django.conf import settings
  from fabtastic.db import util
  
  db_engine = util.get_db_setting('ENGINE')
  
  if 'postgresql_psycopg2' in db_engine:
      from fabtastic.db.postgres import *
  else:
-     raise NotImplementedError("Fabtastic: DB engine '%s' is not supported" % db_engine)
+     print("Fabtastic WARNING: DB engine '%s' is not supported" % db_engine)
+ 
Make the warning for SQLite not being supported a print instead of an exception.
## Code Before:
from django.conf import settings
from fabtastic.db import util

db_engine = util.get_db_setting('ENGINE')

if 'postgresql_psycopg2' in db_engine:
    from fabtastic.db.postgres import *
else:
    raise NotImplementedError("Fabtastic: DB engine '%s' is not supported" % db_engine)
## Instruction:
Make the warning for SQLite not being supported a print instead of an exception.
## Code After:
from django.conf import settings
from fabtastic.db import util

db_engine = util.get_db_setting('ENGINE')

if 'postgresql_psycopg2' in db_engine:
    from fabtastic.db.postgres import *
else:
    print("Fabtastic WARNING: DB engine '%s' is not supported" % db_engine)
