diff --git a/nop/views.py b/nop/views.py
index 21b23ec321157fd734954d3c87cb2d2394ca1925..4c298293369e56f181eb6b6037ed1d9b5dd52b91 100644
--- a/nop/views.py
+++ b/nop/views.py
@@ -1,4 +1,4 @@
-# coding=utf-8
+# -*- coding: utf-8 -*-
 
 from django.conf import settings
 from django.core.exceptions import ObjectDoesNotExist, MultipleObjectsReturned
diff --git a/pv/settings.py b/pv/settings.py
index 96230e4ccc775700ce861504ab86d0031ba05ab7..47b9d2e4d82f52bbbcee574bb69f5c40c516b1b3 100644
--- a/pv/settings.py
+++ b/pv/settings.py
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
 # Django settings for pv project.
 
 import os.path