If it helps make these lines cleaner, you aren't using `locale` anywhere, so you can throw it out like this:

```python
_, register_url = split_path(reverse('...'))
# or
register_url = split_path(reverse('...'))[1]
```

Only if it helps make them short enough to live on one line.