diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/posts/build.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/posts/build.py b/app/posts/build.py index 8c8fee0..e6370b9 100644 --- a/app/posts/build.py +++ b/app/posts/build.py @@ -85,11 +85,13 @@ class BuildJrnl(BuildNew): try: qs = self.model.objects.filter( status__exact=1, + post_type=PostType.JRNL, location__state__country=c ) except: qs = self.model.objects.filter( status__exact=1, + post_type=PostType.JRNL, location__state__country__lux_region=c.id ) print(c) |