Skip to content

Commit

Permalink
Add thursdayevent to backend (#3734)
Browse files Browse the repository at this point in the history
* Add thursdayevent to backend

* fix migration

* Fix migrations rebase

* Remove .venv
  • Loading branch information
magnusbrecke authored Feb 12, 2025
1 parent 2cd57b1 commit 2312295
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lego/apps/companies/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@
ITDAGENE = "itdagene"
LABAMBA_SPONSOR = "labamba_sponsor"
SOCIAL_MEDIA = "social_media"
THURSDAY_EVENT = "thursday_event"

OTHER_OFFERS = (
(COLLABORATION, COLLABORATION),
(README, README),
(ITDAGENE, ITDAGENE),
(LABAMBA_SPONSOR, LABAMBA_SPONSOR),
(SOCIAL_MEDIA, SOCIAL_MEDIA),
(THURSDAY_EVENT, THURSDAY_EVENT),
)

TRANSLATED_OTHER_OFFERS = {
Expand All @@ -61,6 +63,7 @@
ITDAGENE: "Stand på itDAGENE",
LABAMBA_SPONSOR: "Sponsing av LaBamba",
SOCIAL_MEDIA: "Profilering på sosiale medier",
THURSDAY_EVENT: "Ønsker arrangement torsdag",
}

COLLABORATION_ONLINE = "collaboration_online"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Generated by Django 4.2.16 on 2025-02-12 19:07

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


class Migration(migrations.Migration):

dependencies = [
("companies", "0032_remove_company_admin_comment"),
]

operations = [
migrations.AlterField(
model_name="companyinterest",
name="other_offers",
field=django.contrib.postgres.fields.ArrayField(
base_field=models.CharField(
choices=[
("collaboration", "collaboration"),
("readme", "readme"),
("itdagene", "itdagene"),
("labamba_sponsor", "labamba_sponsor"),
("social_media", "social_media"),
("thursday_event", "thursday_event"),
],
max_length=64,
),
blank=True,
null=True,
size=None,
),
),
]

0 comments on commit 2312295

Please sign in to comment.