Created
December 3, 2010 14:49
-
-
Save dpwiz/727051 to your computer and use it in GitHub Desktop.
get t2 stuff which uses planetary stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InvType.objects.filter(pk__in=InvTypeMaterial.objects.filter(material_type__in=InvType.objects.filter(planetschematicstypemap__isnull=False).distinct().values_list('pk', flat=True)).distinct().values_list('type_id', flat=True), is_published=True).filter(dgmtypeattribute__attribute__name="metaLevel", dgmtypeattribute__value_int=5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment