mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Capitalized "Python" in docs and comments.
This commit is contained in:
parent
31c0348687
commit
e90af8bad4
13 changed files with 13 additions and 13 deletions
|
@ -138,7 +138,7 @@ class InspectDBTestCase(TestCase):
|
|||
out = StringIO()
|
||||
call_command('inspectdb', table_name_filter=inspectdb_tables_only, stdout=out)
|
||||
output = out.getvalue()
|
||||
error_message = "inspectdb generated an attribute name which is a python keyword"
|
||||
error_message = "inspectdb generated an attribute name which is a Python keyword"
|
||||
# Recursive foreign keys should be set to 'self'
|
||||
self.assertIn("parent = models.ForeignKey('self', models.DO_NOTHING)", output)
|
||||
self.assertNotIn(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue