update the image gen angle

This commit is contained in:
ismail 2025-09-01 15:10:35 +03:00
parent f0ab5d1888
commit 05b18e9da3
4 changed files with 7 additions and 6 deletions

View File

@ -1711,7 +1711,7 @@ class Customer(models.Model):
national_id = models.CharField(
max_length=10, unique=True, verbose_name=_("National ID"), null=True, blank=True
)
phone_number = models.CharField(
max_length=255,
verbose_name=_("Phone Number"),
@ -3307,6 +3307,7 @@ class CustomGroup(models.Model):
"payment",
"vendor",
"additionalservices",
'customer'
],
other_perms=[
"view_car",

View File

@ -2529,7 +2529,7 @@ class CarImageAPIClient:
"make": payload["make"],
"model": payload["model"],
"exterior_color": payload["color"],
"angle": "3/4 rear",
"angle": "front three-quarter",
"reference_image": "",
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 KiB

View File

@ -11,7 +11,7 @@
hx-swap="outerHTML"
hx-select-oob="#toast-container"
hx-indicator="#spinner">
<li class="nav-item">
{% comment %} <p class="navbar-vertical-label text-primary fs-8 text-truncate">{{request.dealer|default:"Apps"}}</p>
<hr class="navbar-vertical-line"> {% endcomment %}
@ -440,7 +440,7 @@
</div>
</a>
</li>
</ul>
</div> {% endcomment %}
{% endif %}
@ -450,10 +450,10 @@
<a class="nav-link ps-2" href="{% if request.is_dealer%}{% url 'ticket_list' request.dealer.slug %} {% else %}#{%endif%}">
<div class="d-flex align-items-center">
{% if user.is_authenticated%}
<span class="nav-link-icon"><span class="fa-solid fa-gear me-1 fs-7"></span></span>
<span class="nav-link-text">{{ request.dealer.user.username }}</span>
{% endif %}
</div>
</a>