diff --git a/.gitignore b/.gitignore
index 5476c38..152b023 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
+*.pyc
# C extensions
*.so
@@ -51,3 +52,8 @@ docs/_build/
*__pycache__/*
*.pyc
+
+run.sh
+venv/
+*.bak
+scratch*
diff --git a/api/__pycache__/__init__.cpython-312.pyc b/api/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index c75ff36..0000000
Binary files a/api/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/api/__pycache__/admin.cpython-312.pyc b/api/__pycache__/admin.cpython-312.pyc
deleted file mode 100644
index 50b0bd2..0000000
Binary files a/api/__pycache__/admin.cpython-312.pyc and /dev/null differ
diff --git a/api/__pycache__/apps.cpython-312.pyc b/api/__pycache__/apps.cpython-312.pyc
deleted file mode 100644
index 623323c..0000000
Binary files a/api/__pycache__/apps.cpython-312.pyc and /dev/null differ
diff --git a/api/__pycache__/models.cpython-312.pyc b/api/__pycache__/models.cpython-312.pyc
deleted file mode 100644
index 3741750..0000000
Binary files a/api/__pycache__/models.cpython-312.pyc and /dev/null differ
diff --git a/api/migrations/__pycache__/__init__.cpython-312.pyc b/api/migrations/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 9b6bd14..0000000
Binary files a/api/migrations/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/api/serializers/__pycache__/event.cpython-312.pyc b/api/serializers/__pycache__/event.cpython-312.pyc
deleted file mode 100644
index 9ed34f3..0000000
Binary files a/api/serializers/__pycache__/event.cpython-312.pyc and /dev/null differ
diff --git a/api/views/__pycache__/event.cpython-312.pyc b/api/views/__pycache__/event.cpython-312.pyc
deleted file mode 100644
index 2ddc421..0000000
Binary files a/api/views/__pycache__/event.cpython-312.pyc and /dev/null differ
diff --git a/common/__pycache__/build_response.cpython-312.pyc b/common/__pycache__/build_response.cpython-312.pyc
deleted file mode 100644
index 2c46583..0000000
Binary files a/common/__pycache__/build_response.cpython-312.pyc and /dev/null differ
diff --git a/korabo/__pycache__/__init__.cpython-312.pyc b/korabo/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index ff53bd8..0000000
Binary files a/korabo/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/korabo/__pycache__/settings.cpython-312.pyc b/korabo/__pycache__/settings.cpython-312.pyc
deleted file mode 100644
index d48b1e7..0000000
Binary files a/korabo/__pycache__/settings.cpython-312.pyc and /dev/null differ
diff --git a/korabo/__pycache__/urls.cpython-312.pyc b/korabo/__pycache__/urls.cpython-312.pyc
deleted file mode 100644
index 66d8688..0000000
Binary files a/korabo/__pycache__/urls.cpython-312.pyc and /dev/null differ
diff --git a/korabo/__pycache__/wsgi.cpython-312.pyc b/korabo/__pycache__/wsgi.cpython-312.pyc
deleted file mode 100644
index dd689e4..0000000
Binary files a/korabo/__pycache__/wsgi.cpython-312.pyc and /dev/null differ
diff --git a/korabo/settings.py b/korabo/settings.py
index 6eb740d..03678e0 100644
--- a/korabo/settings.py
+++ b/korabo/settings.py
@@ -82,8 +82,12 @@ WSGI_APPLICATION = 'korabo.wsgi.application'
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': BASE_DIR / 'db.sqlite3',
+ 'ENGINE': 'django.db.backends.postgresql',
+ 'NAME': os.getenv('DB_NAME'),
+ 'USER': os.getenv('DB_USER'),
+ 'PASSWORD': os.getenv('DB_PASS'),
+ 'HOST': os.getenv('DB_HOST'),
+ 'PORT': os.getenv('DB_PORT'),
}
}
diff --git a/web/__pycache__/__init__.cpython-312.pyc b/web/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index dfdbe91..0000000
Binary files a/web/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/web/__pycache__/admin.cpython-312.pyc b/web/__pycache__/admin.cpython-312.pyc
deleted file mode 100644
index 9b5bd4a..0000000
Binary files a/web/__pycache__/admin.cpython-312.pyc and /dev/null differ
diff --git a/web/__pycache__/apps.cpython-312.pyc b/web/__pycache__/apps.cpython-312.pyc
deleted file mode 100644
index 90ab549..0000000
Binary files a/web/__pycache__/apps.cpython-312.pyc and /dev/null differ
diff --git a/web/__pycache__/models.cpython-312.pyc b/web/__pycache__/models.cpython-312.pyc
deleted file mode 100644
index 47d02cc..0000000
Binary files a/web/__pycache__/models.cpython-312.pyc and /dev/null differ
diff --git a/web/__pycache__/views.cpython-312.pyc b/web/__pycache__/views.cpython-312.pyc
deleted file mode 100644
index 4591619..0000000
Binary files a/web/__pycache__/views.cpython-312.pyc and /dev/null differ
diff --git a/web/migrations/0005_event_cover_image.py b/web/migrations/0005_event_cover_image.py
new file mode 100644
index 0000000..d0be508
--- /dev/null
+++ b/web/migrations/0005_event_cover_image.py
@@ -0,0 +1,18 @@
+# Generated by Django 4.2.16 on 2025-04-06 01:54
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('web', '0004_remove_event_participants_alter_eventcomment_event_and_more'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='event',
+ name='cover_image',
+ field=models.ImageField(blank=True, default=None, null=True, upload_to='event_cover_images/'),
+ ),
+ ]
diff --git a/web/migrations/__pycache__/0001_initial.cpython-312.pyc b/web/migrations/__pycache__/0001_initial.cpython-312.pyc
deleted file mode 100644
index 9e8d1d0..0000000
Binary files a/web/migrations/__pycache__/0001_initial.cpython-312.pyc and /dev/null differ
diff --git a/web/migrations/__pycache__/0002_alter_availability_user.cpython-312.pyc b/web/migrations/__pycache__/0002_alter_availability_user.cpython-312.pyc
deleted file mode 100644
index 26c7dd3..0000000
Binary files a/web/migrations/__pycache__/0002_alter_availability_user.cpython-312.pyc and /dev/null differ
diff --git a/web/migrations/__pycache__/0002_alter_event_chosen_date_alter_event_participants.cpython-312.pyc b/web/migrations/__pycache__/0002_alter_event_chosen_date_alter_event_participants.cpython-312.pyc
deleted file mode 100644
index b5c4d33..0000000
Binary files a/web/migrations/__pycache__/0002_alter_event_chosen_date_alter_event_participants.cpython-312.pyc and /dev/null differ
diff --git a/web/migrations/__pycache__/0003_alter_event_participants.cpython-312.pyc b/web/migrations/__pycache__/0003_alter_event_participants.cpython-312.pyc
deleted file mode 100644
index 182fb7c..0000000
Binary files a/web/migrations/__pycache__/0003_alter_event_participants.cpython-312.pyc and /dev/null differ
diff --git a/web/migrations/__pycache__/__init__.cpython-312.pyc b/web/migrations/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index aa99198..0000000
Binary files a/web/migrations/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/web/models/__pycache__/__init__.cpython-312.pyc b/web/models/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 681a0dd..0000000
Binary files a/web/models/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/web/models/__pycache__/availability.cpython-312.pyc b/web/models/__pycache__/availability.cpython-312.pyc
deleted file mode 100644
index 5bfa28b..0000000
Binary files a/web/models/__pycache__/availability.cpython-312.pyc and /dev/null differ
diff --git a/web/models/__pycache__/base.cpython-312.pyc b/web/models/__pycache__/base.cpython-312.pyc
deleted file mode 100644
index 32ba4e7..0000000
Binary files a/web/models/__pycache__/base.cpython-312.pyc and /dev/null differ
diff --git a/web/models/__pycache__/event.cpython-312.pyc b/web/models/__pycache__/event.cpython-312.pyc
deleted file mode 100644
index c3af78d..0000000
Binary files a/web/models/__pycache__/event.cpython-312.pyc and /dev/null differ
diff --git a/web/models/__pycache__/event_comment.cpython-312.pyc b/web/models/__pycache__/event_comment.cpython-312.pyc
deleted file mode 100644
index d087c29..0000000
Binary files a/web/models/__pycache__/event_comment.cpython-312.pyc and /dev/null differ
diff --git a/web/models/__pycache__/event_comment_reaction.cpython-312.pyc b/web/models/__pycache__/event_comment_reaction.cpython-312.pyc
deleted file mode 100644
index 6179b18..0000000
Binary files a/web/models/__pycache__/event_comment_reaction.cpython-312.pyc and /dev/null differ
diff --git a/web/models/__pycache__/event_division.cpython-312.pyc b/web/models/__pycache__/event_division.cpython-312.pyc
deleted file mode 100644
index 4674dd9..0000000
Binary files a/web/models/__pycache__/event_division.cpython-312.pyc and /dev/null differ
diff --git a/web/models/__pycache__/shared_event.cpython-312.pyc b/web/models/__pycache__/shared_event.cpython-312.pyc
deleted file mode 100644
index 06722ea..0000000
Binary files a/web/models/__pycache__/shared_event.cpython-312.pyc and /dev/null differ
diff --git a/web/templates/index.html b/web/templates/index.html
index c822e7c..513e59c 100644
--- a/web/templates/index.html
+++ b/web/templates/index.html
@@ -1,37 +1,36 @@
{% extends 'base.html' %}
-
{% block content %}
-
-
-
-
- Event Name |
- Already Responded |
- Start Date |
- End Date |
- img |
-
-
-
- {% for event in events%}
-
-
-
-
-
-
- {{event.description}}
+
+
+
+ Event Name |
+ Already Responded |
+ Start Date |
+ End Date |
+ img |
+
+
+
+ {% for event in events %}
+
+
+
+
+
{{ event.description }}
+
-
-
-
- {% endfor %}
-
-
-
+ {% endfor %}
+
+
{% endblock %}