Changes between Version 111 and Version 112 of RemovingTheMagic


Ignore:
Timestamp:
Apr 26, 2006, 7:55:58 AM (19 years ago)
Author:
clintecker@…
Comment:

Added information about case changes in auth_permissions caused by a recent changeset (2745)

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v111 v112  
    189189ALTER TABLE auth_permission ADD COLUMN content_type_id INTEGER references django_content_type(id);
    190190
     191COMMIT;
     192}}}
     193
     194=== Auth_permissions case changes ===
     195
     196A change checked into the MR branch on [2745] changed the verbose_names of two modules, Groups and Users to be lowercased instead of uppercased ("users" instead of "Users").  This results in the ''syncdb'' function of mangage.py to break due to the disparity in existing installations of the Magic Removal branch.  In order to fix your auth_permissions table, execute these SQL statements:
     197
     198{{{
     199BEGIN;
     200UPDATE auth_permission set name='Can add group' where
     201codename='add_group';
     202UPDATE auth_permission set name='Can change group' where
     203codename='change_group';
     204UPDATE auth_permission set name='Can delete group' where
     205codename='delete_group';
     206UPDATE auth_permission set name='Can add user' where
     207codename='add_user';
     208UPDATE auth_permission set name='Can change user' where
     209codename='change_user';
     210UPDATE auth_permission set name='Can delete user' where
     211codename='delete_user';
    191212COMMIT;
    192213}}}
Back to Top