Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non English SLUG #142

Closed
ysharoiko opened this issue Dec 7, 2017 · 2 comments
Closed

Non English SLUG #142

ysharoiko opened this issue Dec 7, 2017 · 2 comments

Comments

@ysharoiko
Copy link

ysharoiko commented Dec 7, 2017

Tryed
Was trying
Django==1.11.8
wagtail==1.13.1
puput==0.9.1

Created blog with slug name test - Everything was perfect.
Then created blog with NON ENGLISH slug name блог-лабораториума
And got error accessing page:

Request Method: GET
http://localhost:8000/%D0%B1%D0%BB%D0%BE%D0%B3-%D0%BB%D0%B0%D0%B1%D0%BE%D1%80%D0%B0%D1%82%D0%BE%D1%80%D0%B8%D1%83%D0%BC%D0%B0/
1.11.8
NoReverseMatch
Reverse for 'blog_page_feed_slug' with keyword arguments '{'blog_path': '%D0%B1%D0%BB%D0%BE%D0%B3-%D0%BB%D0%B0%D0%B1%D0%BE%D1%80%D0%B0%D1%82%D0%BE%D1%80%D0%B8%D1%83%D0%BC%D0%B0'}' not found. 1 pattern(s) tried: ['(?P<blog_path>[-\w\/]+)/feed/$']
/home/user/Env/bl_test/lib/python3.5/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 497
/home/user/Env/bl_test/bin/python
3.5.2
['/home/user/django_wagtail/lsite', '/home/user/Env/bl_test/lib/python35.zip', '/home/user/Env/bl_test/lib/python3.5', '/home/user/Env/bl_test/lib/python3.5/plat-x86_64-linux-gnu', '/home/user/Env/bl_test/lib/python3.5/lib-dynload', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/home/user/Env/bl_test/lib/python3.5/site-packages']
Чт, 7 Дек 2017 15:15:39 +0000
@ysharoiko
Copy link
Author

When I renamed slug in english error disappeared.
Is there a way to make translite before saving? Maybe somebody knows where to fix it? I would be glad to here )

@marctc
Copy link
Collaborator

marctc commented Feb 12, 2018

Hi @ysharoiko,
Try changing this: #122

@marctc marctc closed this as completed Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants