changeset 264:0d68a749db33

updated db manage with some defaults corrected
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 06 Jun 2010 23:35:21 +0200
parents c3aeb819d9ab
children 0e5455fda8fd
files pylons_app/lib/db_manage.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/lib/db_manage.py	Sun Jun 06 23:34:26 2010 +0200
+++ b/pylons_app/lib/db_manage.py	Sun Jun 06 23:35:21 2010 +0200
@@ -85,7 +85,7 @@
         new_user = User()
         new_user.username = username
         new_user.password = get_crypt_password(password)
-        new_user.username = 'Admin'
+        new_user.name = 'Admin'
         new_user.lastname = 'Admin'
         new_user.email = 'admin@localhost'
         new_user.admin = admin