diff pylons_app/controllers/admin.py @ 47:f6ac79182600

Added rest controllers for repos and users, templating changes + css fixes
author Marcin Kuzminski <marcin@python-blog.com>
date Wed, 07 Apr 2010 20:19:25 +0200
parents 9db7782727b3
children 25e516447a33
line wrap: on
line diff
--- a/pylons_app/controllers/admin.py	Wed Apr 07 19:39:31 2010 +0200
+++ b/pylons_app/controllers/admin.py	Wed Apr 07 20:19:25 2010 +0200
@@ -52,18 +52,6 @@
                 )
         return render('/admin.html')
 
-    def repos_manage(self):
-        return render('/repos_manage.html')
-    
-    def users_manage(self):
-        conn, cur = auth.get_sqlite_conn_cur()
-        cur.execute('SELECT * FROM users')
-        c.users_list = cur.fetchall()        
-        return render('/users_manage.html')
-                
-    def manage_hgrc(self):
-        pass
-
     def hgrc(self, dirname):
         filename = os.path.join(dirname, '.hg', 'hgrc')
         return filename