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