How to use pyramid route in the sub module case?
<p>I want to add a new route to the current project. The project's structure like:</p>

<pre><code>myprj
- module1
-- __init__.py
- module2
-- __init__.py
- module3
-- __init__.py
</code></pre>

<p>I add this to <code>myprj/module1/__init__.py</code></p>

<pre><code>config.add_route('locale', '/locale')
</code></pre>

<p>Then add a method in <code>myprj/module1/subscribers.py</code></p>

<pre><code>from pyramid.view import view_config

@view_config(route_name='locale')
def set_locale_cookie(request):
    print('OK')
</code></pre>

<p>When I access my project by: <a href="http://myprj.com/locale" rel="nofollow">http://myprj.com/locale</a>, it can't find the <code>locale</code> path. Why?</p>