Skip to content
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

Sitemap with categories and products #47

Merged
merged 7 commits into from
Nov 4, 2023

Conversation

yanazPL
Copy link
Contributor

@yanazPL yanazPL commented Oct 29, 2023

I have created sitemap with categories and products.

Both category and product needed get_absolute_url() method definition.

I have added is_updated field to Category model.

I have tested sitemap xml generation comprehensievly.

XML has been vallidated with https://www.mysitemapgenerator.com/service/check.html

@yanazPL yanazPL requested a review from a team October 29, 2023 12:51
Base automatically changed from feature/category-templates to dev November 2, 2023 20:20
@jacoor
Copy link
Contributor

jacoor commented Nov 2, 2023

@yanazPL please fix migrations. When you try to run pytest it fails with nice error message:
image

@jacoor
Copy link
Contributor

jacoor commented Nov 3, 2023

@yanazPL please fix the tests before I review this.

Copy link
Contributor

@jacoor jacoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Please remove prints.

Dshop/Dshop/tests/test_sitemap.py Outdated Show resolved Hide resolved
Dshop/Dshop/tests/test_sitemap.py Outdated Show resolved Hide resolved
@yanazPL yanazPL merged commit 85c0b97 into dev Nov 4, 2023
2 checks passed
@yanazPL yanazPL deleted the feature/sitemap-categories-products branch November 4, 2023 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants