diff --git a/.gitignore b/.gitignore index 41b1d278..3bc4a7b9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.pot *.pyc __pycache__ +**/*__pycache__ db.sqlite3 media ./car_inventory/settings.py diff --git a/inventory/__pycache__/admin.cpython-311.pyc b/inventory/__pycache__/admin.cpython-311.pyc index cea899cf..8464c550 100644 Binary files a/inventory/__pycache__/admin.cpython-311.pyc and b/inventory/__pycache__/admin.cpython-311.pyc differ diff --git a/inventory/__pycache__/forms.cpython-311.pyc b/inventory/__pycache__/forms.cpython-311.pyc index 0070bf8a..1580ed63 100644 Binary files a/inventory/__pycache__/forms.cpython-311.pyc and b/inventory/__pycache__/forms.cpython-311.pyc differ diff --git a/inventory/__pycache__/mixins.cpython-311.pyc b/inventory/__pycache__/mixins.cpython-311.pyc index 624f71e9..898d6b2b 100644 Binary files a/inventory/__pycache__/mixins.cpython-311.pyc and b/inventory/__pycache__/mixins.cpython-311.pyc differ diff --git a/inventory/__pycache__/models.cpython-311.pyc b/inventory/__pycache__/models.cpython-311.pyc index 63f8c414..06a9e577 100644 Binary files a/inventory/__pycache__/models.cpython-311.pyc and b/inventory/__pycache__/models.cpython-311.pyc differ diff --git a/inventory/__pycache__/urls.cpython-311.pyc b/inventory/__pycache__/urls.cpython-311.pyc index 68bca1ba..903da3dd 100644 Binary files a/inventory/__pycache__/urls.cpython-311.pyc and b/inventory/__pycache__/urls.cpython-311.pyc differ diff --git a/inventory/__pycache__/views.cpython-311.pyc b/inventory/__pycache__/views.cpython-311.pyc index 78e18e8d..165043f6 100644 Binary files a/inventory/__pycache__/views.cpython-311.pyc and b/inventory/__pycache__/views.cpython-311.pyc differ diff --git a/inventory/migrations/0029_merge_20241217_1724.py b/inventory/migrations/0029_merge_20241217_1724.py new file mode 100644 index 00000000..d58a48af --- /dev/null +++ b/inventory/migrations/0029_merge_20241217_1724.py @@ -0,0 +1,14 @@ +# Generated by Django 5.1.4 on 2024-12-17 14:24 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('inventory', '0023_cartrim_id_car_model'), + ('inventory', '0028_alter_dealer_options'), + ] + + operations = [ + ] diff --git a/inventory/migrations/0030_alter_carfinance_options_and_more.py b/inventory/migrations/0030_alter_carfinance_options_and_more.py index e66cba04..72031153 100644 --- a/inventory/migrations/0030_alter_carfinance_options_and_more.py +++ b/inventory/migrations/0030_alter_carfinance_options_and_more.py @@ -1,15 +1,15 @@ -# Generated by Django 4.2.17 on 2024-12-17 14:17 +# Generated by Django 5.1.4 on 2024-12-17 14:25 +import django.db.models.deletion from django.conf import settings from django.db import migrations, models -import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ + ('inventory', '0029_merge_20241217_1724'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), - ('inventory', '0029_merge_20241217_1712'), ] operations = [ diff --git a/inventory/views.py b/inventory/views.py index d27fe11d..54b0d732 100644 --- a/inventory/views.py +++ b/inventory/views.py @@ -150,7 +150,7 @@ class AjaxHandlerView(LoginRequiredMixin, View): vin_data = {} decoding_method = '' - manufacturer_name = model_name = year_model = None + # manufacturer_name = model_name = year_model = None if not (result :=decodevin(vin_no)): return JsonResponse({'success': False, 'error': 'VIN not found in all sources.'}, status=404)