aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/changelog.rst8
-rw-r--r--docs/conf.py11
2 files changed, 15 insertions, 4 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst
index a08330f..6489176 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -19,11 +19,13 @@ ChangeLog
*Bugfix*
- - Properly handle non-integer pks in :class:`~factory.django.DjangoModelFactory` (#57).
+ - Properly handle non-integer pks in :class:`~factory.django.DjangoModelFactory` (:issue:`57`).
+ - Disable :class:`~factory.RelatedFactory` generation when a specific value was
+ passed (:issue:`62`, thanks to `Gabe Koscky <https://github.com/dhekke>`_)
*Deprecation:*
- - Rename :class:`~factory.RelatedFactory`'s ``name`` argument to ``factory_related_name`` (See #58)
+ - Rename :class:`~factory.RelatedFactory`'s ``name`` argument to ``factory_related_name`` (See :issue:`58`)
2.0.2 (2013-04-16)
------------------
@@ -57,7 +59,7 @@ ChangeLog
through :attr:`~factory.django.DjangoModelFactory.FACTORY_DJANGO_GET_OR_CREATE`.
- Add support for :mod:`~factory.fuzzy` attribute definitions.
- The :class:`Sequence` counter can be overridden when calling a generating function
- - Add :class:`~factory.Dict` and :class:`~factory.List` declarations (Closes #18).
+ - Add :class:`~factory.Dict` and :class:`~factory.List` declarations (Closes :issue:`18`).
*Removed:*
diff --git a/docs/conf.py b/docs/conf.py
index 0ccaf29..ee6a739 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,7 +26,16 @@ sys.path.insert(0, os.path.dirname(os.path.abspath('.')))
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode']
+extensions = [
+ 'sphinx.ext.autodoc',
+ 'sphinx.ext.extlinks',
+ 'sphinx.ext.intersphinx',
+ 'sphinx.ext.viewcode',
+]
+
+extlinks = {
+ 'issue': ('https://github.com/rbarrois/factory_boy/issues/%s', 'issue #'),
+}
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']