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-11 09:39:10 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
87bc529ace922b407914f287c4069af6d4fb00b4
87bc529a
1 parent
24e1835d
adiccion en el metodo de 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 @
87bc529
...
...
@@ -26,7 +26,7 @@ class EdictoViewSet(mixins.CreateModelMixin,
filterset_class
=
EdictoFilter
queryset
=
Edicto
.
objects
.
all
()
ordering_fields
=
(
'usuario'
,)
ordering
=
'fecha_creacion'
ordering
=
(
'fecha_creacion'
,
'id'
,)
lookup_field
=
'uuid'
def
perform_create
(
self
,
serializer
):
...
...
Please
register
or
login
to post a comment