Does it work for you? In regex it looks like r'^(?P<template>\w+)/$, btw if this is api view, why just not api/users?