2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 20:57:10 +00:00

Don't put passwords in the repo

This commit is contained in:
expo
2015-06-24 04:41:50 +01:00
parent 03cad0a37f
commit dcc67fddda
3 changed files with 8 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ def reload_db():
cursor.execute("ALTER DATABASE %s CHARACTER SET=utf8" % databasename)
cursor.execute("USE %s" % databasename)
management.call_command('syncdb', interactive=False)
user = User.objects.create_user('expo', 'wookey@wookware.org', '161:gosser')
user = User.objects.create_user('expo', 'wookey@wookware.org', 'putrealpasswordinhere')
user.is_staff = True
user.is_superuser = True
user.save()