Chad Shryock
cc53b3003e
Remove exception.
2014-09-17 08:30:12 -04:00
Chad Shryock
b9654b7138
Missing return.
2014-09-17 08:26:28 -04:00
Chad Shryock
734752c2e7
Django 1.7 upgrades
2014-09-16 22:11:13 -04:00
Chad Shryock
af4843e54b
Cleared up the Django 1.8 Warning messages.
2014-09-10 23:13:51 -04:00
Ben Konrath
ec5ce49d81
Use consistent labels in admin.
2014-08-04 15:05:13 +02:00
Diederik van der Boor
14df8c529e
Move the get_permission_codename import to the main code.
...
cc #93
2014-07-29 12:15:09 +02:00
Kevin Armenat
029bb2ae1a
added django < 1.6 compatibilty for permission codename generation
2014-07-29 11:15:38 +02:00
Kevin Armenat
6ce390f777
added permission check for all child types
2014-07-29 09:47:23 +02:00
Diederik van der Boor
831075c3c7
bump version to 0.5.6
2014-07-21 11:42:26 +02:00
Jacob Rief
62e7940c33
Fixed: adding polymoric model with django-parler did not work
2014-07-18 18:26:51 +02:00
Diederik van der Boor
d8b40167d3
Mention the improvements of #87 in the changelog and documentation too.
2014-07-08 17:18:07 +02:00
Andrew
d8d6f07f71
Adds pk_regex attr in PolymorphicParentModelAdmin
2014-07-08 18:05:04 +03:00
Diederik van der Boor
8a548ca829
bump version to 0.5.5
2014-04-29 14:11:58 +02:00
Diederik van der Boor
b9d7e9f234
Improved description of test_proxy_get_real_instance_class unit test
...
Camp life rule: leave things better then you found them.
2014-04-29 14:07:33 +02:00
John Furr
8687e135a3
Test that proxy models derived from PolyMorphicBase classes
...
can call get_real_instance() and get_real_instance_class()
Includes:
def test_proxy_get_real_instance_class(self):
2014-04-29 07:35:27 -04:00
John Furr
f85ebdd9e6
Fix get_real_instance_class for proxy models
2014-04-28 11:32:30 -04:00
utapyngo
e1a4ba80e9
Fixed typo: CopntentType
2014-04-18 19:17:23 +07:00
Diederik van der Boor
6c58acac8d
bump version and changelog
2014-04-09 12:11:29 +02:00
Diederik van der Boor
35cdb7b697
Fix subclass protection when ContentType is stale
2014-04-07 14:38:34 +02:00
Diederik van der Boor
e8d5ce6231
Add protection against mixed up ContentType tables
2014-04-04 15:28:47 +02:00
Diederik van der Boor
b5774423f7
Improve on #69 , using setdefault() and update example project
...
Camp site rule; leave things tidier than you found them :)
2014-04-03 14:27:56 +02:00
Diederik van der Boor
08e900eb6d
Merge pull request #69 from borgstrom/django16
...
Prevent infinite recursion in Django 1.6
2014-04-03 14:24:52 +02:00
Diederik van der Boor
157f6b1057
Fix missing ``alters_data = True`` annotations.
2014-04-03 14:10:53 +02:00
Evan Borgstrom
d93add71fb
Be more specific in the condition before setting 'fields'
2014-03-13 16:50:25 -04:00
Evan Borgstrom
134c44bef0
Prevent infinite recursion in Django 1.6
2014-03-13 16:39:13 -04:00
Diederik van der Boor
4be6d42fad
Optimize NewBase test of six.with_metaclass() for Django 1.5+
2014-02-13 10:43:33 +01:00
Bertrand Bordage
ed708c69c6
Adds a french translation.
2013-11-29 18:18:55 +01:00
Diederik van der Boor
e1093ff1fb
Fix .non_polymorphic(), returns a copy of the queryset
...
Just like .filter() and such do.
2013-09-19 19:36:05 +02:00
Diederik van der Boor
61e9a8050a
Bump version to 0.5.3
2013-09-17 11:33:56 +02:00
Diederik van der Boor
a8d27ca94e
Pass ``/admin/app/model/ID/...`` URLs to the correct admin backend.
...
Using the ID field, the correct ``ct_id`` parameter can already be
determined.
2013-09-17 11:02:38 +02:00
Diederik van der Boor
e0446bd76c
Fix TypeError when ``base_form`` was not defined.
2013-09-17 10:50:46 +02:00
Diederik van der Boor
b622d6f6a1
Bump version to 0.5.2
2013-09-05 11:38:26 +02:00
Diederik van der Boor
638ecd5813
Fix admin validation errors related to additional non-model form fields.
2013-09-05 11:36:54 +02:00
Diederik van der Boor
b2be0701ca
Fix missing permission check in the "add type" view.
...
The permissions were checked in the next step,
so this didn't cause a security issue.
2013-08-20 12:07:29 +02:00
Diederik van der Boor
9d00d214e1
Fix unwanted `___` handling when a fieldname starts with an underscore.
2013-07-22 10:21:00 +02:00
Diederik van der Boor
d16f2d7590
Add changelog entry for Grappelli fix.
2013-07-18 21:17:00 +02:00
Bertrand Bordage
2421f10ab5
Simplifies the two remaining templates (for grappelli support).
2013-07-18 16:38:14 +02:00
Bertrand Bordage
40eeb15fad
Simplifies add_type_form.html. See #38 .
2013-06-07 13:39:33 +02:00
Gavin Wahl
1958146f10
Increase version and add django 1.6 support to the changelog
2013-05-24 15:37:01 -06:00
Gavin Wahl
7f2111c201
assertQuerysetEquals requires an ordered queryset
2013-05-24 15:17:44 -06:00
Gavin Wahl
71767431eb
Django 1.6 support
...
CHUNK_SIZE has been removed from Django, so set it ourself if it can't
be imported.
2013-05-24 15:13:34 -06:00
Diederik van der Boor
ff22332d2c
Remove Django 1.1 compatibility switch
2013-05-20 23:54:45 +02:00
Diederik van der Boor
fed810b336
Update version numbers for 0.5 release
2013-05-20 18:03:35 +02:00
Diederik van der Boor
83238697d2
Setup.py: update trove classifiers, read version from code.
2013-05-20 17:12:38 +02:00
Diederik van der Boor
4d7d33ed0d
Port new code to Python 3 as well, fix six.with_metaclass() issues
...
Many thanks to @atheiste for the big porting steps!
2013-05-20 16:03:21 +02:00
Tomas Peterka
cbf52a61af
Porting to Python 3.2
...
Removed compatibility_tools (because we aim to Python 2.7 and Python 3.2)
Performed 2to3 and modified
Usage of django.utils.six which adds dependency on Django >= 1.4.2
2013-05-20 16:03:21 +02:00
Diederik van der Boor
c933be9c24
Port documentation to Sphinx, cleanup README
2013-05-19 17:15:41 +02:00
Diederik van der Boor
8cf313335c
Handle stale ContentType models (no longer referring to a model)
...
This builds on top of a fix in Django 1.6, and has a workaround for
Django 1.4 and 1.5. When the base class points to a model that no longer
exists, it will be silently dropped in the polymorphic queryset results.
This behavior is identical to iterating over results when the derived
table doesn't have the object anymore.
2013-05-19 14:35:29 +02:00
Chris Glass
8527244cb3
Bumped versio to .dev0
2013-04-10 14:23:29 +02:00
Chris Glass
7d562511ba
Version 0.4.2 proper
2013-04-10 14:18:55 +02:00