diff --git a/pagure/templates/settings.html b/pagure/templates/settings.html
index f7fc247..5c93c25 100644
--- a/pagure/templates/settings.html
+++ b/pagure/templates/settings.html
@@ -105,8 +105,7 @@
{% endif %}
{% for blueprint in main_app.blueprints %}
- {% if blueprint not in [
- 'api_ns', 'ui_ns', 'internal_ns', 'theme'] %}
+ {% if blueprint | hasattr('settings') %}