diff --git a/ai/__pycache__/__init__.cpython-311.pyc b/ai/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..9beeae7 Binary files /dev/null and b/ai/__pycache__/__init__.cpython-311.pyc differ diff --git a/ai/__pycache__/local_ai_api.cpython-311.pyc b/ai/__pycache__/local_ai_api.cpython-311.pyc new file mode 100644 index 0000000..ae12bda Binary files /dev/null and b/ai/__pycache__/local_ai_api.cpython-311.pyc differ diff --git a/core/__pycache__/admin.cpython-311.pyc b/core/__pycache__/admin.cpython-311.pyc index b31aa6c..59e21ea 100644 Binary files a/core/__pycache__/admin.cpython-311.pyc and b/core/__pycache__/admin.cpython-311.pyc differ diff --git a/core/__pycache__/models.cpython-311.pyc b/core/__pycache__/models.cpython-311.pyc index c173f30..987996d 100644 Binary files a/core/__pycache__/models.cpython-311.pyc and b/core/__pycache__/models.cpython-311.pyc differ diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index a24cde7..6704599 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index b0fc129..50fb54d 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/admin.py b/core/admin.py index 63389ef..0ea02f2 100644 --- a/core/admin.py +++ b/core/admin.py @@ -8,7 +8,6 @@ from django.shortcuts import render from django.utils.html import format_html from django.contrib import messages from .whatsapp_utils import send_whatsapp_message_detailed -from django.core.mail import send_html_email from django.conf import settings from .mail import send_html_email import logging diff --git a/core/migrations/0018_alter_otpverification_purpose.py b/core/migrations/0018_alter_otpverification_purpose.py new file mode 100644 index 0000000..a4ff2d6 --- /dev/null +++ b/core/migrations/0018_alter_otpverification_purpose.py @@ -0,0 +1,18 @@ +# Generated by Django 5.2.7 on 2026-01-26 06:33 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0017_driverrating'), + ] + + operations = [ + migrations.AlterField( + model_name='otpverification', + name='purpose', + field=models.CharField(choices=[('profile_update', 'Profile Update'), ('password_reset', 'Password Reset'), ('registration', 'Registration'), ('login', 'Login')], default='profile_update', max_length=20), + ), + ] diff --git a/core/migrations/__pycache__/0018_alter_otpverification_purpose.cpython-311.pyc b/core/migrations/__pycache__/0018_alter_otpverification_purpose.cpython-311.pyc new file mode 100644 index 0000000..60072e6 Binary files /dev/null and b/core/migrations/__pycache__/0018_alter_otpverification_purpose.cpython-311.pyc differ diff --git a/core/models.py b/core/models.py index 2f2c56f..8d068a8 100644 --- a/core/models.py +++ b/core/models.py @@ -213,6 +213,7 @@ class OTPVerification(models.Model): ('profile_update', _('Profile Update')), ('password_reset', _('Password Reset')), ('registration', _('Registration')), + ('login', _('Login')), ) user = models.ForeignKey(User, on_delete=models.CASCADE) code = models.CharField(max_length=6) @@ -269,4 +270,4 @@ class DriverRating(models.Model): class Meta: verbose_name = _('Driver Rating') - verbose_name_plural = _('Driver Ratings') + verbose_name_plural = _('Driver Ratings') \ No newline at end of file diff --git a/core/templates/admin/dashboard.html b/core/templates/admin/dashboard.html index fe1ab63..8630e68 100644 --- a/core/templates/admin/dashboard.html +++ b/core/templates/admin/dashboard.html @@ -180,7 +180,7 @@ {% trans "Total Revenue" %}
-