Skip to content

Commit

Permalink
adjust restoredb admonition to include the right setting name
Browse files Browse the repository at this point in the history
  • Loading branch information
easel committed May 22, 2012
1 parent bd41e55 commit 865a5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_extensions/management/commands/restoredb.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def handle(self, *args, **options):
infile = os.path.join(settings.BACKUP_LOCATION, "%s.sql" %(settings.BACKUP_BASENAME))

if not settings.BACKUP_RESTORE_ENABLED:
print 'restore not enabled, set settings.EXTENSIONS_RESTORE_ENABLED=True to enable'
print 'restore not enabled, set settings.EXTENSIONS_BACKUP_RESTORE_ENABLED=True to enable'
elif 'mysql' in settings.DB_ENGINE:
print 'Doing Mysql restore of database %s from %s' % (settings.DB_NAME, infile)
self.do_mysql_restore(infile)
Expand Down

0 comments on commit 865a5e8

Please sign in to comment.