Files
@ 2a720bd46bb4
Branch filter:
Location: symposion_app/pinaxcon/raffle/migrations/0002_auto_20190102_1205.py - annotation
2a720bd46bb4
826 B
text/x-python
Tickets for LCA2021
Disable lots of inventory that does not exist for a virtual conf.
Add Swag Badge category and product.
Adjust attendee profile to hide irrelevant questions.
Disable lots of inventory that does not exist for a virtual conf.
Add Swag Badge category and product.
Adjust attendee profile to hide irrelevant questions.
d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c d1ff8d72533c | # -*- coding: utf-8 -*-
# Generated by Django 1.11.14 on 2019-01-02 01:05
from __future__ import unicode_literals
from django.db import migrations
def get_admin_group_name(apps):
from pinaxcon.raffle.apps import RaffleConfig
return RaffleConfig.admin_group_name
def create_auth_group(apps, schema_editor):
Group = apps.get_model("auth", "Group")
Group.objects.get_or_create(name=get_admin_group_name(apps))
def delete_auth_group(apps, schema_editor):
Group = apps.get_model("auth", "Group")
Group.objects.filter(name=get_admin_group_name(apps)).delete()
class Migration(migrations.Migration):
dependencies = [
('pinaxcon_raffle', '0001_initial'),
('auth', '0001_initial')
]
operations = [
migrations.RunPython(create_auth_group, delete_auth_group),
]
|