Removed bad select_related names.
- Legacy-Id: 12456
This commit is contained in:
parent
14776bae70
commit
18f65e09a0
|
@ -101,7 +101,7 @@ def all_id2_txt():
|
|||
# this returns a lot of data so try to be efficient
|
||||
|
||||
drafts = Document.objects.filter(type="draft").exclude(name__startswith="rfc").order_by('name')
|
||||
drafts = drafts.select_related('group', 'group__parent', 'ad', 'ad__email', 'intended_std_level', 'shepherd', 'shepherd__email')
|
||||
drafts = drafts.select_related('group', 'group__parent', 'ad', 'intended_std_level', 'shepherd', )
|
||||
drafts = drafts.prefetch_related("states")
|
||||
|
||||
rfc_aliases = dict(DocAlias.objects.filter(name__startswith="rfc",
|
||||
|
|
Loading…
Reference in a new issue