diff --git a/.gitignore b/.gitignore index f13af1c..a8acde2 100644 --- a/.gitignore +++ b/.gitignore @@ -167,7 +167,7 @@ output/*/index.html # Testing artifacts junit-*.xml flake8-errors.txt - +example/media/ # Documentation building _build doc_src/api/categories*.rst diff --git a/categories/tests/test_templatetags.py b/categories/tests/test_templatetags.py index ffe967c..2d419a3 100644 --- a/categories/tests/test_templatetags.py +++ b/categories/tests/test_templatetags.py @@ -45,7 +45,7 @@ class CategoryTagsTest(TestCase): self.assertEqual(resp, expected_resp) # breadcrumbs - expected_resp = 'World > Worldbeat' + expected_resp = 'World > Worldbeat\n' resp = self.render_template( "{% load category_tags %}" '{% breadcrumbs "/World/Worldbeat" " > " "categories.category" %}' ) diff --git a/example/settings-testing.py b/example/settings-testing.py index ba91a32..2105458 100644 --- a/example/settings-testing.py +++ b/example/settings-testing.py @@ -42,7 +42,7 @@ INSTALLED_APPS = ( ) TIME_ZONE = "America/Chicago" - +DEFAULT_AUTO_FIELD = "django.db.models.AutoField" LANGUAGE_CODE = "en-us" SITE_ID = 1