Commits

Anonymous committed 5f51725

Websetup no longer uses deprecated features.

Comments (0)

Files changed (2)

zine/websetup/__init__.py

                 extra={},
                 display_name='$username',
                 is_author=True
-            ).last_inserted_ids()[0]
+            ).inserted_primary_key[0]
 
             # insert a privilege for the user
             privilege_id = e.execute(privileges.insert(),
                 name=BLOG_ADMIN.name
-            ).last_inserted_ids()[0]
+            ).inserted_primary_key[0]
             e.execute(user_privileges.insert(),
                 user_id=user_id,
                 privilege_id=privilege_id

zine/websetup/templates/layout.html

         color: #224466;
         border: 1px solid #ccc;
         -moz-border-radius: 3px;
+        -webkit-border-radius: 3px;
+        border-radius: 3px;
         cursor: pointer;
     }