1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Cleaned whitespace errors introduced in previous commit

This commit is contained in:
Anssi Kääriäinen
2012-06-08 23:52:43 +03:00
parent b6d533af4d
commit a035d9d650
3 changed files with 16 additions and 16 deletions

View File

@@ -72,11 +72,11 @@ tag's content.
Retreival of ``ContentType`` instances associated with proxy models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The methods :meth:`ContentTypeManager.get_for_model() <django.contrib.contenttypes.models.ContentTypeManager.get_for_model()>`
and :meth:`ContentTypeManager.get_for_models() <django.contrib.contenttypes.models.ContentTypeManager.get_for_models()>`
have a new keyword argument respectively ``for_concrete_model`` and ``for_concrete_models``.
The methods :meth:`ContentTypeManager.get_for_model() <django.contrib.contenttypes.models.ContentTypeManager.get_for_model()>`
and :meth:`ContentTypeManager.get_for_models() <django.contrib.contenttypes.models.ContentTypeManager.get_for_models()>`
have a new keyword argument respectively ``for_concrete_model`` and ``for_concrete_models``.
By passing ``False`` using this argument it is now possible to retreive the
:class:`ContentType <django.contrib.contenttypes.models.ContentType>`
:class:`ContentType <django.contrib.contenttypes.models.ContentType>`
associated with proxy models.
Minor features