[Answer]-Django slug changes URL but doesn't get detail view

1👍

The problem is that your first regex is not rooted. It matches ‘$’ which basically means “any string that ends” – which is everything. So all URLs end up being matched by that pattern.

It should be ^$, ie the empty string.

Leave a comment