Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Marta Miranda
/
boletin_api
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Enzo Yair
2023-10-02 10:39:57 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bba16158e7b81e8abec4dedd63050e76af9aea70
bba16158
1 parent
b8faa3ab
se agrego orden en la vista de Comprobante
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
project/apps/edicto/api.py
project/apps/edicto/serializers.py
project/apps/edicto/api.py
View file @
bba1615
...
...
@@ -63,5 +63,7 @@ class ComprobanteViewSet(mixins.UpdateModelMixin,
serializer_class
=
ComprobanteSerializer
permission_classes
=
[
IsAuthenticated
,
]
queryset
=
ComprobantePago
.
objects
.
all
()
ordering_fields
=
(
'edicto'
,)
ordering
=
'id'
...
...
project/apps/edicto/serializers.py
View file @
bba1615
...
...
@@ -78,6 +78,7 @@ class PrecioSerializer(serializers.ModelSerializer):
'precio_ejemplar'
,
'vigencia_desde'
,
'vigencia_hasta'
,
'precio_dia'
,
)
included_serializers
=
{
'usuario'
:
UsuarioListaSerializer
...
...
Please
register
or
login
to post a comment