diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..437496c
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,37 @@
+name: Django + Pytest CI
+
+on:
+ push:
+ branches: ['**']
+ pull_request:
+ branches: ['**']
+
+jobs:
+ test:
+ runs-on: windows-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up Python 3.11
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.11'
+
+ - name: Install ffmpeg
+ run: choco install ffmpeg -y
+
+ - name: Install dependencies
+ run: |
+ pip install --upgrade pip
+ pip install -r requirements.txt
+ working-directory: Merilife/MediBot/chatbot-website
+
+ - name: Run migrations
+ run: python manage.py migrate --noinput
+ working-directory: Merilife/MediBot/chatbot-website
+
+ - name: Run tests
+ run: pytest --maxfail=1 --disable-warnings -q
+ working-directory: Merilife/MediBot/chatbot-website
diff --git a/Merilife/MediBot/.gitignore b/Merilife/MediBot/.gitignore
index 519dfde..be62080 100644
--- a/Merilife/MediBot/.gitignore
+++ b/Merilife/MediBot/.gitignore
@@ -3,4 +3,7 @@
!/media/test/.gitkeep
.pytest_cache/
.coverage
-htmlcov/
\ No newline at end of file
+htmlcov/
+# Python byte‑code
+__pycache__/
+*.py[cod]
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/__init__.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/__init__.cpython-311.pyc
index ba6b416..12b0d3e 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/__init__.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/__init__.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/__init__.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 20c158c..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/admin.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/admin.cpython-311.pyc
index a9e9f30..7027b78 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/admin.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/admin.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/admin.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/admin.cpython-312.pyc
deleted file mode 100644
index bb79de1..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/admin.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/ai_wrapper.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/ai_wrapper.cpython-311.pyc
index 9cce2ec..0dc4ecd 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/ai_wrapper.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/ai_wrapper.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/ai_wrapper.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/ai_wrapper.cpython-312.pyc
deleted file mode 100644
index 6edbd80..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/ai_wrapper.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/apps.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/apps.cpython-311.pyc
index 7085a3c..c019938 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/apps.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/apps.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/apps.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/apps.cpython-312.pyc
deleted file mode 100644
index 7c5f8e9..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/apps.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/backends.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/backends.cpython-311.pyc
index b51f67c..146e8b7 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/backends.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/backends.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/backends.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/backends.cpython-312.pyc
deleted file mode 100644
index 77bd1c3..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/backends.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/factories.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/factories.cpython-312.pyc
deleted file mode 100644
index 5d129dc..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/factories.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/ignore_tests.cpython-312-pytest-8.3.5.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/ignore_tests.cpython-312-pytest-8.3.5.pyc
deleted file mode 100644
index 5d4a83e..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/ignore_tests.cpython-312-pytest-8.3.5.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/load_utils.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/load_utils.cpython-311.pyc
index e14e04d..736b4b9 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/load_utils.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/load_utils.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/middleware.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/middleware.cpython-311.pyc
index 43add69..bf26170 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/middleware.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/middleware.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/middleware.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/middleware.cpython-312.pyc
deleted file mode 100644
index a6ccc93..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/middleware.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/models.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/models.cpython-311.pyc
index 12da998..12b7e3c 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/models.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/models.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/models.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/models.cpython-312.pyc
deleted file mode 100644
index 77c0bdf..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/models.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/speech_to_text.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/speech_to_text.cpython-311.pyc
index a9e387f..040bc01 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/speech_to_text.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/speech_to_text.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/speech_to_text.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/speech_to_text.cpython-312.pyc
deleted file mode 100644
index 3358997..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/speech_to_text.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/urls.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/urls.cpython-311.pyc
index 5b6763a..93adc82 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/urls.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/urls.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/urls.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/urls.cpython-312.pyc
deleted file mode 100644
index 1258e5d..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/urls.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/utils.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/utils.cpython-311.pyc
index 84e0c51..36e539b 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/utils.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/utils.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/utils.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/__pycache__/utils.cpython-312.pyc
deleted file mode 100644
index 12a1aa2..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/__pycache__/utils.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/admin.py b/Merilife/MediBot/chatbot-website/chatbot/admin.py
index 0a7e232..bf1c057 100644
--- a/Merilife/MediBot/chatbot-website/chatbot/admin.py
+++ b/Merilife/MediBot/chatbot-website/chatbot/admin.py
@@ -5,7 +5,16 @@
from chatbot.models import CustomUser, DoctorProfile, PatientProfile
from django.http import HttpResponseRedirect
+# Add inline for DoctorProfile
+class DoctorProfileInline(admin.StackedInline):
+ model = DoctorProfile
+ can_delete = False
+ verbose_name_plural = 'Doctor Profile'
+
class CustomUserAdmin(UserAdmin):
+ # Include DoctorProfile inline
+ inlines = [DoctorProfileInline]
+
fieldsets = (
(None, {'fields': ('uid', 'password')}),
('Personal Information', {'fields': ('full_name', 'email', 'phone')}),
@@ -22,11 +31,18 @@ class CustomUserAdmin(UserAdmin):
'fields': ('uid', 'password1', 'password2', 'full_name', 'is_staff'),
}),
)
- list_display = ('uid', 'full_name', 'is_staff', 'specialization', 'date_joined')
- list_filter = ('is_staff', 'is_active', 'specialization')
- search_fields = ('uid', 'full_name', 'email', 'specialization')
+ list_display = ('uid', 'full_name', 'is_staff', 'get_specialization', 'date_joined')
+ list_filter = ('is_staff', 'is_active', 'doctor_profile__specialization')
+ search_fields = ('uid', 'full_name', 'email', 'doctor_profile__specialization')
ordering = ('uid',)
+ def get_specialization(self, obj):
+ # Display the specialization from the related DoctorProfile
+ if hasattr(obj, 'doctor_profile') and obj.doctor_profile:
+ return obj.doctor_profile.specialization
+ return ''
+ get_specialization.short_description = 'Specialization'
+
class CustomAdminSite(admin.AdminSite):
site_header = 'Medico Administration'
site_title = 'Medico Admin Portal'
diff --git a/Merilife/MediBot/chatbot-website/chatbot/management/__pycache__/__init__.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/management/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 16ae3ae..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/management/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0001_initial.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0001_initial.cpython-311.pyc
index 55b7e52..23d8f56 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0001_initial.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0001_initial.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0001_initial.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0001_initial.cpython-312.pyc
deleted file mode 100644
index 2b8c49a..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0001_initial.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0002_customuser_groups_customuser_is_superuser_and_more.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0002_customuser_groups_customuser_is_superuser_and_more.cpython-311.pyc
index af42a1f..f4e4973 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0002_customuser_groups_customuser_is_superuser_and_more.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0002_customuser_groups_customuser_is_superuser_and_more.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0002_customuser_groups_customuser_is_superuser_and_more.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0002_customuser_groups_customuser_is_superuser_and_more.cpython-312.pyc
deleted file mode 100644
index bc43096..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0002_customuser_groups_customuser_is_superuser_and_more.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0003_customuser_bio_customuser_email_customuser_full_name_and_more.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0003_customuser_bio_customuser_email_customuser_full_name_and_more.cpython-311.pyc
index dcc3289..d746694 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0003_customuser_bio_customuser_email_customuser_full_name_and_more.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0003_customuser_bio_customuser_email_customuser_full_name_and_more.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0003_customuser_bio_customuser_email_customuser_full_name_and_more.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0003_customuser_bio_customuser_email_customuser_full_name_and_more.cpython-312.pyc
deleted file mode 100644
index c4c0155..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0003_customuser_bio_customuser_email_customuser_full_name_and_more.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0004_doctorprofile_patientprofile.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0004_doctorprofile_patientprofile.cpython-311.pyc
index 78819e2..78f3e71 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0004_doctorprofile_patientprofile.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0004_doctorprofile_patientprofile.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0004_doctorprofile_patientprofile.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0004_doctorprofile_patientprofile.cpython-312.pyc
deleted file mode 100644
index b7d3080..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0004_doctorprofile_patientprofile.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0005_treatment.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0005_treatment.cpython-311.pyc
index 8e6f940..6c63ded 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0005_treatment.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0005_treatment.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0005_treatment.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0005_treatment.cpython-312.pyc
deleted file mode 100644
index 8aaf8de..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0005_treatment.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0006_treatment_reqd.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0006_treatment_reqd.cpython-311.pyc
index c6c360a..91c5b9e 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0006_treatment_reqd.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0006_treatment_reqd.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0006_treatment_reqd.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0006_treatment_reqd.cpython-312.pyc
deleted file mode 100644
index 99ebcc2..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0006_treatment_reqd.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0007_customuser_address_customuser_age_and_more.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0007_customuser_address_customuser_age_and_more.cpython-311.pyc
index f259d61..4342533 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0007_customuser_address_customuser_age_and_more.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0007_customuser_address_customuser_age_and_more.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0007_customuser_address_customuser_age_and_more.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0007_customuser_address_customuser_age_and_more.cpython-312.pyc
deleted file mode 100644
index dcd4c15..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0007_customuser_address_customuser_age_and_more.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0008_alter_customuser_email.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0008_alter_customuser_email.cpython-311.pyc
index c36f8d6..54260b5 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0008_alter_customuser_email.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0008_alter_customuser_email.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0008_alter_customuser_email.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0008_alter_customuser_email.cpython-312.pyc
deleted file mode 100644
index ea4f743..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0008_alter_customuser_email.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0009_fix_migration_conflicts.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0009_fix_migration_conflicts.cpython-311.pyc
index 3c7a4b8..b7eaf97 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0009_fix_migration_conflicts.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0009_fix_migration_conflicts.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0009_fix_migration_conflicts.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0009_fix_migration_conflicts.cpython-312.pyc
deleted file mode 100644
index a1bc562..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/0009_fix_migration_conflicts.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/__init__.cpython-311.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/__init__.cpython-311.pyc
index 778613f..d128292 100644
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/__init__.cpython-311.pyc and b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/__init__.cpython-311.pyc differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/__init__.cpython-312.pyc b/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 48ed90e..0000000
Binary files a/Merilife/MediBot/chatbot-website/chatbot/migrations/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/Merilife/MediBot/chatbot-website/chatbot/static/images b/Merilife/MediBot/chatbot-website/chatbot/static/images
deleted file mode 100644
index 1421b4c..0000000
--- a/Merilife/MediBot/chatbot-website/chatbot/static/images
+++ /dev/null
@@ -1 +0,0 @@
-This directory is intentionally left blank.
\ No newline at end of file
diff --git a/Merilife/MediBot/chatbot-website/chatbot/static/images/adi.png b/Merilife/MediBot/chatbot-website/chatbot/static/images/adi.png
new file mode 100644
index 0000000..e69de29
diff --git a/Merilife/MediBot/chatbot-website/chatbot/templates/admin/index.html b/Merilife/MediBot/chatbot-website/chatbot/templates/admin/index.html
index e71e32d..c1aedef 100644
--- a/Merilife/MediBot/chatbot-website/chatbot/templates/admin/index.html
+++ b/Merilife/MediBot/chatbot-website/chatbot/templates/admin/index.html
@@ -13,11 +13,17 @@
{% block content %}
-
+
{% if app_list %}
diff --git a/Merilife/MediBot/chatbot-website/chatbot/templates/chatbot/about.html b/Merilife/MediBot/chatbot-website/chatbot/templates/chatbot/about.html
new file mode 100644
index 0000000..4d9d167
--- /dev/null
+++ b/Merilife/MediBot/chatbot-website/chatbot/templates/chatbot/about.html
@@ -0,0 +1,37 @@
+{% load static %}
+
+
+
+
+
+
About Me - Medico
+
+
+
+
+
+
+
+
+
+
About Me
+
+
My name is Aditya Upadhyay, a passionate and dedicated student currently pursuing my degree from IIIT Delhi. I have a strong foundation in computer science and an avid interest in software development, algorithms, and data structures. My coding skills span across languages like C, C++, Python, and I am comfortable working with tools like Git, NumPy, pandas, and Matplotlib.
+
I have successfully contributed to various academic and personal projects involving image processing, data analysis, and machine learning. I actively participate in hackathons, coding competitions, and have consistently ranked among top performers in programming contests. My accomplishments include completing internships, volunteering for NGOs, and making meaningful contributions to open-source projects.
+
I strive to continuously learn and grow, seeking opportunities where I can apply my skills to solve real-world problems.
+
+
+
\ No newline at end of file
diff --git a/Merilife/MediBot/chatbot-website/chatbot/templates/chatbot/index.html b/Merilife/MediBot/chatbot-website/chatbot/templates/chatbot/index.html
index 35a507d..7d9798f 100644
--- a/Merilife/MediBot/chatbot-website/chatbot/templates/chatbot/index.html
+++ b/Merilife/MediBot/chatbot-website/chatbot/templates/chatbot/index.html
@@ -161,12 +161,13 @@
Features
- About
+ About
{% if user.is_authenticated %}
{% if is_doctor or user.is_staff and not user.is_superuser %}
Dashboard
{% elif user.is_superuser %}
Admin
+ Register Doctor
{% else %}
Chat
{% endif %}
@@ -191,16 +192,5 @@ Your Personal Health Companion
Start Health Check
-
-
-
-
-
-
-