Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove start-up event and revue collab from constants #3716

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lego/apps/companies/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
DIGITAL_PRESENTATION = "digital_presentation"
OTHER = "other"
SPONSOR = "sponsor"
START_UP = "start_up"
# START_UP = "start_up"
COMPANY_TO_COMPANY = "company_to_company"

COMPANY_EVENTS = (
Expand All @@ -25,7 +25,7 @@
(BEDEX, BEDEX),
(OTHER, OTHER),
(SPONSOR, SPONSOR),
(START_UP, START_UP),
# (START_UP, START_UP),
(COMPANY_TO_COMPANY, COMPANY_TO_COMPANY),
)

Expand All @@ -37,7 +37,7 @@
DIGITAL_PRESENTATION: "Digital presentasjon",
BEDEX: "BedEx (vinter 2021)",
OTHER: "Alternativt arrangement",
START_UP: "Start-up kveld",
# START_UP: "Start-up kveld",
COMPANY_TO_COMPANY: "Bedrift-til-bedrift",
}

Expand Down Expand Up @@ -66,15 +66,15 @@
COLLABORATION_ONLINE = "collaboration_online"
COLLABORATION_OMEGA = "collaboration_omega"
COLLABORATION_TIHLDE = "collaboration_tihlde"
COLLABORATION_REVUE = "collaboration_revue"
# COLLABORATION_REVUE = "collaboration_revue"
COLLABORATION_ANNIVERSARY = "collaboration_anniversary"
COLLABORATION_REVUE_ANNIVERSARY = "collaboration_revue_anniversary"

COLLABORATIONS = (
(COLLABORATION_ONLINE, COLLABORATION_ONLINE),
(COLLABORATION_OMEGA, COLLABORATION_OMEGA),
(COLLABORATION_TIHLDE, COLLABORATION_TIHLDE),
(COLLABORATION_REVUE, COLLABORATION_REVUE),
# (COLLABORATION_REVUE, COLLABORATION_REVUE),
(COLLABORATION_ANNIVERSARY, COLLABORATION_ANNIVERSARY),
(COLLABORATION_REVUE_ANNIVERSARY, COLLABORATION_REVUE_ANNIVERSARY),
)
Expand All @@ -83,7 +83,7 @@
COLLABORATION_ONLINE: "Online linjeforening",
COLLABORATION_OMEGA: "Omega linjeforening",
COLLABORATION_TIHLDE: "TIHLDE linjeforening",
COLLABORATION_REVUE: "Abakusrevyen",
# COLLABORATION_REVUE: "Abakusrevyen",
COLLABORATION_ANNIVERSARY: "Abakus jubileum",
COLLABORATION_REVUE_ANNIVERSARY: "Abakusrevy jubileum",
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Generated by Django 4.2.16 on 2025-01-22 21:30

import django.contrib.postgres.fields
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("companies", "0031_rename_student_studentcompanycontact_user"),
]

operations = [
migrations.AlterField(
model_name="companyinterest",
name="collaborations",
field=django.contrib.postgres.fields.ArrayField(
base_field=models.CharField(
choices=[
("collaboration_online", "collaboration_online"),
("collaboration_omega", "collaboration_omega"),
("collaboration_tihlde", "collaboration_tihlde"),
("collaboration_anniversary", "collaboration_anniversary"),
(
"collaboration_revue_anniversary",
"collaboration_revue_anniversary",
),
],
max_length=64,
),
blank=True,
null=True,
size=None,
),
),
migrations.AlterField(
model_name="companyinterest",
name="events",
field=django.contrib.postgres.fields.ArrayField(
base_field=models.CharField(
choices=[
("company_presentation", "company_presentation"),
("lunch_presentation", "lunch_presentation"),
("course", "course"),
("breakfast_talk", "breakfast_talk"),
("digital_presentation", "digital_presentation"),
("bedex", "bedex"),
("other", "other"),
("sponsor", "sponsor"),
("company_to_company", "company_to_company"),
],
max_length=64,
),
blank=True,
null=True,
size=None,
),
),
]