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-04 10:12:38 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
39a6b6b8d542f3a18d73bae48d7e0a15be68af13
39a6b6b8
1 parent
71c71c10
agregar fecha_modificacion
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 @
39a6b6b
...
...
@@ -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'
,
'id'
,
'estado'
)
ordering_fields
=
(
'fecha_creacion'
,
'
fecha_modificacion'
,
'
id'
,
'estado'
)
ordering
=
(
'fecha_publicacion'
,)
lookup_field
=
'uuid'
...
...
Please
register
or
login
to post a comment