URL parameters with GET request in django
<p>guys. I'm passing parameters via GET requests to my view. But it seems that django is not properly handling my URL.</p>

<p>With parameters longer than one char, it works, but if I use a single char, I get Page not found (404) error.</p>

<p>Example:</p>

<p><strong>Works:</strong> <a href="http://localhost:8000/my_url/test" rel="nofollow">http://localhost:8000/my_url/test</a></p>

<p><strong>Not found:</strong> <a href="http://localhost:8000/my_url/t" rel="nofollow">http://localhost:8000/my_url/t</a></p>

<p>urls.py code fragment:</p>

<pre><code>url(r'^my_url/(?P&lt;username&gt;\w.+)/$', views.my_url, name='my_url'),
</code></pre>

<p>Is there any django restriction to the length of parameters passed via GET?
Thanks a lot in advance!</p>

<p>Remove dot from regex string <code>r'^my_url/(?P&lt;username&gt;\w+)/$'</code></p>

python regex django