Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to DJango 1.0 (hat tip: Amit Chakradeo (अमित चक्रदेव))

  • Loading branch information...
commit bc72bf572f15910d8853ebca01a442ef88dcaa69 1 parent cc11181
@rubys authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  planet/shell/dj.py
  2. +1 −1  tests/test_filter_django.py
View
1  planet/shell/dj.py
@@ -19,6 +19,7 @@ def run(script, doc, output_file=None, options={}):
# I need to re-import the settings at every call because I have to
# set the TEMPLATE_DIRS variable programmatically
from django.conf import settings
+ settings._wrapped=None
try:
settings.configure(
DEBUG=True, TEMPLATE_DEBUG=True,
View
2  tests/test_filter_django.py
@@ -24,7 +24,7 @@ def test_django_entry_title(self):
input = feed.read(); feed.close()
results = dj.run(
os.path.realpath('tests/data/filter/django/title.html.dj'), input)
- self.assertEqual(results, "\xc2\xa1Atom-Powered Robots Run Amok!\n")
+ self.assertEqual(results, u"\xa1Atom-Powered Robots Run Amok!\n")
def test_django_config_context(self):
config.load('tests/data/filter/django/test.ini')
Please sign in to comment.
Something went wrong with that request. Please try again.