Skip to content

Commit

Permalink
Remove start-up event and revue collab from constants
Browse files Browse the repository at this point in the history
  • Loading branch information
viljeno committed Jan 22, 2025
1 parent 41d8412 commit 9119c7e
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 6 deletions.
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,
),
),
]

0 comments on commit 9119c7e

Please sign in to comment.