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-09-12 12:34:08 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fd370d2df436a80f4ccade7ef5779e98c0425735
fd370d2d
1 parent
9cf1970d
ordenamiento
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 @
fd370d2
...
...
@@ -23,7 +23,7 @@ class EdictoViewSet(mixins.CreateModelMixin,
filter_backends
=
(
DjangoFilterBackend
,
filters
.
OrderingFilter
)
filterset_class
=
EdictoFilter
queryset
=
Edicto
.
objects
.
all
()
ordering_fields
=
(
'
usuario'
,
)
ordering_fields
=
(
'
fecha_publicacion'
,
'id'
)
ordering
=
(
'fecha_publicacion'
,
'id'
,)
lookup_field
=
'uuid'
...
...
Please
register
or
login
to post a comment