diff pylons_app/lib/db_manage.py @ 262:a4be1ebb214f

updated db manage with some defaults
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 06 Jun 2010 23:33:26 +0200
parents 3782a6d698af
children c3aeb819d9ab
line wrap: on
line diff
--- a/pylons_app/lib/db_manage.py	Sun Jun 06 23:02:43 2010 +0200
+++ b/pylons_app/lib/db_manage.py	Sun Jun 06 23:33:26 2010 +0200
@@ -85,6 +85,9 @@
         new_user = User()
         new_user.username = username
         new_user.password = get_crypt_password(password)
+        new_user.username = 'Admin'
+        new_user.lastname = 'Admin'
+        new_user.lastname = 'admin@localhost'
         new_user.admin = admin
         new_user.active = True