magic-removal: updated tests to reflect new location of django.core.template
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7f354d91de
commit
fe02b0e998
|
@ -322,7 +322,7 @@ False
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from django.core.template.defaultfilters import *
|
from django.template.defaultfilters import *
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Quick tests for the markup templatetags (django.contrib.markup)
|
# Quick tests for the markup templatetags (django.contrib.markup)
|
||||||
|
|
||||||
from django.core.template import Template, Context, add_to_builtins
|
from django.template import Template, Context, add_to_builtins
|
||||||
|
|
||||||
add_to_builtins('django.contrib.markup.templatetags.markup')
|
add_to_builtins('django.contrib.markup.templatetags.markup')
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
|
|
||||||
from django.core import template
|
from django import template
|
||||||
from django.core.template import loader
|
from django.template import loader
|
||||||
from django.utils.translation import activate, deactivate, install
|
from django.utils.translation import activate, deactivate, install
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue