Gregory Avery-Weir
a68eb0015e
Update quickstart for Django 1.9 compatibility
2016-01-25 11:32:42 -05:00
Diederik van der Boor
5c4ee7484e
Merge pull request #190 from amuttsch/amuttsch-doc-pk-regex
...
Mention pk_regex in docs when using non-int pk
2016-01-03 10:17:44 +01:00
Diederik van der Boor
f10b5d23c8
Merge pull request #186 from gilgamezh/allow_extra_manager
...
Allow to set a 'extra' custom manager withut override the default
2016-01-03 10:15:41 +01:00
Diederik van der Boor
0df80488cb
Merge pull request #178 from jonashaag/patch-1
...
Test Django 1.8 with Python 3.5
2016-01-03 10:13:48 +01:00
Andreas
d566fb4674
Mention pk_regex in docs when using non-int pk
2015-12-30 09:05:34 +01:00
gilgamezh
b17aa58ad9
Merge remote-tracking branch 'upstream/master' into allow_extra_manager
2015-12-29 17:49:09 -03:00
Diederik van der Boor
e9f549758f
Bump version to 0.8.1
2015-12-29 14:55:25 +01:00
Diederik van der Boor
b0657ef9c7
Fix reverse relation support for ___ filter operator
2015-12-29 14:52:58 +01:00
Diederik van der Boor
137139f2bb
Fix other PEP8 issues in assorted files
2015-12-28 17:39:04 +01:00
Diederik van der Boor
f90e87afcc
docs: highlight BACKWARDS INCOMPATIBILITY
2015-12-28 17:34:25 +01:00
Diederik van der Boor
156968b12b
Bump version to 0.8
2015-12-28 17:19:37 +01:00
Diederik van der Boor
7d4f9dd9ae
docs: update changelog on how to to port to 0.8
2015-12-28 17:18:40 +01:00
Diederik van der Boor
009069a32b
Avoid auto-proxying all methods to the queryset.
...
This is unwanted behavior, and django provides much better methods for
it instead. (PolymorphicQuerySet.as_manager() / PolymorphicManager.from_queryset()
2015-12-28 17:10:58 +01:00
Diederik van der Boor
9e2c11beb8
Replace __version__.py with __init__.py
...
Also fixes reporting in sentry.
2015-12-28 17:10:42 +01:00
Diederik van der Boor
5191b6c130
Also remove showfields imports from __init__.py
...
If we're to cause pain, let it be once.
2015-12-28 17:10:42 +01:00
Diederik van der Boor
50f21dfa43
Rename manager.py => managers.py for consistency
2015-12-28 17:10:42 +01:00
Diederik van der Boor
c2b7e75125
Improve runtests.py to run specific tests
2015-12-28 16:20:12 +01:00
Diederik van der Boor
07242d210f
Fix "Model" __ "_field" query support
...
Broken by 24e6b21204 for Django 1.9
upgrade
2015-12-28 16:19:27 +01:00
Diederik van der Boor
4e5ac03412
Fix running example management commands in Django 1.9
2015-12-28 15:28:37 +01:00
Diederik van der Boor
b7431b2d06
Fix PEP8 block comment issues (E265)
2015-12-28 15:16:42 +01:00
Diederik van der Boor
aaf06c71a5
Fix PEP8 whitespace issues
...
autopep8 -r polymorphic/ example/ -i
--select=E112,E113,E115,E116,E122,E123,E125,E127,E128,E201,E202,E203,E211,E225,E226,E227,E228,E231,E251,E261,E262,E271,E272,E273,E274,E301,E302,E303,E304,E309,E711,E713,W291,W293,W391
--exclude migrations,south_migrations
(line conditiation fixes: E123,E125,E122,E127,E128)
2015-12-28 15:16:29 +01:00
Diederik van der Boor
f656ec438e
docs: add showfields import change
2015-12-28 14:50:37 +01:00
Diederik van der Boor
7b4939bb3f
tox.ini: add spaces
2015-12-28 14:49:03 +01:00
gilgamezh
f419e37ab3
Allow to set a 'extra' custom manager withut override the _default_manager
2015-12-23 21:07:44 -03:00
Jonas Haag
f9920bfa14
Test Django 1.8 with Python 3.5
...
Django's latest 1.8.X minor supports Python 3.5.
2015-12-17 13:18:54 +01:00
Diederik van der Boor
a01fd92d1c
perform Django 1.9 tests on final release, add to tox too
2015-12-16 15:59:25 +01:00
Diederik van der Boor
999775c2d5
Merge pull request #170 from hobarrera/django19
...
Django19
2015-12-16 15:57:29 +01:00
Hugo Osvaldo Barrera
8200f91603
Add myself to AUTHORS
2015-12-16 10:31:36 -03:00
Jonas Haag
1d0302e4a1
Travis: Add Python 3.5 and Django 1.9
2015-12-16 10:31:36 -03:00
Jonas Haag
4da67a0fb6
Fix an issue with '.values()' queries
2015-12-16 10:31:36 -03:00
Jonas Haag
0b87a5ecc8
Fixed a Python >= 3.7 incompatibility (see PEP 479)
2015-12-16 10:31:36 -03:00
Jonas Haag
ee2e0a95ea
Extend comment about admin URL patching
2015-12-16 10:31:36 -03:00
Hugo Osvaldo Barrera
17583d15b3
Add an example that reproduces a pending issue
...
This should help make testing easier and should server as a reference
for something we'll want to write a test for in future.
2015-12-16 10:31:36 -03:00
Hugo Osvaldo Barrera
fb32b97b37
Remove obsolete compatibility code comment
2015-12-16 10:31:36 -03:00
Hugo Osvaldo Barrera
e73a4662c3
Prevent infinite redirection on django1.9
...
See here[1] as to why this is an issue, and why we can skip the avoided
code on django>=1.9.
[1]: https://docs.djangoproject.com/en/1.9/releases/1.9/#django-contrib-admin
2015-12-16 10:31:36 -03:00
Hugo Osvaldo Barrera
f28b0b5172
Update migrations
...
No backwards-compatibility here! Just dump your old base! :D
2015-12-16 10:31:36 -03:00
Hugo Osvaldo Barrera
59679f3a4b
Run tests on py35 as well
2015-12-16 10:31:36 -03:00
Jonas Haag
6cf187b2de
Fix Django < 1.8 compatibility
2015-12-16 10:31:36 -03:00
Jonas Haag
24e6b21204
Fix a handful of warnings and remove some unused compatibility code
2015-12-16 10:31:36 -03:00
Hugo Osvaldo Barrera
977c73c4c3
Make runtests compatible with older django versions again
2015-12-16 10:31:36 -03:00
Hugo Osvaldo Barrera
adcad20b48
Update all tests (and runtests.py)
2015-12-16 10:31:36 -03:00
Hugo Osvaldo Barrera
b996d1c377
Avoid broken references to declared_fieldset
...
Check if this attribute exists first, since it does not in recent django
versions.
2015-12-16 10:31:33 -03:00
Hugo Osvaldo Barrera
a779187012
Add migrations for example app
...
Since running the app requires database initialization, it makes sense
to bundle these.
2015-10-21 22:27:18 -03:00
Hugo Osvaldo Barrera
ad5ce60158
Remove reference to obsolete request.REQUEST
2015-10-21 22:27:00 -03:00
Hugo Osvaldo Barrera
31bfe8d1e7
Remove deprecated django.conf.urls.patterns
2015-10-21 22:18:21 -03:00
Hugo Osvaldo Barrera
d4f061de8b
Update documentation to reflect recent changes
2015-10-21 22:16:35 -03:00
Hugo Osvaldo Barrera
c48d4f589b
Don't import models and managers in __init__
...
This is deprecated as of django 1.8, and does not work as of django 1.9.
2015-10-21 22:11:06 -03:00
Diederik van der Boor
6a86a5ce91
Merge pull request #165 from fusionbox/django-1.9
...
Django 1.9 Fixes
2015-10-20 16:40:57 +02:00
Gavin Wahl
0c940bd795
SingleRelatedObjectDescriptor was renamed in Django 1.9
2015-10-13 13:22:13 -06:00
Diederik van der Boor
37d3f3ea1e
Merge pull request #167 from gonzalobustos/master
...
add spanish translation
2015-10-13 11:48:55 +02:00