git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Registration: combobox for the authorities
[unfold.git]
/
portal
/
reputationview.py
diff --git
a/portal/reputationview.py
b/portal/reputationview.py
index
520253d
..
40f8506
100644
(file)
--- a/
portal/reputationview.py
+++ b/
portal/reputationview.py
@@
-119,12
+119,6
@@
class ReputationView (LoginRequiredAutoLogoutView, ThemeView):
def post (self,request):
\r
env = self.default_env()
\r
env['theme'] = self.theme
\r
def post (self,request):
\r
env = self.default_env()
\r
env['theme'] = self.theme
\r
-
\r
-
\r
-
\r
- with open('/home/coyiotis/testlog.log') as f:
\r
- f.write(str('test'))
\r
-
\r
\r
return render_to_response(self.template, env, context_instance=RequestContext(request))
\r
\r
\r
return render_to_response(self.template, env, context_instance=RequestContext(request))
\r
\r
@@
-135,12
+129,6
@@
class ReputationView (LoginRequiredAutoLogoutView, ThemeView):
env = self.default_env()
\r
\r
##### *** Reputation Plugin-specific START *** ############
\r
env = self.default_env()
\r
\r
##### *** Reputation Plugin-specific START *** ############
\r
- with open('/home/coyiotis/testlog.log', 'w') as f:
\r
- f.write(str(request.GET))
\r
- for key in request.GET:
\r
- f.write('\n')
\r
- f.write(str(request.GET[key]))
\r
-
\r
#The following 'if' is a dirty way for bypassing the JS AJAX cross-domain prevention policy...not pretty
\r
if request.GET.has_key(u'slicedata[user_eval][overall]'):
\r
dict_to_send = {}
\r
#The following 'if' is a dirty way for bypassing the JS AJAX cross-domain prevention policy...not pretty
\r
if request.GET.has_key(u'slicedata[user_eval][overall]'):
\r
dict_to_send = {}
\r