mirror of https://github.com/interlegis/sapl.git
Marcio Mazza
10 years ago
1 changed files with 5 additions and 0 deletions
@ -0,0 +1,5 @@ |
|||||
|
from django.apps import apps |
||||
|
|
||||
|
for model in apps.get_app_config('legacy').get_models(): |
||||
|
if 'ind_excluido' in [f.name for f in model._meta.fields]: |
||||
|
print model, model.objects.values_list('ind_excluido', flat=True).distinct() |
Loading…
Reference in new issue