mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00
Remove print statement that cannot be used when running under a server
This commit is contained in:
@ -143,7 +143,6 @@ def system_information(request):
|
||||
# List of all unapproved objects, for the special admin page
|
||||
@login_required
|
||||
def admin_pending(request):
|
||||
print list(get_all_pending_moderations())
|
||||
return render_to_response('core/admin_pending.html', {
|
||||
'app_list': get_all_pending_moderations(),
|
||||
})
|
||||
|
@ -39,7 +39,6 @@ class DocComment(PgModel, models.Model):
|
||||
@property
|
||||
def poster(self):
|
||||
if self.submitter_id > 0:
|
||||
print self.submitter
|
||||
return "%s %s" % (self.submitter.first_name, self.submitter.last_name)
|
||||
else:
|
||||
return ''
|
||||
|
Reference in New Issue
Block a user