add country model field

This commit is contained in:
stupidcomputer 2024-06-25 20:40:23 -05:00
parent bc580cd190
commit 599fc41389
1 changed files with 5 additions and 0 deletions

View File

@ -100,6 +100,11 @@ class LegislativeText(models.Model):
sponsors = models.CharField(max_length=256)
from_book = models.ForeignKey(LegislationBook, on_delete=models.CASCADE)
legislation_title = models.CharField(max_length=512)
country = models.CharField(
max_length=512,
null=True,
blank=True
)
def __str__(self):
return "{}/{}-{}-{}".format(