Run migrations. Migrated channels to use m2m field rather than the ChannelPlayerConnection model.
This commit is contained in:
parent
987695e417
commit
2b1cb1c6ce
11 changed files with 421 additions and 168 deletions
|
|
@ -141,10 +141,9 @@ def create_channels():
|
|||
|
||||
# connect the god user to all these channels by default.
|
||||
goduser = get_god_player()
|
||||
from src.comms.models import PlayerChannelConnection
|
||||
PlayerChannelConnection.objects.create_connection(goduser, pchan)
|
||||
PlayerChannelConnection.objects.create_connection(goduser, ichan)
|
||||
PlayerChannelConnection.objects.create_connection(goduser, cchan)
|
||||
pchan.connect(goduser)
|
||||
ichan.connect(goduser)
|
||||
cchan.connect(goduser)
|
||||
|
||||
|
||||
def create_system_scripts():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue