remove filtering news by locale
This commit is contained in:
parent
ffa8409032
commit
2a0d153be5
|
|
@ -31,9 +31,9 @@ class NewsMixinView:
|
||||||
else:
|
else:
|
||||||
qs = qs.by_country_code(country_code)
|
qs = qs.by_country_code(country_code)
|
||||||
|
|
||||||
locale = kwargs.get('locale')
|
# locale = kwargs.get('locale')
|
||||||
if locale:
|
# if locale:
|
||||||
qs = qs.by_locale(locale)
|
# qs = qs.by_locale(locale)
|
||||||
|
|
||||||
return qs
|
return qs
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user