Hiroshi Miura
|
a95825ede8
|
python3 compatibility
- Things are suggested in python3 porting guide.
https://docs.djangoproject.com/en/1.8/topics/python3/
1. adding ```from django.utils.encoding import
python_2_unicode_compatible```
2. ``` __str__``` instead of ```__unicode__```
https://docs.djangoproject.com/en/1.8/topics/python3/#str-and-unicode-methods
3. Adding ```from __future__ import unicode_literals``` at the top
of your Python modules
https://docs.djangoproject.com/en/1.8/topics/python3/#unicode-literals
4. Removing the `u` prefix before unicode strings;
https://docs.djangoproject.com/en/1.8/topics/python3/#unicode-literals
- also closed #66
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
|
2015-08-03 23:32:25 +09:00 |
|
Rebecca Lovewell
|
5e5de6c6ea
|
Pyflakes clean across the entire project
|
2014-01-13 16:49:40 -05:00 |
|
Luke Hatcher
|
6cf7a62da1
|
track revisions for proposals, boxes and add reversion admin to all
|
2012-07-18 19:19:59 -04:00 |
|
Luke Hatcher
|
2665fd5758
|
update cms/boxes to pycon parity
|
2012-07-10 18:18:48 -04:00 |
|