summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Griffith <blake.a.griffith@gmail.com>2016-02-03 12:42:48 +0200
committerTim Graham <timograham@gmail.com>2016-02-03 09:48:01 -0500
commitdaa80aceeca4f0f2a641c23df70c99013dfe0bf6 (patch)
tree7070d1289957afb17ceabe6169e78acc00a05fa0
parenta201df396e76875936ba94f704be8a7fd20be576 (diff)
[1.9.x] Changed gypsy to manouche in docs and tests.
"Gypsy" is considered a slur by the Romani people whom it refers to. "manouche jazz" is used in place of "gypsy jazz" and is an accepted term for the same genre of music. Backport of 5fdbd9e36c861cb9f2cdb255a1bf693de8876f6b from master
-rw-r--r--docs/faq/general.txt2
-rw-r--r--docs/ref/applications.txt8
-rw-r--r--docs/spelling_wordlist1
-rw-r--r--tests/admin_filters/tests.py19
4 files changed, 15 insertions, 15 deletions
diff --git a/docs/faq/general.txt b/docs/faq/general.txt
index cb31e8b6ab..22d37fe7db 100644
--- a/docs/faq/general.txt
+++ b/docs/faq/general.txt
@@ -32,7 +32,7 @@ thrilled to be able to give something back to the open-source community.
What does "Django" mean, and how do you pronounce it?
=====================================================
-Django is named after `Django Reinhardt`_, a gypsy jazz guitarist from the 1930s
+Django is named after `Django Reinhardt`_, a jazz manouche guitarist from the 1930s
to early 1950s. To this day, he's considered one of the best guitarists of all time.
Listen to his music. You'll like it.
diff --git a/docs/ref/applications.txt b/docs/ref/applications.txt
index 5768858dba..3271f494a0 100644
--- a/docs/ref/applications.txt
+++ b/docs/ref/applications.txt
@@ -132,20 +132,20 @@ For application users
---------------------
If you're using "Rock ’n’ roll" in a project called ``anthology``, but you
-want it to show up as "Gypsy jazz" instead, you can provide your own
+want it to show up as "Jazz Manouche" instead, you can provide your own
configuration::
# anthology/apps.py
from rock_n_roll.apps import RockNRollConfig
- class GypsyJazzConfig(RockNRollConfig):
- verbose_name = "Gypsy jazz"
+ class JazzManoucheConfig(RockNRollConfig):
+ verbose_name = "Jazz Manouche"
# anthology/settings.py
INSTALLED_APPS = [
- 'anthology.apps.GypsyJazzConfig',
+ 'anthology.apps.JazzManoucheConfig',
# ...
]
diff --git a/docs/spelling_wordlist b/docs/spelling_wordlist
index 69f7ff24e4..e75704177c 100644
--- a/docs/spelling_wordlist
+++ b/docs/spelling_wordlist
@@ -453,6 +453,7 @@ Magee
makemessages
makemigrations
Mako
+manouche
Mapnik
Marczewski
Marino
diff --git a/tests/admin_filters/tests.py b/tests/admin_filters/tests.py
index af189ba0e1..f118750351 100644
--- a/tests/admin_filters/tests.py
+++ b/tests/admin_filters/tests.py
@@ -259,12 +259,11 @@ class ListFiltersTests(TestCase):
title='The Django Book', year=None, author=self.bob,
is_best_seller=None, date_registered=self.today, no=103,
)
- self.gipsy_book = Book.objects.create(
- title='Gipsy guitar for dummies', year=2002, is_best_seller=True,
+ self.guitar_book = Book.objects.create(
+ title='Guitar for dummies', year=2002, is_best_seller=True,
date_registered=self.one_week_ago,
)
- self.gipsy_book.contributors = [self.bob, self.lisa]
- self.gipsy_book.save()
+ self.guitar_book.contributors.set([self.bob, self.lisa])
# Departments
self.dev = Department.objects.create(code='DEV', description='Development')
@@ -318,7 +317,7 @@ class ListFiltersTests(TestCase):
queryset = changelist.get_queryset(request)
if (self.today.year, self.today.month) == (self.one_week_ago.year, self.one_week_ago.month):
# In case one week ago is in the same month.
- self.assertEqual(list(queryset), [self.gipsy_book, self.django_book, self.djangonaut_book])
+ self.assertEqual(list(queryset), [self.guitar_book, self.django_book, self.djangonaut_book])
else:
self.assertEqual(list(queryset), [self.django_book, self.djangonaut_book])
@@ -343,7 +342,7 @@ class ListFiltersTests(TestCase):
queryset = changelist.get_queryset(request)
if self.today.year == self.one_week_ago.year:
# In case one week ago is in the same year.
- self.assertEqual(list(queryset), [self.gipsy_book, self.django_book, self.djangonaut_book])
+ self.assertEqual(list(queryset), [self.guitar_book, self.django_book, self.djangonaut_book])
else:
self.assertEqual(list(queryset), [self.django_book, self.djangonaut_book])
@@ -368,7 +367,7 @@ class ListFiltersTests(TestCase):
# Make sure the correct queryset is returned
queryset = changelist.get_queryset(request)
- self.assertEqual(list(queryset), [self.gipsy_book, self.django_book, self.djangonaut_book])
+ self.assertEqual(list(queryset), [self.guitar_book, self.django_book, self.djangonaut_book])
# Make sure the correct choice is selected
filterspec = changelist.get_filters(request)[0][4]
@@ -452,7 +451,7 @@ class ListFiltersTests(TestCase):
# Make sure the correct queryset is returned
queryset = changelist.get_queryset(request)
- self.assertEqual(list(queryset), [self.gipsy_book])
+ self.assertEqual(list(queryset), [self.guitar_book])
# Make sure the last choice is None and is selected
filterspec = changelist.get_filters(request)[0][1]
@@ -641,7 +640,7 @@ class ListFiltersTests(TestCase):
# Make sure the correct queryset is returned
queryset = changelist.get_queryset(request)
- self.assertEqual(list(queryset), [self.gipsy_book, self.djangonaut_book])
+ self.assertEqual(list(queryset), [self.guitar_book, self.djangonaut_book])
# Make sure the correct choice is selected
filterspec = changelist.get_filters(request)[0][3]
@@ -742,7 +741,7 @@ class ListFiltersTests(TestCase):
# Make sure the correct queryset is returned
queryset = changelist.get_queryset(request)
- self.assertEqual(list(queryset), [self.gipsy_book, self.djangonaut_book])
+ self.assertEqual(list(queryset), [self.guitar_book, self.djangonaut_book])
# Make sure the correct choice is selected
filterspec = changelist.get_filters(request)[0][1]