Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
Phonographe
Commits
ed9ce26e
Commit
ed9ce26e
authored
Aug 07, 2022
by
Sylvain Coulange
🌼
Browse files
maj addStat
parent
4667babb
Changes
1
Hide whitespace changes
Inline
Side-by-side
users/views.py
View file @
ed9ce26e
...
...
@@ -612,7 +612,6 @@ def addStat(request):
newStat
.
ip
=
get_client_ip
(
request
)
newStat
.
lang
=
lang
# if newStat.ip!="127.0.0.1": newStat.save()
newStat
.
save
()
if
newStat
.
ip
!=
"127.0.0.1"
:
newStat
.
save
()
return
JsonResponse
({})
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment