This indentation is strange. I'd recommend something more like this:
```python
favicon_path = microsite.get_value('favicon_path', settings.FAVICON_PATH)
urlpatterns += ((
    r'^favicon\.ico$',
    'django.views.generic.simple.redirect_to', 
    {'url':  settings.STATIC_URL + favicon_path}
),)
```