New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoided hardcoded values in RSS template #1012
Conversation
This reverts commit 553969741ea8169a55e30c143efc56f1ff5be7ca.
@olegush , append plz PR body with the related task in format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two minor cleanups
@@ -221,3 +223,4 @@ def handle(self, *args, **options): | |||
template_path='prices/price.rss', | |||
) | |||
]).create() | |||
print('context',Context('GM').context()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redundant print
shopelectro/settings/base.py
Outdated
@@ -333,7 +333,8 @@ def get_robots_content(): | |||
'slug': '', | |||
'name': 'Интернет-магазин элементов питания "ShopElectro"', | |||
'menu_title': 'Главная', | |||
'title': 'Интернет-магазин Элементов питания с доставкой по России', | |||
'title': 'Интернет-магазин элементов питания с доставкой по России', | |||
'description': 'Элементы питания в СПб с доставкой по России - интернет магазин элементов питания ShopElectro', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'description': 'Элементы питания в СПб с доставкой по России - интернет магазин элементов питания ShopElectro', | |
'description': 'Элементы питания в СПб с доставкой по России - интернет-магазин элементов питания ShopElectro', |
@olegush , write the test just for title tag plz. To do it plz clone and customize that one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems you removed Readme.md. Return it back plz :)
Closed by the CI failure reason:
|
* fix template * fix rss template * add the test * update settings * update view * rename rss to xml
Closes #1009