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:
Joseph Kocherhans 2006-01-18 19:02:35 +00:00
parent 5f2ffee66e
commit 471bae17fa
13 changed files with 12 additions and 12 deletions

View File

@ -6,7 +6,7 @@ from django.db.models.query import handle_legacy_orderlist
from django.http import HttpResponse, HttpResponseRedirect from django.http import HttpResponse, HttpResponseRedirect
from django.core.paginator import ObjectPaginator, InvalidPage from django.core.paginator import ObjectPaginator, InvalidPage
from django.template import RequestContext as Context 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 from django.utils.dates import MONTHS
# The system will display a "Show all" link only if the total result count # The system will display a "Show all" link only if the total result count

View File

@ -1,7 +1,7 @@
from django import http, template from django import http, template
from django.conf import settings from django.conf import settings
from django.contrib.auth.models import User, SESSION_KEY 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 from django.utils.translation import gettext_lazy
import base64, datetime, md5 import base64, datetime, md5
import cPickle as pickle import cPickle as pickle

View File

@ -3,7 +3,7 @@ from django.template import RequestContext
from django.conf import settings from django.conf import settings
from django.contrib.admin.views.decorators import staff_member_required from django.contrib.admin.views.decorators import staff_member_required
from django.db import models 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.core.exceptions import ViewDoesNotExist
from django.http import Http404 from django.http import Http404
from django.core import urlresolvers from django.core import urlresolvers

View File

@ -2,7 +2,7 @@ from django import forms, template
from django.conf import settings from django.conf import settings
from django.contrib.admin.views.decorators import staff_member_required from django.contrib.admin.views.decorators import staff_member_required
from django.core.exceptions import ImproperlyConfigured, ObjectDoesNotExist, PermissionDenied 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 import models
from django.db.models.fields import BoundField, BoundFieldLine, BoundFieldSet from django.db.models.fields import BoundField, BoundFieldLine, BoundFieldSet
from django.http import Http404, HttpResponse, HttpResponseRedirect from django.http import Http404, HttpResponse, HttpResponseRedirect

View File

@ -2,7 +2,7 @@ from django.contrib.admin.views.decorators import staff_member_required
from django.core import validators from django.core import validators
from django import template, forms from django import template, forms
from django.template import loader 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.contrib.sites.models import Site
from django.conf import settings from django.conf import settings

View File

@ -3,7 +3,7 @@ from django import forms
from django.core.mail import mail_admins, mail_managers from django.core.mail import mail_admins, mail_managers
from django.http import Http404 from django.http import Http404
from django.core.exceptions import ObjectDoesNotExist 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.template import RequestContext
from django.contrib.auth.models import SESSION_KEY 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 from django.contrib.comments.models import Comment, FreeComment, PHOTOS_REQUIRED, PHOTOS_OPTIONAL, RATINGS_REQUIRED, RATINGS_OPTIONAL, IS_PUBLIC

View File

@ -1,5 +1,5 @@
from django.http import Http404 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.template import RequestContext
from django.models.comments import comments, karma from django.models.comments import comments, karma

View File

@ -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.template import RequestContext
from django.http import Http404 from django.http import Http404
from django.models.comments import comments, moderatordeletions, userflags from django.models.comments import comments, moderatordeletions, userflags

View File

@ -1,6 +1,6 @@
from django.contrib.flatpages.models import FlatPage from django.contrib.flatpages.models import FlatPage
from django.template import loader, RequestContext 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.http import HttpResponse
from django.conf import settings from django.conf import settings

View File

@ -1,6 +1,6 @@
from django.parts.auth.formfields import AuthenticationForm from django.parts.auth.formfields import AuthenticationForm
from django import forms 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.template import RequestContext
from django.contrib.auth.models import SESSION_KEY from django.contrib.auth.models import SESSION_KEY
from django.contrib.sites.models import Site from django.contrib.sites.models import Site

View File

@ -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.template import RequestContext
from django.http import HttpResponse, HttpResponsePermanentRedirect, HttpResponseGone from django.http import HttpResponse, HttpResponsePermanentRedirect, HttpResponseGone

View File

@ -1,6 +1,6 @@
from django import forms from django import forms
from django.core import validators 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.template import Context, RequestContext, loader
from django.contrib.auth.models import User from django.contrib.auth.models import User
from django.contrib.sites.models import Site from django.contrib.sites.models import Site