doc-publik: ignore page snapshots
This commit is contained in:
parent
8b1e820ced
commit
8023cf6b9c
|
@ -5,7 +5,7 @@ import requests
|
||||||
|
|
||||||
from combo.data.models import TextCell
|
from combo.data.models import TextCell
|
||||||
|
|
||||||
for cell in TextCell.objects.filter(slug__startswith='mallard-'):
|
for cell in TextCell.objects.filter(slug__startswith='mallard-', page__snapshot__isnull=True):
|
||||||
if not cell.slug.startswith('mallard-'):
|
if not cell.slug.startswith('mallard-'):
|
||||||
continue
|
continue
|
||||||
mallard_page = cell.slug.split('-', 1)[1]
|
mallard_page = cell.slug.split('-', 1)[1]
|
||||||
|
|
Loading…
Reference in New Issue