Ubuntu Pastebin

Paste from dholbach at Mon, 12 Oct 2015 15:10:00 +0000

Download as text
1
2
3
-    pages = Title.objects.select_related('page').filter(path__regex=full_url)
+    pages = Title.objects.select_related('page').filter(path__regex=full_url,
+                                                        publisher_is_draft=True)
Download as text