[Answer]-Best practices for path-agnostic links in Django?

1👍

You want url tag:

Returns an absolute path reference (a URL without the domain name) matching a given view function and optional parameters. This is a way to output links without violating the DRY principle by having to hard-code URLs in your templates

👤gatto

Leave a comment