Permalink
Browse files

Add unicode literals into all the python files

  • Loading branch information...
1 parent d371061 commit 6665c61d12dcd30a43677224d3eb2d14c22ed500 @coordt coordt committed Jul 1, 2016
@@ -1,2 +1,3 @@
# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
from django.contrib import admin
@@ -1,2 +1,3 @@
# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
from django import forms
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
from django.db import models
-from django.conf import settings as site_settings
-from django.utils.translation import ugettext, ugettext_lazy as _
+from django.utils.encoding import python_2_unicode_compatible
+from django.utils.translation import ugettext_lazy as _
-from {{app_name}} import settings
+# from .settings import #
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
from django.conf import settings as site_settings
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
from django.test import TestCase
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
from django.conf.urls import patterns, url
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
from django.contrib.auth.decorators import login_required
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
from django.http import HttpResponseRedirect, HttpResponseForbidden, Http404
View
@@ -1,5 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
import os
from setuptools import setup, find_packages

0 comments on commit 6665c61

Please sign in to comment.