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-19 07:17:13 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a89c6edc4838dab2261c257686cb56385caeaf27
a89c6edc
1 parent
6fc2d350
se elimina validaciones de usario
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
project/apps/edicto/serializer.py
project/apps/edicto/serializer.py
View file @
a89c6ed
...
...
@@ -43,10 +43,7 @@ class EdictoSerializer(serializers.ModelSerializer):
cantidad_palabras
=
contador
(
edicto
)
data
[
'cantidad_palabras'
]
=
cantidad_palabras
request
=
self
.
context
[
'request'
]
if
request
.
method
==
'POST'
:
data
[
'usuario'
]
=
request
.
user
else
:
pass
data
[
'usuario'
]
=
request
.
user
data
[
'usuario_movimiento'
]
=
request
.
user
return
data
...
...
Please
register
or
login
to post a comment