Changes between Version 18 and Version 19 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Oct 19, 2005, 10:28:59 AM (19 years ago)
Author:
Adrian Holovaty
Comment:

Added note about PostgreSQL sequence renamings

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v18 v19  
    132132
    133133 * Execute this SQL command: {{{ALTER TABLE auth_admin_log RENAME TO django_admin_log;}}}
     134 * If you're using PostgreSQL, execute these SQL commands:
     135   {{{
     136   ALTER TABLE auth_admin_log_id_seq RENAME TO django_admin_log_id_seq;
     137   ALTER TABLE django_admin_log ALTER COLUMN id DROP DEFAULT;
     138   ALTER TABLE django_admin_log ALTER COLUMN id SET DEFAULT nextval('public.django_admin_log_id_seq'::text);
     139   }}}
    134140 * Edit your Django settings file (probably called {{{settings/main.py}}}) to make the following changes:
    135141   * Add {{{"django.contrib.admin"}}} to {{{INSTALLED_APPS}}}. Order doesn't matter; it can be the first, last, whatever.
Back to Top