Fix code style
This commit is contained in:
parent
050ce297bc
commit
91df9a8b43
3 changed files with 6 additions and 8 deletions
|
@ -1,19 +1,19 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
|
||||
from django.core.cache import cache
|
||||
from django.utils.encoding import force_text
|
||||
from django.utils.feedgenerator import Rss201rev2Feed, rfc2822_date
|
||||
|
||||
from aldryn_apphooks_config.utils import get_app_instance
|
||||
from django.contrib.sites.models import Site
|
||||
from django.contrib.syndication.views import Feed
|
||||
from django.core.cache import cache
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.utils.encoding import force_text
|
||||
from django.utils.feedgenerator import Rss201rev2Feed, rfc2822_date
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.utils.translation import ugettext as _, get_language_from_request
|
||||
from django.utils.translation import get_language_from_request, ugettext as _
|
||||
|
||||
from djangocms_blog.settings import get_setting
|
||||
from djangocms_blog.views import PostDetailView
|
||||
|
||||
from .models import Post
|
||||
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ from django.db import models
|
|||
from django.db.models.signals import post_save, pre_delete
|
||||
from django.dispatch import receiver
|
||||
from django.utils import timezone
|
||||
from django.utils.encoding import force_text, python_2_unicode_compatible, force_bytes
|
||||
from django.utils.encoding import force_bytes, force_text, python_2_unicode_compatible
|
||||
from django.utils.html import escape, strip_tags
|
||||
from django.utils.text import slugify
|
||||
from django.utils.translation import get_language, ugettext_lazy as _
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
|
||||
from django.utils.safestring import mark_safe
|
||||
|
||||
MENU_TYPE_COMPLETE = 'complete'
|
||||
MENU_TYPE_CATEGORIES = 'categories'
|
||||
MENU_TYPE_POSTS = 'posts'
|
||||
|
|
Loading…
Reference in a new issue