df
This commit is contained in:
parent
2f0eadc1dd
commit
99701e26aa
2 changed files with 3 additions and 4 deletions
|
@ -262,8 +262,7 @@ def get_domain(s):
|
||||||
|
|
||||||
domain_list = tuple(list(domain_list))
|
domain_list = tuple(list(domain_list))
|
||||||
|
|
||||||
doms = [x for x in g.db.query(BannedDomain).options(lazyload('*')).filter(
|
doms = [x for x in g.db.query(BannedDomain).options(lazyload('*')).filter(BannedDomain.domain.in_(domain_list)).all()]
|
||||||
BannedDomain.domain.in_(domain_list)).all()]
|
|
||||||
|
|
||||||
if not doms:
|
if not doms:
|
||||||
return None
|
return None
|
||||||
|
|
|
@ -121,7 +121,7 @@
|
||||||
|
|
||||||
|
|
||||||
{% if render_replies %}
|
{% if render_replies %}
|
||||||
{% if level<7 %}
|
{% if level<10 %}
|
||||||
<div id="replies-of-{{c.id}}" class="">
|
<div id="replies-of-{{c.id}}" class="">
|
||||||
{% set standalone=False %}
|
{% set standalone=False %}
|
||||||
{% for reply in replies %}
|
{% for reply in replies %}
|
||||||
|
@ -456,7 +456,7 @@
|
||||||
|
|
||||||
|
|
||||||
{% if render_replies %}
|
{% if render_replies %}
|
||||||
{% if level<7 %}
|
{% if level<10 %}
|
||||||
<div id="replies-of-{{c.id}}">
|
<div id="replies-of-{{c.id}}">
|
||||||
{% for reply in replies %}
|
{% for reply in replies %}
|
||||||
{{single_comment(reply, level=level+1)}}
|
{{single_comment(reply, level=level+1)}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue