Hi! I'm having the problem reported in
https://github.com/stephenmcd/mezzanine/pull/183 with BlogPosts. I create a BlogPost with special characters in the title and it generates a slug with special characters. Mezzanine creates the list of templates to be used by django OK. But when django tries to get the files it fails.
Traceback (most recent call last):
File "/home/django/novaweb_pt/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 136, in get_response
response = response.render()
File "/home/django/novaweb_pt/local/lib/python2.7/site-packages/django/template/response.py", line 104, in render
self._set_content(self.rendered_content)
File "/home/django/novaweb_pt/local/lib/python2.7/site-packages/django/template/response.py", line 79, in rendered_content
template = self.resolve_template(self.template_name)
File "/home/django/novaweb_pt/local/lib/python2.7/site-packages/django/template/response.py", line 55, in resolve_template
return loader.select_template(template)
File "/home/django/novaweb_pt/local/lib/python2.7/site-packages/django/template/loader.py", line 187, in select_template
return get_template(template_name)
File "/home/django/novaweb_pt/local/lib/python2.7/site-packages/django/template/loader.py", line 145, in get_template
template, origin = find_template(template_name)
File "/home/django/novaweb_pt/local/lib/python2.7/site-packages/django/template/loader.py", line 134, in find_template
source, display_name = loader(name, dirs)
File "/home/django/novaweb_pt/local/lib/python2.7/site-packages/django/template/loader.py", line 42, in __call__
return self.load_template(template_name, template_dirs)
File "/home/django/novaweb_pt/local/lib/python2.7/site-packages/django/template/loader.py", line 45, in load_template
source, display_name = self.load_template_source(template_name, template_dirs)
File "/home/django/novaweb_pt/local/lib/python2.7/site-packages/django/template/loaders/filesystem.py", line 37, in load_template_source
file = open(filepath)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 89: ordinal not in range(128)
My main question is: Should I open this as a Mezzanine issue or a Django issue (in the django tracker of course)?
Thanks in advance and keep up the great work.
Pedro Araújo