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
Marta Miranda
2023-09-15 08:25:37 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cc10ea741d5c8b4f6ab71e4cfaaabf8c12d81879
cc10ea74
1 parent
7b7d8e90
Closed feature/#62_agregar_ordenamiento_de_edicto
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
project/apps/edicto/api.py
project/apps/edicto/api.py
View file @
cc10ea7
...
...
@@ -23,7 +23,7 @@ class EdictoViewSet(mixins.CreateModelMixin,
filter_backends
=
(
DjangoFilterBackend
,
filters
.
OrderingFilter
)
filterset_class
=
EdictoFilter
queryset
=
Edicto
.
objects
.
all
()
ordering_fields
=
(
'fecha_creacion'
,
'id'
)
ordering_fields
=
(
'fecha_creacion'
,
'id'
,
'estado'
)
ordering
=
(
'fecha_publicacion'
,)
lookup_field
=
'uuid'
...
...
Please
register
or
login
to post a comment