Changeset 5f1eaa3


Ignore:
Timestamp:
Nov 1, 2012, 2:07:42 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
c547de5
Parents:
6f0e814
git-author:
Alex Dehnert <adehnert@…> (11/01/12 02:07:42)
git-committer:
Alex Dehnert <adehnert@…> (11/01/12 02:07:42)
Message:

Fix space:0004 migration on new install (ASA-#172)

On a fresh install, space:0004_add_ebm_permissions will fail the first time it
is run because the create signals have not yet been emitted. Emit them
explicitly so that the migration actually works. See
https://groups.google.com/forum/?fromgroups=#!topic/south-users/ZmmUyrrRoYU for
details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/space/migrations/0004_add_ebm_permissions.py

    r3d75d13 r5f1eaa3  
    3737    def forwards(self, orm):
    3838        "Write your forwards methods here."
     39
     40        # See https://groups.google.com/forum/?fromgroups=#!topic/south-users/ZmmUyrrRoYU or groups:0006_add_group_perms
     41        db.send_pending_create_signals()
     42
    3943        self.modify_perms(orm, lambda perms, perm: perms.add(perm))
    4044
Note: See TracChangeset for help on using the changeset viewer.