Skip to content

Commit 9966d47

Browse files
author
Chris Glass
committed
Source encoding changes for menus app
1 parent e5cce60 commit 9966d47

File tree

8 files changed

+8
-4
lines changed

8 files changed

+8
-4
lines changed

menus/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from django.utils.translation import get_language
23
from django.utils.encoding import smart_str
34

menus/exceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
class NamespaceAllreadyRegistered(Exception):
23
pass
34

menus/menu_pool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from django.conf import settings
23
from django.contrib.sites.models import Site
34
from django.core.cache import cache

menus/migrations/0001_initial.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# encoding: utf-8
2-
import datetime
1+
# -*- coding: utf-8 -*-
32
from south.db import db
43
from south.v2 import SchemaMigration
5-
from django.db import models
64

75
class Migration(SchemaMigration):
86

menus/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
# -*- coding: utf-8 -*-
22
from django.db import models
33

44
class CacheKeyManager(models.Manager):

menus/modifiers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from menus.base import Modifier
23
from menus.menu_pool import menu_pool
34

menus/templatetags/menu_tags.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from classytags.arguments import IntegerArgument, Argument
23
from classytags.core import Options
34
from classytags.helpers import InclusionTag

menus/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from cms.models.titlemodels import Title
23
from django.conf import settings
34

0 commit comments

Comments
 (0)