Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

src/d/j/django-pages-1.3.1/django_pages/pages/admin.py   django-pages(Download)
from django.shortcuts import get_object_or_404
 
from ..common.admin_actions import activate, deactivate, enable_comments, disable_comments
from .models import Page, Post
from ..views import main_view

src/d/j/django-pages-1.3.1/django_pages/looks/admin.py   django-pages(Download)
# -*- encoding: utf-8 -*-
 
from django.contrib import admin
 
from ..common.admin_actions import activate, deactivate

src/d/j/django-pages-1.3.1/django_pages/language/admin.py   django-pages(Download)
from django.utils.translation import ugettext_lazy as _
 
from ..common.admin_actions import activate, deactivate
from .models import Language
 

src/d/j/django-pages-1.3.1/django_pages/feed/admin.py   django-pages(Download)
# -*- encoding: utf-8 -*-
 
from django.contrib import admin
 
from ..common.admin_actions import activate, deactivate