if you want to protect yourself a little better from future URL changes you could do something like the below (probably needs tweaks to actually work):

```
pattern = '([^/\]*)'
template = reverse('single_case', args=['fake-case-id']).replace('fake-case-id', pattern)
```