diff pylons_app/lib/auth.py @ 48:8e250e86a670

Css fixes, implemented removal of users, and display draft
author Marcin Kuzminski <marcin@python-blog.com>
date Wed, 07 Apr 2010 21:10:43 +0200
parents 9db7782727b3
children 25e516447a33
line wrap: on
line diff
--- a/pylons_app/lib/auth.py	Wed Apr 07 20:19:25 2010 +0200
+++ b/pylons_app/lib/auth.py	Wed Apr 07 21:10:43 2010 +0200
@@ -84,7 +84,7 @@
         log.info('creating table %s', 'users')
         cur.execute('''DROP TABLE IF EXISTS users ''')
         cur.execute('''CREATE TABLE users
-                        (id INTEGER PRIMARY KEY AUTOINCREMENT, 
+                        (user_id INTEGER PRIMARY KEY AUTOINCREMENT, 
                          username TEXT, 
                          password TEXT,
                          active INTEGER,