Re: Utf-8 encoding errors with unicode in urlpatterns - Django 1.3

2011-04-14 Thread Leszek Piątek
from django.conf.urls.defaults import patterns, include, url from views import test urlpatterns = patterns('', url(ur'(?Pdom|działka|kamienica|biuro)/(?Pwynajem| sprzedaż)/$', test, name='home'), ) + http://localhost.com:8000/dzia%25C5%2582ka/sprzeda%25C5%25BC/ I thought it would be more co

Re: Utf-8 encoding errors with unicode in urlpatterns - Django 1.3

2011-04-14 Thread Daniel Roseman
On Wednesday, April 13, 2011 9:31:27 PM UTC+1, Leszek Piątek wrote: > > Hi! > > I've recently came across problem in django. According to > documentation I should be able to use unicode inside urlpatterns - but > something is wrong I guess. > > When URL exists I got error displayed on dev serve

Utf-8 encoding errors with unicode in urlpatterns - Django 1.3

2011-04-14 Thread Leszek Piątek
Hi! I've recently came across problem in django. According to documentation I should be able to use unicode inside urlpatterns - but something is wrong I guess. When URL exists I got error displayed on dev server console (no sigh of problem), but IF URL DOESN'T exists error is printed out on webp