Suggestion: since you aren't actually using the key here, why not just iterate through values instead of items here?
```python
    for value in urlresolvers.get_resolver(None).reverse_dict.itervalues():
```