Remove print statement that cannot be used when running under a server

This commit is contained in:
Magnus Hagander
2011-06-14 19:50:29 +02:00
parent f92709d2a6
commit 121b336792
2 changed files with 0 additions and 2 deletions

View File

@ -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(),
})

View File

@ -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 ''