mirror of https://github.com/interlegis/sapl.git
69 changed files with 76 additions and 187 deletions
@ -1,6 +1,5 @@ |
|||
from django.apps.registry import apps |
|||
|
|||
from drfautoapi.drfautoapi import (ApiViewSetConstrutor, customize, |
|||
wrapper_queryset_response_for_drf_action) |
|||
from drfautoapi.drfautoapi import ApiViewSetConstrutor |
|||
|
|||
ApiViewSetConstrutor.build_class([apps.get_app_config("compilacao")]) |
|||
|
@ -1,8 +1,5 @@ |
|||
from django.apps.registry import apps |
|||
from rest_framework.decorators import action |
|||
|
|||
from drfautoapi.drfautoapi import (ApiViewSetConstrutor, customize, |
|||
wrapper_queryset_response_for_drf_action) |
|||
from sapl.norma.models import NormaJuridica |
|||
from drfautoapi.drfautoapi import ApiViewSetConstrutor |
|||
|
|||
ApiViewSetConstrutor.build_class([apps.get_app_config("norma")]) |
|||
|
@ -1,6 +1,5 @@ |
|||
from django.apps.registry import apps |
|||
|
|||
from drfautoapi.drfautoapi import (ApiViewSetConstrutor, customize, |
|||
wrapper_queryset_response_for_drf_action) |
|||
from drfautoapi.drfautoapi import ApiViewSetConstrutor |
|||
|
|||
ApiViewSetConstrutor.build_class([apps.get_app_config("painel")]) |
|||
|
Loading…
Reference in new issue