generated from UnBArqDsw2022-2/RepositorioTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat](#80) Adição da model imovel e seu endpoint na API
Co-authored-by: Rafael Berto <[email protected]>
- Loading branch information
1 parent
7661896
commit c38b16a
Showing
4 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
from rest_framework import routers | ||
|
||
from .views import PessoaViewSet, CondominioViewSet, AvisoViewSet | ||
from .views import PessoaViewSet, CondominioViewSet, AvisoViewSet, ImovelViewSet | ||
|
||
router = routers.DefaultRouter() | ||
router.register(r'pessoa', PessoaViewSet) | ||
router.register(r'condominio', CondominioViewSet) | ||
router.register(r'aviso', AvisoViewSet) | ||
router.register(r'imovel', ImovelViewSet) |
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