Permalink
Browse files

Source encoding change for templatetags and utils

  • Loading branch information...
1 parent 9033c83 commit c1a896b95b50147af0278b4c4a6c42df4cefff3f @chrisglass chrisglass committed Jan 21, 2011
View
@@ -1 +1,2 @@
+# -*- coding: utf-8 -*-
from cms_sitemap import *
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from django.contrib.sitemaps import Sitemap
class CMSSitemap(Sitemap):
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from classytags.arguments import Argument
from classytags.core import Options
from classytags.helpers import InclusionTag
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from classytags.arguments import Argument, MultiValueArgument
from classytags.core import Options, Tag
from classytags.helpers import InclusionTag
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from django import template
from django.utils import simplejson
from django.core.serializers.json import DjangoJSONEncoder
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from classytags.arguments import Argument
from classytags.core import Tag, Options
from django import template
View
@@ -18,7 +18,6 @@
from django.test.testcases import TestCase
from menus.menu_pool import menu_pool
from urlparse import urlparse
-import copy
import sys
import urllib
import warnings
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
# TODO: this is just stuff from utils.py - should be splitted / moved
from cms.utils.i18n import get_default_language
from django.conf import settings
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from django.contrib.sites.models import Site
from django.conf import settings
from cms.utils.moderator import page_moderator_state, I_APPROVE
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
def copy_plugins_to(plugin_list, to_placeholder, to_language = None):
"""
Copies a list of plugins to a placeholder to a language.
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from django.conf import settings
# modify reversions to match our needs if required...
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from django.conf import settings
def get_default_language(language_code=None):
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from django.template.loader import render_to_string
from django.core.mail import EmailMultiAlternatives
from django.contrib.sites.models import Site
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import datetime
from django.utils.translation import ugettext as _
from django.conf import settings
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from django.conf import settings
import re
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from cms.exceptions import NoHomeFound
from cms.models.pagemodel import Page
from cms.utils.moderator import get_page_queryset
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from django.contrib.auth.models import User, Group
from django.db.models import Q
from django.utils.translation import ugettext_lazy as _
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from django.conf import settings
from django.core.exceptions import MultipleObjectsReturned
from django.db.models.query_utils import Q
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from cms.exceptions import DuplicatePlaceholderWarning
from cms.models import Page
from cms.templatetags.cms_tags import Placeholder
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import reversion
from reversion.revisions import RegistrationError, RegistrationInfo
from reversion.storage import VersionFileStorageWrapper
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from django.conf import settings
from urlparse import urlparse
import re

0 comments on commit c1a896b

Please sign in to comment.