Just a note for anyone passing from here, if you have a /mypath/slug:slug/ in your urls.py, pay attention that any path with /mypath/[something] may give the 405 error because it tries to interpret it as a slug, while it is another path. Pay attention to ordering and put any real path above slugs in urls.py