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-12 12:37:39 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
093c41f1104d3519cfcbeac78d72e36754a42502
093c41f1
1 parent
873b136b
se agrego creado por en ordenamiento
Show 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 @
093c41f
...
...
@@ -24,7 +24,7 @@ class EdictoViewSet(AuditoriaMixin, mixins.CreateModelMixin,
filter_backends
=
(
DjangoFilterBackend
,
filters
.
OrderingFilter
)
filterset_class
=
EdictoFilter
queryset
=
Edicto
.
objects
.
all
()
ordering_fields
=
(
'fecha_creacion'
,
'fecha_modificacion'
,
'id'
,
'estado'
,
'cantidad_palabras'
)
ordering_fields
=
(
'fecha_creacion'
,
'fecha_modificacion'
,
'id'
,
'estado'
,
'cantidad_palabras'
,
'creado_por'
)
ordering
=
(
'fecha_publicacion'
,)
lookup_field
=
'uuid'
...
...
Please
register
or
login
to post a comment