Skip to content

Commit 9553e52

Browse files
committed
Fix files
1 parent 39e1adf commit 9553e52

File tree

4 files changed

+20
-23
lines changed

4 files changed

+20
-23
lines changed

docs/advanced.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ If you insert ``.non_polymorphic()`` anywhere into the query chain, then
136136
django_polymorphic will simply leave out the final step of retrieving the
137137
real objects, and the manager/queryset will return objects of the type of
138138
the base class you used for the query, like vanilla Django would
139-
(``ModelA`` in this example).
139+
(``ModelA`` in this example).
140140

141141
>>> qs=ModelA.objects.non_polymorphic().all()
142142
>>> qs
@@ -188,7 +188,7 @@ About Queryset Methods
188188
* ``values()`` & ``values_list()`` currently do not return polymorphic
189189
results. This may change in the future however. If you want to use these
190190
methods now, it's best if you use ``Model.base_objects.values...`` as
191-
this is guaranteed to not change.
191+
this is guaranteed to not change.
192192

193193
* ``defer()`` and ``only()`` work as expected. On Django 1.5+ they support
194194
the ``ModelX___field`` syntax, but on Django 1.4 it is only possible to
@@ -252,7 +252,7 @@ Restrictions & Caveats
252252
the resulting objects are required to have a unique primary key within
253253
the result set.
254254

255-
* Diamond shaped inheritance: There seems to be a general problem
255+
* Diamond shaped inheritance: There seems to be a general problem
256256
with diamond shaped multiple model inheritance with Django models
257257
(tested with V1.1 - V1.3).
258258
An example is here: http://code.djangoproject.com/ticket/10808.
@@ -288,4 +288,3 @@ Restrictions & Caveats
288288
- http://groups.google.com/group/django-users/browse_thread/thread/52f72cffebb705e/bc18c18b2e83881e?lnk=gst&q=model+inheritance#bc18c18b2e83881e
289289
- http://code.djangoproject.com/ticket/10808
290290
- http://code.djangoproject.com/ticket/7270
291-

docs/api/polymorphic.admin.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,3 @@ These classes are useful when existing parts of the admin classes.
9090

9191
.. autoclass:: polymorphic.admin.PolymorphicInlineAdminFormSet
9292
:show-inheritance:
93-

docs/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,3 @@ Indices and tables
8181
* :ref:`genindex`
8282
* :ref:`modindex`
8383
* :ref:`search`
84-

example/pexp/dumpdata_test_correct_output.txt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
[
22
{
3-
"pk": 1,
4-
"model": "pexp.project",
3+
"pk": 1,
4+
"model": "pexp.project",
55
"fields": {
6-
"topic": "John's gathering",
6+
"topic": "John's gathering",
77
"polymorphic_ctype": 2
88
}
9-
},
9+
},
1010
{
11-
"pk": 2,
12-
"model": "pexp.project",
11+
"pk": 2,
12+
"model": "pexp.project",
1313
"fields": {
14-
"topic": "Sculpting with Tim",
14+
"topic": "Sculpting with Tim",
1515
"polymorphic_ctype": 3
1616
}
17-
},
17+
},
1818
{
19-
"pk": 3,
20-
"model": "pexp.project",
19+
"pk": 3,
20+
"model": "pexp.project",
2121
"fields": {
22-
"topic": "Swallow Aerodynamics",
22+
"topic": "Swallow Aerodynamics",
2323
"polymorphic_ctype": 4
2424
}
25-
},
25+
},
2626
{
27-
"pk": 2,
28-
"model": "pexp.artproject",
27+
"pk": 2,
28+
"model": "pexp.artproject",
2929
"fields": {
3030
"artist": "T. Turner"
3131
}
32-
},
32+
},
3333
{
34-
"pk": 3,
35-
"model": "pexp.researchproject",
34+
"pk": 3,
35+
"model": "pexp.researchproject",
3636
"fields": {
3737
"supervisor": "Dr. Winter"
3838
}

0 commit comments

Comments
 (0)