From 2c2209b473aeec85d16ac24469383cf0e214273b Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sun, 12 Dec 2010 22:54:50 +0000 Subject: Fixed #13607 -- Auto-initialize admin's date hierarchy links intelligently. Thanks, Simon Meers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14879 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/admin/index.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 97ea03bad2..7d650f52ba 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -107,6 +107,12 @@ subclass:: date_hierarchy = 'pub_date' + .. versionadded:: 1.3 + + This will intelligently populate itself based on available data, + e.g. if all the dates are in one month, it'll show the day-level + drill-down only. + .. attribute:: ModelAdmin.form By default a ``ModelForm`` is dynamically created for your model. It is -- cgit v1.3