Hi all,
I try to use a utf8 string in a Django unit test and have included
# -*- coding: utf-8 -*-
but django-admin.py still complaints there is no encoding.
Traceback (most recent call last):
File "/home/basti/work/virtualenv/bin/django-admin.py", line 5, in
management.execute_from_comma
On Mon, Oct 10, 2011 at 10:03 AM, Bastian Ballmann
wrote:
> Hi all,
>
> I try to use a utf8 string in a Django unit test and have included
> # -*- coding: utf-8 -*-
> but django-admin.py still complaints there is no encoding.
Is that on the first or second line of your file? If not, python will
i
Am 13.10.2011 11:02, schrieb Tom Evans:
# -*- coding: utf-8 -*-
Is that on the first or second line of your file? If not, python will
ignore it, as mentioned in the linked PEP.
It's on the very first line of the tests.py
Greets
Basti
--
Bastian Ballmann / Web Developer
Notch Interactive GmbH
3 matches
Mail list logo