
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Add i18nsitemap
to your INSTALLED_APPS
In your Sitemap class who supports i18n inherit from i18nsitemap.I18nSitemap instead from django.
Set i18n = True
That's it. And there is no problem on using I18nSitemap
on any Sitemap class, no needs to add or remove anything.
Here it follows an example
::
class BlogSitemap(I18nSitemap):
changefreq = "never"
priority = 0.5
i18n = True
def items(self):
return Entry.objects.filter(is_draft=False)
def lastmod(self, obj):
return obj.pub_date
FAQs
Adds the possibility to have i18n urls in your sitemap
We found that django-i18n-sitemap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.