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:09:29 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6fc2d3500205c95c40fe7e121e045835c1649ee4
6fc2d350
1 parent
8a8bf143
cambio de request.user
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
project/apps/edicto/serializer.py
project/apps/edicto/serializer.py
View file @
6fc2d35
...
...
@@ -45,7 +45,6 @@ class EdictoSerializer(serializers.ModelSerializer):
request
=
self
.
context
[
'request'
]
if
request
.
method
==
'POST'
:
data
[
'usuario'
]
=
request
.
user
data
[
'usuario_movimiento'
]
=
request
.
user
else
:
pass
data
[
'usuario_movimiento'
]
=
request
.
user
...
...
Please
register
or
login
to post a comment