D
D
DzenRoamer2015-05-01 10:52:30
Django
DzenRoamer, 2015-05-01 10:52:30

How to configure Django to work with Russian urls (my-site.rf, portal.rf, etc.)?

Actually a subject. The Russian strings themselves in Django are solved by setting the encoding to utf-8. But what to do with the settings in the urls.py file??
I understand that the problem here is related to the encoding of Russian characters in the url line. But how to work with it in Django?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Abramov, 2015-05-01
@DzenRoamer

So what's the problem then?
url(ur'^текст/', views.IndexView.as_view())

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question