I've this pattern:
url(r'^(?P<slug>.+)-prod(?P<product_id>[0-9]+).html$', 'product_detail', name='product_detail', )
It works fine when I have:
"some unicode characters"-prod"some numbers".html
but when I have '#' sign in "some unicode characters" it doesn't match. Python/django/re truncates the string to the first character of #
For example, if I had:
"some unicode # string"-prod"some numbers".html
django will search for match
"some unicode "
Has anyone else had the same problem?