From 599fc413892c89b79428eed76340637f2d477f4b Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Tue, 25 Jun 2024 20:40:23 -0500 Subject: [PATCH] add country model field --- franklincce/explorer/models.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/franklincce/explorer/models.py b/franklincce/explorer/models.py index 3b0033a..1357bb6 100644 --- a/franklincce/explorer/models.py +++ b/franklincce/explorer/models.py @@ -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(