Closed miurahr closed 9 years ago
What I'm doing are as follows:
Things are suggested in python3 porting guide. https://docs.djangoproject.com/en/1.8/topics/python3/
__str__
instead of __unicode__
https://docs.djangoproject.com/en/1.8/topics/python3/#str-and-unicode-methodsfrom __future__ import unicode_literals
at the top of your Python modules
https://docs.djangoproject.com/en/1.8/topics/python3/#unicode-literalsu
prefix before unicode strings;
https://docs.djangoproject.com/en/1.8/topics/python3/#unicode-literalsverbose_name=_("foo boo")
for all items in models.
https://docs.djangoproject.com/en/1.8/topics/db/models/#verbose-field-names
https://docs.djangoproject.com/en/1.8/ref/models/fields/#verbose-name_("foo")
for verbose_name=""
in apps.py label
field for forms
https://docs.djangoproject.com/en/1.8/ref/forms/fields/#label_("foo")
for message.success()
in views.pyUhm, I'm doing 4 different thing in single PR.
These four are changing similar part of code, so it will be required resolve conflict if these are separate PR.
I'd like to try split these as separate PRs. OR, if it is difficult, at least, organize separate commits.
split to 2 separate PRs, #100 #101, so I'd like to close here.