Use specific except clauses for static_url