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 django.apps.registry import apps |
||||
|
|
||||
from drfautoapi.drfautoapi import (ApiViewSetConstrutor, customize, |
from drfautoapi.drfautoapi import ApiViewSetConstrutor |
||||
wrapper_queryset_response_for_drf_action) |
|
||||
|
|
||||
ApiViewSetConstrutor.build_class([apps.get_app_config("compilacao")]) |
ApiViewSetConstrutor.build_class([apps.get_app_config("compilacao")]) |
||||
|
|||||
@ -1,8 +1,5 @@ |
|||||
from django.apps.registry import apps |
from django.apps.registry import apps |
||||
from rest_framework.decorators import action |
|
||||
|
|
||||
from drfautoapi.drfautoapi import (ApiViewSetConstrutor, customize, |
from drfautoapi.drfautoapi import ApiViewSetConstrutor |
||||
wrapper_queryset_response_for_drf_action) |
|
||||
from sapl.norma.models import NormaJuridica |
|
||||
|
|
||||
ApiViewSetConstrutor.build_class([apps.get_app_config("norma")]) |
ApiViewSetConstrutor.build_class([apps.get_app_config("norma")]) |
||||
|
|||||
@ -1,6 +1,5 @@ |
|||||
from django.apps.registry import apps |
from django.apps.registry import apps |
||||
|
|
||||
from drfautoapi.drfautoapi import (ApiViewSetConstrutor, customize, |
from drfautoapi.drfautoapi import ApiViewSetConstrutor |
||||
wrapper_queryset_response_for_drf_action) |
|
||||
|
|
||||
ApiViewSetConstrutor.build_class([apps.get_app_config("painel")]) |
ApiViewSetConstrutor.build_class([apps.get_app_config("painel")]) |
||||
|
|||||
Loading…
Reference in new issue