pdf generatsiya qilish qoshildi

This commit is contained in:
behruz-dev
2025-11-27 15:53:42 +05:00
parent 380ba01e82
commit b59bad4425
5 changed files with 210 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ class TourPlan(BaseModel):
location_send = models.BooleanField(default=False)
def __str__(self):
return f"{self.user.first_name}'s tour plan to {self.district.name}"
return f"{self.user.first_name}'s tour plan to {self.place_name}"
def save(self, *args, **kwargs):
if self.longitude and self.latitude: