magic-removal: Moved django.core.extensions to django.shortcuts and updated references.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5f2ffee66e
commit
471bae17fa
|
@ -6,7 +6,7 @@ from django.db.models.query import handle_legacy_orderlist
|
|||
from django.http import HttpResponse, HttpResponseRedirect
|
||||
from django.core.paginator import ObjectPaginator, InvalidPage
|
||||
from django.template import RequestContext as Context
|
||||
from django.core.extensions import render_to_response
|
||||
from django.shortcuts import render_to_response
|
||||
from django.utils.dates import MONTHS
|
||||
|
||||
# The system will display a "Show all" link only if the total result count
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from django import http, template
|
||||
from django.conf import settings
|
||||
from django.contrib.auth.models import User, SESSION_KEY
|
||||
from django.core.extensions import render_to_response
|
||||
from django.shortcuts import render_to_response
|
||||
from django.utils.translation import gettext_lazy
|
||||
import base64, datetime, md5
|
||||
import cPickle as pickle
|
||||
|
|
|
@ -3,7 +3,7 @@ from django.template import RequestContext
|
|||
from django.conf import settings
|
||||
from django.contrib.admin.views.decorators import staff_member_required
|
||||
from django.db import models
|
||||
from django.core.extensions import render_to_response
|
||||
from django.shortcuts import render_to_response
|
||||
from django.core.exceptions import ViewDoesNotExist
|
||||
from django.http import Http404
|
||||
from django.core import urlresolvers
|
||||
|
|
|
@ -2,7 +2,7 @@ from django import forms, template
|
|||
from django.conf import settings
|
||||
from django.contrib.admin.views.decorators import staff_member_required
|
||||
from django.core.exceptions import ImproperlyConfigured, ObjectDoesNotExist, PermissionDenied
|
||||
from django.core.extensions import get_object_or_404, render_to_response
|
||||
from django.shortcuts import get_object_or_404, render_to_response
|
||||
from django.db import models
|
||||
from django.db.models.fields import BoundField, BoundFieldLine, BoundFieldSet
|
||||
from django.http import Http404, HttpResponse, HttpResponseRedirect
|
||||
|
|
|
@ -2,7 +2,7 @@ from django.contrib.admin.views.decorators import staff_member_required
|
|||
from django.core import validators
|
||||
from django import template, forms
|
||||
from django.template import loader
|
||||
from django.core.extensions import render_to_response
|
||||
from django.shortcuts import render_to_response
|
||||
from django.contrib.sites.models import Site
|
||||
from django.conf import settings
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ from django import forms
|
|||
from django.core.mail import mail_admins, mail_managers
|
||||
from django.http import Http404
|
||||
from django.core.exceptions import ObjectDoesNotExist
|
||||
from django.core.extensions import render_to_response
|
||||
from django.shortcuts import render_to_response
|
||||
from django.template import RequestContext
|
||||
from django.contrib.auth.models import SESSION_KEY
|
||||
from django.contrib.comments.models import Comment, FreeComment, PHOTOS_REQUIRED, PHOTOS_OPTIONAL, RATINGS_REQUIRED, RATINGS_OPTIONAL, IS_PUBLIC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from django.http import Http404
|
||||
from django.core.extensions import render_to_response
|
||||
from django.shortcuts import render_to_response
|
||||
from django.template import RequestContext
|
||||
from django.models.comments import comments, karma
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from django.core.extensions import render_to_response
|
||||
from django.shortcuts import render_to_response
|
||||
from django.template import RequestContext
|
||||
from django.http import Http404
|
||||
from django.models.comments import comments, moderatordeletions, userflags
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from django.contrib.flatpages.models import FlatPage
|
||||
from django.template import loader, RequestContext
|
||||
from django.core.extensions import get_object_or_404
|
||||
from django.shortcuts import get_object_or_404
|
||||
from django.http import HttpResponse
|
||||
from django.conf import settings
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from django.parts.auth.formfields import AuthenticationForm
|
||||
from django import forms
|
||||
from django.core.extensions import render_to_response
|
||||
from django.shortcuts import render_to_response
|
||||
from django.template import RequestContext
|
||||
from django.contrib.auth.models import SESSION_KEY
|
||||
from django.contrib.sites.models import Site
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from django.core.extensions import render_to_response
|
||||
from django.shortcuts import render_to_response
|
||||
from django.template import RequestContext
|
||||
from django.http import HttpResponse, HttpResponsePermanentRedirect, HttpResponseGone
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from django import forms
|
||||
from django.core import validators
|
||||
from django.core.extensions import render_to_response
|
||||
from django.shortcuts import render_to_response
|
||||
from django.template import Context, RequestContext, loader
|
||||
from django.contrib.auth.models import User
|
||||
from django.contrib.sites.models import Site
|
||||
|
|
Loading…
Reference in New Issue