I saw a thread on this previously but it does not seem to have a solution. I used this thread
http://stackoverflow.com/questions/2291176/django-python-and-link-encryption as a base and created encrypt and decrypt functions for the pk. I encrypt and quote and use smart_unicode to create my url. They come out looking something like this: %FA8%01%5B%9D%93_%B6%F5%3D%3A%23ij%01%8B. it does not work. I changed the core as mentioned on this ticket
https://code.djangoproject.com/attachment/ticket/5738/unicode_url_bug.patch and I was able to get the error it was throwing. The encrypted URL does not seem to be going thru all the way as the URL in the error statements looks something like this: _ij . Is there another approach I can take? or Am I missing something here? Also the url is set to something like this: /path/(.+)