Merge branch 'main' of http://10.10.1.120:3000/tenhal_admin/haikal
This commit is contained in:
commit
1238c5bac5
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@
|
|||||||
*.pot
|
*.pot
|
||||||
*.pyc
|
*.pyc
|
||||||
__pycache__
|
__pycache__
|
||||||
|
**/*__pycache__
|
||||||
db.sqlite3
|
db.sqlite3
|
||||||
media
|
media
|
||||||
./car_inventory/settings.py
|
./car_inventory/settings.py
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14
inventory/migrations/0029_merge_20241217_1724.py
Normal file
14
inventory/migrations/0029_merge_20241217_1724.py
Normal file
@ -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 = [
|
||||||
|
]
|
||||||
@ -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.conf import settings
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
import django.db.models.deletion
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
('inventory', '0029_merge_20241217_1724'),
|
||||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||||
('inventory', '0029_merge_20241217_1712'),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
|||||||
@ -150,7 +150,7 @@ class AjaxHandlerView(LoginRequiredMixin, View):
|
|||||||
vin_data = {}
|
vin_data = {}
|
||||||
decoding_method = ''
|
decoding_method = ''
|
||||||
|
|
||||||
manufacturer_name = model_name = year_model = None
|
# manufacturer_name = model_name = year_model = None
|
||||||
if not (result :=decodevin(vin_no)):
|
if not (result :=decodevin(vin_no)):
|
||||||
return JsonResponse({'success': False, 'error': 'VIN not found in all sources.'}, status=404)
|
return JsonResponse({'success': False, 'error': 'VIN not found in all sources.'}, status=404)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user