Example #1
0
    def setup_intra(self):
        from intra.models import IntraEventMeta, Team

        admin_group, = IntraEventMeta.get_or_create_groups(
            self.event, ['admins'])
        organizer_group = self.event.labour_event_meta.get_group('kuplitea')
        meta, unused = IntraEventMeta.objects.get_or_create(
            event=self.event,
            defaults=dict(
                admin_group=admin_group,
                organizer_group=organizer_group,
            ))

        for team_slug, team_name in [
            ('kuplitea', 'Kuplitea'),
        ]:
            team_group, = IntraEventMeta.get_or_create_groups(
                self.event, [team_slug])

            team, created = Team.objects.get_or_create(
                event=self.event,
                slug=team_slug,
                defaults=dict(
                    name=team_name,
                    order=self.get_ordering_number(),
                    group=team_group,
                ))
Example #2
0
    def setup_intra(self):
        from intra.models import IntraEventMeta, Team

        admin_group, = IntraEventMeta.get_or_create_groups(self.event, ['admins'])
        organizer_group = self.event.labour_event_meta.get_group('conitea')
        meta, unused = IntraEventMeta.objects.get_or_create(
            event=self.event,
            defaults=dict(
                admin_group=admin_group,
                organizer_group=organizer_group,
            )
        )

        for team_slug, team_name in [
            ('pj', 'Pääjärjestäjät'),
            ('ohjelma', 'Ohjelma'),
            ('tuotanto', 'Tuotanto'),
            ('talous', 'Talous'),
            ('tiedotus', 'Tiedotus'),
        ]:
            team_group, = IntraEventMeta.get_or_create_groups(self.event, [team_slug])
            email = '{}@hypecon.net'.format(team_slug)

            team, created = Team.objects.get_or_create(
                event=self.event,
                slug=team_slug,
                defaults=dict(
                    name=team_name,
                    order=self.get_ordering_number(),
                    group=team_group,
                    email=email
                )
            )
Example #3
0
    def setup_intra(self):
        from intra.models import IntraEventMeta, Team

        admin_group, = IntraEventMeta.get_or_create_groups(self.event, ['admins'])
        organizer_group = self.event.labour_event_meta.get_group('vastaava')
        meta, unused = IntraEventMeta.objects.get_or_create(
            event=self.event,
            defaults=dict(
                admin_group=admin_group,
                organizer_group=organizer_group,
            )
        )

        for team_slug, team_name in [
            ('desucon', 'Vastaavat'),
        ]:
            team_group, = IntraEventMeta.get_or_create_groups(self.event, [team_slug])
            email = '{}@desucon.fi'.format(team_slug)

            team, created = Team.objects.get_or_create(
                event=self.event,
                slug=team_slug,
                defaults=dict(
                    name=team_name,
                    order=self.get_ordering_number(),
                    group=team_group,
                    email=email
                )
            )
Example #4
0
    def setup_intra(self):
        from intra.models import IntraEventMeta, Team

        admin_group, = IntraEventMeta.get_or_create_groups(self.event, ['admins'])
        organizer_group = self.event.labour_event_meta.get_group('conitea')
        meta, unused = IntraEventMeta.objects.get_or_create(
            event=self.event,
            defaults=dict(
                admin_group=admin_group,
                organizer_group=organizer_group,
            )
        )

        for team_slug, team_name in [
            ('conitea', 'Conitea')
        ]:
            team_group, = IntraEventMeta.get_or_create_groups(self.event, [team_slug])

            team, created = Team.objects.get_or_create(
                event=self.event,
                slug=team_slug,
                defaults=dict(
                    name=team_name,
                    order=self.get_ordering_number(),
                    group=team_group,
                )
            )
Example #5
0
    def setup_intra(self):
        from intra.models import IntraEventMeta, Team

        admin_group, = IntraEventMeta.get_or_create_groups(
            self.event, ['admins'])
        organizer_group = self.event.labour_event_meta.get_group('conitea')
        meta, unused = IntraEventMeta.objects.get_or_create(
            event=self.event,
            defaults=dict(
                admin_group=admin_group,
                organizer_group=organizer_group,
            ))

        for team_slug, team_name in [
            ('tuottajat', 'Tuottajat'),
            ('infra', 'Infra'),
            ('palvelut', 'Palvelut'),
            ('ohjelma', 'Ohjelma'),
        ]:
            team_group, = IntraEventMeta.get_or_create_groups(
                self.event, [team_slug])
            Team.objects.get_or_create(event=self.event,
                                       slug=team_slug,
                                       defaults=dict(
                                           name=team_name,
                                           order=self.get_ordering_number(),
                                           group=team_group,
                                       ))
Example #6
0
    def setup_intra(self):
        from intra.models import IntraEventMeta, Team

        admin_group, = IntraEventMeta.get_or_create_groups(self.event, ['admins'])
        organizer_group = self.event.labour_event_meta.get_group('conitea')
        meta, unused = IntraEventMeta.objects.get_or_create(
            event=self.event,
            defaults=dict(
                admin_group=admin_group,
                organizer_group=organizer_group,
            )
        )

        for team_slug, team_name in [
            ('tuottajat', 'Tuottajat'),
            ('infra', 'Infra'),
            ('palvelut', 'Palvelut'),
            ('ohjelma', 'Ohjelma'),
        ]:
            team_group, = IntraEventMeta.get_or_create_groups(self.event, [team_slug])
            Team.objects.get_or_create(
                event=self.event,
                slug=team_slug,
                defaults=dict(
                    name=team_name,
                    order=self.get_ordering_number(),
                    group=team_group,
                )
            )
Example #7
0
    def setup_intra(self):
        from intra.models import IntraEventMeta, Team

        admin_group, = IntraEventMeta.get_or_create_groups(
            self.event, ['admins'])
        organizer_group = self.event.labour_event_meta.get_group('conitea')
        meta, unused = IntraEventMeta.objects.get_or_create(
            event=self.event,
            defaults=dict(
                admin_group=admin_group,
                organizer_group=organizer_group,
            ))

        for team_slug, team_name in [
            ('jory', 'Johtoryhmä'),
            ('ohjelma', 'Ohjelma'),
            ('isosali', 'Iso sali'),
            ('aspa', 'Asiakaspalvelu'),
            ('talous', 'Talous'),
            ('tilat', 'Tilat'),
            ('tyovoima', 'Työvoima'),
            ('tekniikka', 'Tekniikka'),
            ('turva', 'Turva'),
        ]:
            team_group, = IntraEventMeta.get_or_create_groups(
                self.event, [team_slug])
            email = '{}@tracon.fi'.format(team_slug)

            team, created = Team.objects.get_or_create(
                event=self.event,
                slug=team_slug,
                defaults=dict(name=team_name,
                              order=self.get_ordering_number(),
                              group=team_group,
                              email=email))
Example #8
0
    def setup_intra(self):
        from intra.models import IntraEventMeta, Team

        admin_group, = IntraEventMeta.get_or_create_groups(self.event, ['admins'])
        organizer_group = self.event.labour_event_meta.get_group('conitea')
        meta, unused = IntraEventMeta.objects.get_or_create(
            event=self.event,
            defaults=dict(
                admin_group=admin_group,
                organizer_group=organizer_group,
            )
        )

        for team_slug, team_name in [
            ('pj', 'Pääjärjestäjät'),
            ('ohjelma', 'Ohjelma'),
            ('tuotanto', 'Tuotanto'),
            ('talous', 'Talous'),
            ('tiedotus', 'Tiedotus'),
        ]:
            team_group, = IntraEventMeta.get_or_create_groups(self.event, [team_slug])
            email = '{}@hypecon.net'.format(team_slug)

            team, created = Team.objects.get_or_create(
                event=self.event,
                slug=team_slug,
                defaults=dict(
                    name=team_name,
                    order=self.get_ordering_number(),
                    group=team_group,
                    email=email
                )
            )
Example #9
0
    def setup_intra(self):
        from intra.models import IntraEventMeta, Team

        admin_group, = IntraEventMeta.get_or_create_groups(self.event, ['admins'])
        organizer_group = self.event.labour_event_meta.get_group('conitea')
        meta, unused = IntraEventMeta.objects.get_or_create(
            event=self.event,
            defaults=dict(
                admin_group=admin_group,
                organizer_group=organizer_group,
            )
        )

        for team_slug, team_name in [
            ('jory', 'Johtoryhmä'),
            ('ohjelma', 'Ohjelma'),
            ('isosali', 'Iso sali'),
            ('aspa', 'Asiakaspalvelu'),
            ('talous', 'Talous'),
            ('tilat', 'Tilat'),
            ('tyovoima', 'Työvoima'),
            ('tekniikka', 'Tekniikka'),
            ('turva', 'Turva'),
            ('video', 'Videotuotanto'),
        ]:
            team_group, = IntraEventMeta.get_or_create_groups(self.event, [team_slug])
            email = '{}@tracon.fi'.format(team_slug)

            team, created = Team.objects.get_or_create(
                event=self.event,
                slug=team_slug,
                defaults=dict(
                    name=team_name,
                    order=self.get_ordering_number(),
                    group=team_group,
                    email=email
                )
            )