diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py
index e539675..4824fac 100644
a
|
b
|
class VersionDirective(Directive):
|
64 | 64 | option_spec = {} |
65 | 65 | |
66 | 66 | def run(self): |
| 67 | if len(self.arguments) > 1: |
| 68 | raise ValueError("Only one argument accepted for directive 'versionchanged::'. " |
| 69 | "Comments should be provided as content, not as an extra argument.") |
| 70 | |
67 | 71 | env = self.state.document.settings.env |
68 | 72 | ret = [] |
69 | 73 | node = addnodes.versionmodified() |
70 | 74 | ret.append(node) |
| 75 | |
71 | 76 | if self.arguments[0] == env.config.django_next_version: |
72 | 77 | node['version'] = "Development version" |
73 | 78 | else: |
74 | 79 | node['version'] = self.arguments[0] |
| 80 | |
75 | 81 | node['type'] = self.name |
76 | | if len(self.arguments) == 2: |
77 | | inodes, messages = self.state.inline_text(self.arguments[1], self.lineno+1) |
78 | | node.extend(inodes) |
79 | | if self.content: |
80 | | self.state.nested_parse(self.content, self.content_offset, node) |
81 | | ret = ret + messages |
| 82 | if self.content: |
| 83 | self.state.nested_parse(self.content, self.content_offset, node) |
82 | 84 | env.note_versionchange(node['type'], node['version'], node, self.lineno) |
83 | 85 | return ret |
84 | 86 | |
diff --git a/docs/howto/legacy-databases.txt b/docs/howto/legacy-databases.txt
index 6846e4b..4522ca0 100644
a
|
b
|
access to your precious data on a model by model basis.
|
75 | 75 | |
76 | 76 | .. versionchanged:: 1.6 |
77 | 77 | |
78 | | The behavior by which introspected models are created as unmanaged ones is new |
79 | | in Django 1.6. |
| 78 | The behavior by which introspected models are created as unmanaged ones is new |
| 79 | in Django 1.6. |
80 | 80 | |
81 | 81 | Install the core Django tables |
82 | 82 | ============================== |