Advertisement
herizo

HAC 5W

May 10th, 2024 (edited)
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.61 KB | None | 0 0
  1.  
  2. from reporting.models.common.modelshac import IndicatorHac
  3.  
  4. class IndicatorHacFiveWSettings(models.Model):
  5.     indicator = models.ForeignKey(Indicator, on_delete=models.CASCADE, verbose_name=_("indicateur 5W"))
  6.     indicatorhac = models.ForeignKey(IndicatorHac, on_delete=models.CASCADE, verbose_name=_("indicateur hac"))
  7.     region = models.ForeignKey(Region, on_delete=models.CASCADE, verbose_name=_("region"))
  8.     is_active = models.BooleanField(_("actif"), null=True, blank=True, default=True)
  9.  
  10.     class Meta:
  11.         verbose_name = _("indicateur hac 5w ")
  12.         verbose_name_plural = _("indicateurs hac 5w")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement