Skip to content

Commit

Permalink
reset_db made to work with spatialite (backend from geodjango)
Browse files Browse the repository at this point in the history
Skirmantas Jurgaitis committed Apr 16, 2013
1 parent d5cbdf1 commit 108b339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_extensions/management/commands/reset_db.py
Original file line number Diff line number Diff line change
@@ -92,7 +92,7 @@ def handle(self, *args, **options):
if password is None:
password = settings.DATABASE_PASSWORD

if engine == 'sqlite3':
if engine in ('sqlite3', 'spatialite'):
import os
try:
logging.info("Unlinking sqlite3 database")

0 comments on commit 108b339

Please sign in to comment.