Skip to content

Commit

Permalink
Fixes willhardy#36. Unable to use nested namespacing while using meta…
Browse files Browse the repository at this point in the history
…data for views
  • Loading branch information
arpitremarkable committed Oct 21, 2014
1 parent 3089686 commit 033e3ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollyourown/seo/systemviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_view_names(seo_views):
output.append(name)
else:
for url in urls.urlpatterns:
if url.name:
if getattr(url, 'name', None):
output.append(url.name)
return output

Expand Down

0 comments on commit 033e3ce

Please sign in to comment.