Author: PaulM
Date: 2011-09-21 21:10:02 -0700 (Wed, 21 Sep 2011)
New Revision: 16871
Modified:
django/trunk/django/contrib/databrowse/__init__.py
django/trunk/docs/ref/contrib/databrowse.txt
django/trunk/docs/releases/1.4.txt
Log:
Fixed #16907 -- Deprecate databrowse.
Modified: django/trunk/django/contrib/databrowse/__init__.py
===================================================================
--- django/trunk/django/contrib/databrowse/__init__.py 2011-09-22 00:58:42 UTC
(rev 16870)
+++ django/trunk/django/contrib/databrowse/__init__.py 2011-09-22 04:10:02 UTC
(rev 16871)
@@ -1 +1,6 @@
+import warnings
from django.contrib.databrowse.sites import DatabrowsePlugin, ModelDatabrowse,
DatabrowseSite, site
+
+
+warnings.warn("The Databrowse contrib app is deprecated",
+ PendingDeprecationWarning)
Modified: django/trunk/docs/ref/contrib/databrowse.txt
===================================================================
--- django/trunk/docs/ref/contrib/databrowse.txt 2011-09-22 00:58:42 UTC
(rev 16870)
+++ django/trunk/docs/ref/contrib/databrowse.txt 2011-09-22 04:10:02 UTC
(rev 16871)
@@ -5,21 +5,15 @@
.. module:: django.contrib.databrowse
:synopsis: Databrowse is a Django application that lets you browse your
data.
+.. deprecated:: 1.4
+ This module has been deprecated.
+
Databrowse is a Django application that lets you browse your data.
As the Django admin dynamically creates an admin interface by introspecting
your models, Databrowse dynamically creates a rich, browsable Web site by
introspecting your models.
-.. admonition:: Note
-
- Databrowse is **very** new and is currently under active development. It
- may change substantially before the next Django release.
-
- With that said, it's easy to use, and it doesn't require writing any
- code. So you can play around with it today, with very little investment in
- time or coding.
-
How to use Databrowse
=====================
Modified: django/trunk/docs/releases/1.4.txt
===================================================================
--- django/trunk/docs/releases/1.4.txt 2011-09-22 00:58:42 UTC (rev 16870)
+++ django/trunk/docs/releases/1.4.txt 2011-09-22 04:10:02 UTC (rev 16871)
@@ -640,3 +640,19 @@
were located in a ``django.conf.urls.defaults`` module.
Starting with Django 1.4 they are now available in :mod:`django.conf.urls`.
+
+``django.contrib.databrowse``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Databrowse has not seen active development for some time, and this does not
+show any sign of changing. There had been a suggestion for a GSOC project to
+integrate the functionality of databrowse into the admin, but no progress was
+made. While Databrowse has been deprecated, an enhancement of
+django.contrib.admin providing a similar feature set is still possible.
+
+.. _GSOC Proposal:
https://code.djangoproject.com/wiki/SummerOfCode2011#Integratedatabrowseintotheadmin
+
+The code that powers Databrowse is licensed under the same terms as Django
+itself, and so is available to be adopted by an individual or group as
+a third-party project.
+
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.