Mention the improvements of #87 in the changelog and documentation too.

This commit is contained in:
Diederik van der Boor committed 2014-07-08 17:18:07 +02:00
1 parent 2e2728e2c6
commit d8b40167d3
2 files changed
+10 -1

No files matched your search

+4 -1
View File
@@ -102,7 +102,10 @@ class PolymorphicParentModelAdmin(admin.ModelAdmin):
add_type_template = None
add_type_form = PolymorphicModelChoiceForm
#: The regular expression to filter the primary key in the URL.
#: This accepts only numbers as defensive measure against catch-all URLs.
#: If your primary key consists of string values, update this regular expression.
pk_regex = '(\d+)'