pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-django Update to Django 1.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3aa1b4523e11
branches:  trunk
changeset: 400420:3aa1b4523e11
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Oct 19 11:31:05 2009 +0000

description:
Update to Django 1.1:
- Support for aggregates and query expression in the ORM
- Suport for unamanged models and proxy models
- Support for deffered fields
- Mark individual fields as editable in the admin; support for custom
actions
- Better support for Last-Modified/ETag
- Improved GIS support
- {% for %} now has an {% empty %} to simplify handling empty lists
- Various smaller improvements

diffstat:

 www/py-django/Makefile         |    7 +-
 www/py-django/PLIST            |  221 ++++++++++++++++++++++++++++++++--------
 www/py-django/distinfo         |    9 +-
 www/py-django/patches/patch-ab |   25 ----
 4 files changed, 185 insertions(+), 77 deletions(-)

diffs (truncated from 538 to 300 lines):

diff -r 2d7a4f8ff255 -r 3aa1b4523e11 www/py-django/Makefile
--- a/www/py-django/Makefile    Mon Oct 19 11:22:36 2009 +0000
+++ b/www/py-django/Makefile    Mon Oct 19 11:31:05 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2009/10/13 18:19:23 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2009/10/19 11:31:05 joerg Exp $
 
-DJANGOVERS=    1.0.4
+DJANGOVERS=    1.1.1
 DISTNAME=      Django-${DJANGOVERS}
 PKGNAME=       ${PYPKGPREFIX}-django-${DJANGOVERS}
 CATEGORIES=    www python
@@ -10,10 +10,11 @@
 HOMEPAGE=      http://www.djangoproject.com/
 COMMENT=       Django, a high-level Python Web framework
 
+LICENSE=       modified-bsd
+
 PREV_PKGPATH=  www/py-django-devel
 
 PYDISTUTILSPKG=        # yes
-PYTHON_VERSIONS_ACCEPTED=      25 24
 PLIST_SUBST+=  PYVERSSUFFIX=${PYVERSSUFFIX:Q}
 
 PKG_DESTDIR_SUPPORT=   user-destdir
diff -r 2d7a4f8ff255 -r 3aa1b4523e11 www/py-django/PLIST
--- a/www/py-django/PLIST       Mon Oct 19 11:22:36 2009 +0000
+++ b/www/py-django/PLIST       Mon Oct 19 11:31:05 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2009/07/29 11:02:08 joerg Exp $
+@comment $NetBSD: PLIST,v 1.12 2009/10/19 11:31:05 joerg Exp $
 bin/django-admin.py
 ${PYSITELIB}/django/__init__.py
 ${PYSITELIB}/django/__init__.pyc
@@ -36,6 +36,9 @@
 ${PYSITELIB}/django/conf/app_template/models.py
 ${PYSITELIB}/django/conf/app_template/models.pyc
 ${PYSITELIB}/django/conf/app_template/models.pyo
+${PYSITELIB}/django/conf/app_template/tests.py
+${PYSITELIB}/django/conf/app_template/tests.pyc
+${PYSITELIB}/django/conf/app_template/tests.pyo
 ${PYSITELIB}/django/conf/app_template/views.py
 ${PYSITELIB}/django/conf/app_template/views.pyc
 ${PYSITELIB}/django/conf/app_template/views.pyo
@@ -214,6 +217,10 @@
 ${PYSITELIB}/django/conf/locale/sr/LC_MESSAGES/django.po
 ${PYSITELIB}/django/conf/locale/sr/LC_MESSAGES/djangojs.mo
 ${PYSITELIB}/django/conf/locale/sr/LC_MESSAGES/djangojs.po
+${PYSITELIB}/django/conf/locale/sr_Latn/LC_MESSAGES/django.mo
+${PYSITELIB}/django/conf/locale/sr_Latn/LC_MESSAGES/django.po
+${PYSITELIB}/django/conf/locale/sr_Latn/LC_MESSAGES/djangojs.mo
+${PYSITELIB}/django/conf/locale/sr_Latn/LC_MESSAGES/djangojs.po
 ${PYSITELIB}/django/conf/locale/sv/LC_MESSAGES/django.mo
 ${PYSITELIB}/django/conf/locale/sv/LC_MESSAGES/django.po
 ${PYSITELIB}/django/conf/locale/sv/LC_MESSAGES/djangojs.mo
@@ -276,6 +283,9 @@
 ${PYSITELIB}/django/contrib/admin/__init__.py
 ${PYSITELIB}/django/contrib/admin/__init__.pyc
 ${PYSITELIB}/django/contrib/admin/__init__.pyo
+${PYSITELIB}/django/contrib/admin/actions.py
+${PYSITELIB}/django/contrib/admin/actions.pyc
+${PYSITELIB}/django/contrib/admin/actions.pyo
 ${PYSITELIB}/django/contrib/admin/filterspecs.py
 ${PYSITELIB}/django/contrib/admin/filterspecs.pyc
 ${PYSITELIB}/django/contrib/admin/filterspecs.pyo
@@ -286,11 +296,8 @@
 ${PYSITELIB}/django/contrib/admin/media/css/changelists.css
 ${PYSITELIB}/django/contrib/admin/media/css/dashboard.css
 ${PYSITELIB}/django/contrib/admin/media/css/forms.css
-${PYSITELIB}/django/contrib/admin/media/css/global.css
-${PYSITELIB}/django/contrib/admin/media/css/layout.css
+${PYSITELIB}/django/contrib/admin/media/css/ie.css
 ${PYSITELIB}/django/contrib/admin/media/css/login.css
-${PYSITELIB}/django/contrib/admin/media/css/null.css
-${PYSITELIB}/django/contrib/admin/media/css/patch-iewin.css
 ${PYSITELIB}/django/contrib/admin/media/css/rtl.css
 ${PYSITELIB}/django/contrib/admin/media/css/widgets.css
 ${PYSITELIB}/django/contrib/admin/media/img/admin/arrow-down.gif
@@ -341,6 +348,7 @@
 ${PYSITELIB}/django/contrib/admin/media/img/gis/move_vertex_on.png
 ${PYSITELIB}/django/contrib/admin/media/js/SelectBox.js
 ${PYSITELIB}/django/contrib/admin/media/js/SelectFilter2.js
+${PYSITELIB}/django/contrib/admin/media/js/actions.js
 ${PYSITELIB}/django/contrib/admin/media/js/admin/CollapsedFieldsets.js
 ${PYSITELIB}/django/contrib/admin/media/js/admin/DateTimeShortcuts.js
 ${PYSITELIB}/django/contrib/admin/media/js/admin/RelatedObjectLookups.js
@@ -362,6 +370,7 @@
 ${PYSITELIB}/django/contrib/admin/sites.pyo
 ${PYSITELIB}/django/contrib/admin/templates/admin/404.html
 ${PYSITELIB}/django/contrib/admin/templates/admin/500.html
+${PYSITELIB}/django/contrib/admin/templates/admin/actions.html
 ${PYSITELIB}/django/contrib/admin/templates/admin/app_index.html
 ${PYSITELIB}/django/contrib/admin/templates/admin/auth/user/add_form.html
 ${PYSITELIB}/django/contrib/admin/templates/admin/auth/user/change_password.html
@@ -372,6 +381,7 @@
 ${PYSITELIB}/django/contrib/admin/templates/admin/change_list_results.html
 ${PYSITELIB}/django/contrib/admin/templates/admin/date_hierarchy.html
 ${PYSITELIB}/django/contrib/admin/templates/admin/delete_confirmation.html
+${PYSITELIB}/django/contrib/admin/templates/admin/delete_selected_confirmation.html
 ${PYSITELIB}/django/contrib/admin/templates/admin/edit_inline/stacked.html
 ${PYSITELIB}/django/contrib/admin/templates/admin/edit_inline/tabular.html
 ${PYSITELIB}/django/contrib/admin/templates/admin/filter.html
@@ -500,10 +510,16 @@
 ${PYSITELIB}/django/contrib/auth/tests/forms.py
 ${PYSITELIB}/django/contrib/auth/tests/forms.pyc
 ${PYSITELIB}/django/contrib/auth/tests/forms.pyo
+${PYSITELIB}/django/contrib/auth/tests/remote_user.py
+${PYSITELIB}/django/contrib/auth/tests/remote_user.pyc
+${PYSITELIB}/django/contrib/auth/tests/remote_user.pyo
 ${PYSITELIB}/django/contrib/auth/tests/templates/registration/login.html
 ${PYSITELIB}/django/contrib/auth/tests/tokens.py
 ${PYSITELIB}/django/contrib/auth/tests/tokens.pyc
 ${PYSITELIB}/django/contrib/auth/tests/tokens.pyo
+${PYSITELIB}/django/contrib/auth/tests/urls.py
+${PYSITELIB}/django/contrib/auth/tests/urls.pyc
+${PYSITELIB}/django/contrib/auth/tests/urls.pyo
 ${PYSITELIB}/django/contrib/auth/tests/views.py
 ${PYSITELIB}/django/contrib/auth/tests/views.pyc
 ${PYSITELIB}/django/contrib/auth/tests/views.pyo
@@ -534,6 +550,9 @@
 ${PYSITELIB}/django/contrib/comments/models.py
 ${PYSITELIB}/django/contrib/comments/models.pyc
 ${PYSITELIB}/django/contrib/comments/models.pyo
+${PYSITELIB}/django/contrib/comments/moderation.py
+${PYSITELIB}/django/contrib/comments/moderation.pyc
+${PYSITELIB}/django/contrib/comments/moderation.pyo
 ${PYSITELIB}/django/contrib/comments/signals.py
 ${PYSITELIB}/django/contrib/comments/signals.pyc
 ${PYSITELIB}/django/contrib/comments/signals.pyo
@@ -594,6 +613,12 @@
 ${PYSITELIB}/django/contrib/csrf/middleware.py
 ${PYSITELIB}/django/contrib/csrf/middleware.pyc
 ${PYSITELIB}/django/contrib/csrf/middleware.pyo
+${PYSITELIB}/django/contrib/csrf/models.py
+${PYSITELIB}/django/contrib/csrf/models.pyc
+${PYSITELIB}/django/contrib/csrf/models.pyo
+${PYSITELIB}/django/contrib/csrf/tests.py
+${PYSITELIB}/django/contrib/csrf/tests.pyc
+${PYSITELIB}/django/contrib/csrf/tests.pyo
 ${PYSITELIB}/django/contrib/databrowse/__init__.py
 ${PYSITELIB}/django/contrib/databrowse/__init__.pyc
 ${PYSITELIB}/django/contrib/databrowse/__init__.pyo
@@ -752,21 +777,39 @@
 ${PYSITELIB}/django/contrib/gis/db/backend/postgis/query.py
 ${PYSITELIB}/django/contrib/gis/db/backend/postgis/query.pyc
 ${PYSITELIB}/django/contrib/gis/db/backend/postgis/query.pyo
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/__init__.py
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/__init__.pyc
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/__init__.pyo
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/adaptor.py
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/adaptor.pyc
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/adaptor.pyo
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/creation.py
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/creation.pyc
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/creation.pyo
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/field.py
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/field.pyc
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/field.pyo
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/models.py
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/models.pyc
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/models.pyo
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/query.py
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/query.pyc
+${PYSITELIB}/django/contrib/gis/db/backend/spatialite/query.pyo
 ${PYSITELIB}/django/contrib/gis/db/backend/util.py
 ${PYSITELIB}/django/contrib/gis/db/backend/util.pyc
 ${PYSITELIB}/django/contrib/gis/db/backend/util.pyo
 ${PYSITELIB}/django/contrib/gis/db/models/__init__.py
 ${PYSITELIB}/django/contrib/gis/db/models/__init__.pyc
 ${PYSITELIB}/django/contrib/gis/db/models/__init__.pyo
+${PYSITELIB}/django/contrib/gis/db/models/aggregates.py
+${PYSITELIB}/django/contrib/gis/db/models/aggregates.pyc
+${PYSITELIB}/django/contrib/gis/db/models/aggregates.pyo
 ${PYSITELIB}/django/contrib/gis/db/models/fields/__init__.py
 ${PYSITELIB}/django/contrib/gis/db/models/fields/__init__.pyc
 ${PYSITELIB}/django/contrib/gis/db/models/fields/__init__.pyo
 ${PYSITELIB}/django/contrib/gis/db/models/manager.py
 ${PYSITELIB}/django/contrib/gis/db/models/manager.pyc
 ${PYSITELIB}/django/contrib/gis/db/models/manager.pyo
-${PYSITELIB}/django/contrib/gis/db/models/mixin.py
-${PYSITELIB}/django/contrib/gis/db/models/mixin.pyc
-${PYSITELIB}/django/contrib/gis/db/models/mixin.pyo
 ${PYSITELIB}/django/contrib/gis/db/models/proxy.py
 ${PYSITELIB}/django/contrib/gis/db/models/proxy.pyc
 ${PYSITELIB}/django/contrib/gis/db/models/proxy.pyo
@@ -776,6 +819,12 @@
 ${PYSITELIB}/django/contrib/gis/db/models/sql/__init__.py
 ${PYSITELIB}/django/contrib/gis/db/models/sql/__init__.pyc
 ${PYSITELIB}/django/contrib/gis/db/models/sql/__init__.pyo
+${PYSITELIB}/django/contrib/gis/db/models/sql/aggregates.py
+${PYSITELIB}/django/contrib/gis/db/models/sql/aggregates.pyc
+${PYSITELIB}/django/contrib/gis/db/models/sql/aggregates.pyo
+${PYSITELIB}/django/contrib/gis/db/models/sql/conversion.py
+${PYSITELIB}/django/contrib/gis/db/models/sql/conversion.pyc
+${PYSITELIB}/django/contrib/gis/db/models/sql/conversion.pyo
 ${PYSITELIB}/django/contrib/gis/db/models/sql/query.py
 ${PYSITELIB}/django/contrib/gis/db/models/sql/query.pyc
 ${PYSITELIB}/django/contrib/gis/db/models/sql/query.pyo
@@ -797,6 +846,9 @@
 ${PYSITELIB}/django/contrib/gis/gdal/__init__.py
 ${PYSITELIB}/django/contrib/gis/gdal/__init__.pyc
 ${PYSITELIB}/django/contrib/gis/gdal/__init__.pyo
+${PYSITELIB}/django/contrib/gis/gdal/base.py
+${PYSITELIB}/django/contrib/gis/gdal/base.pyc
+${PYSITELIB}/django/contrib/gis/gdal/base.pyo
 ${PYSITELIB}/django/contrib/gis/gdal/datasource.py
 ${PYSITELIB}/django/contrib/gis/gdal/datasource.pyc
 ${PYSITELIB}/django/contrib/gis/gdal/datasource.pyo
@@ -848,6 +900,24 @@
 ${PYSITELIB}/django/contrib/gis/gdal/srs.py
 ${PYSITELIB}/django/contrib/gis/gdal/srs.pyc
 ${PYSITELIB}/django/contrib/gis/gdal/srs.pyo
+${PYSITELIB}/django/contrib/gis/gdal/tests/__init__.py
+${PYSITELIB}/django/contrib/gis/gdal/tests/__init__.pyc
+${PYSITELIB}/django/contrib/gis/gdal/tests/__init__.pyo
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_driver.py
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_driver.pyc
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_driver.pyo
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_ds.py
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_ds.pyc
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_ds.pyo
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_envelope.py
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_envelope.pyc
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_envelope.pyo
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_geom.py
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_geom.pyc
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_geom.pyo
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_srs.py
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_srs.pyc
+${PYSITELIB}/django/contrib/gis/gdal/tests/test_srs.pyo
 ${PYSITELIB}/django/contrib/gis/geos/__init__.py
 ${PYSITELIB}/django/contrib/gis/geos/__init__.pyc
 ${PYSITELIB}/django/contrib/gis/geos/__init__.pyo
@@ -863,12 +933,33 @@
 ${PYSITELIB}/django/contrib/gis/geos/error.py
 ${PYSITELIB}/django/contrib/gis/geos/error.pyc
 ${PYSITELIB}/django/contrib/gis/geos/error.pyo
-${PYSITELIB}/django/contrib/gis/geos/geometries.py
-${PYSITELIB}/django/contrib/gis/geos/geometries.pyc
-${PYSITELIB}/django/contrib/gis/geos/geometries.pyo
+${PYSITELIB}/django/contrib/gis/geos/factory.py
+${PYSITELIB}/django/contrib/gis/geos/factory.pyc
+${PYSITELIB}/django/contrib/gis/geos/factory.pyo
+${PYSITELIB}/django/contrib/gis/geos/geometry.py
+${PYSITELIB}/django/contrib/gis/geos/geometry.pyc
+${PYSITELIB}/django/contrib/gis/geos/geometry.pyo
+${PYSITELIB}/django/contrib/gis/geos/io.py
+${PYSITELIB}/django/contrib/gis/geos/io.pyc
+${PYSITELIB}/django/contrib/gis/geos/io.pyo
 ${PYSITELIB}/django/contrib/gis/geos/libgeos.py
 ${PYSITELIB}/django/contrib/gis/geos/libgeos.pyc
 ${PYSITELIB}/django/contrib/gis/geos/libgeos.pyo
+${PYSITELIB}/django/contrib/gis/geos/linestring.py
+${PYSITELIB}/django/contrib/gis/geos/linestring.pyc
+${PYSITELIB}/django/contrib/gis/geos/linestring.pyo
+${PYSITELIB}/django/contrib/gis/geos/mutable_list.py
+${PYSITELIB}/django/contrib/gis/geos/mutable_list.pyc
+${PYSITELIB}/django/contrib/gis/geos/mutable_list.pyo
+${PYSITELIB}/django/contrib/gis/geos/point.py
+${PYSITELIB}/django/contrib/gis/geos/point.pyc
+${PYSITELIB}/django/contrib/gis/geos/point.pyo
+${PYSITELIB}/django/contrib/gis/geos/polygon.py
+${PYSITELIB}/django/contrib/gis/geos/polygon.pyc
+${PYSITELIB}/django/contrib/gis/geos/polygon.pyo
+${PYSITELIB}/django/contrib/gis/geos/prepared.py
+${PYSITELIB}/django/contrib/gis/geos/prepared.pyc
+${PYSITELIB}/django/contrib/gis/geos/prepared.pyo
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/__init__.py
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/__init__.pyc
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/__init__.pyo
@@ -881,15 +972,36 @@
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/geom.py
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/geom.pyc
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/geom.pyo
+${PYSITELIB}/django/contrib/gis/geos/prototypes/io.py
+${PYSITELIB}/django/contrib/gis/geos/prototypes/io.pyc
+${PYSITELIB}/django/contrib/gis/geos/prototypes/io.pyo
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/misc.py
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/misc.pyc
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/misc.pyo
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/predicates.py
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/predicates.pyc
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/predicates.pyo
+${PYSITELIB}/django/contrib/gis/geos/prototypes/prepared.py
+${PYSITELIB}/django/contrib/gis/geos/prototypes/prepared.pyc
+${PYSITELIB}/django/contrib/gis/geos/prototypes/prepared.pyo
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/topology.py
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/topology.pyc
 ${PYSITELIB}/django/contrib/gis/geos/prototypes/topology.pyo
+${PYSITELIB}/django/contrib/gis/geos/tests/__init__.py
+${PYSITELIB}/django/contrib/gis/geos/tests/__init__.pyc
+${PYSITELIB}/django/contrib/gis/geos/tests/__init__.pyo
+${PYSITELIB}/django/contrib/gis/geos/tests/test_geos.py
+${PYSITELIB}/django/contrib/gis/geos/tests/test_geos.pyc
+${PYSITELIB}/django/contrib/gis/geos/tests/test_geos.pyo
+${PYSITELIB}/django/contrib/gis/geos/tests/test_geos_mutation.py
+${PYSITELIB}/django/contrib/gis/geos/tests/test_geos_mutation.pyc
+${PYSITELIB}/django/contrib/gis/geos/tests/test_geos_mutation.pyo
+${PYSITELIB}/django/contrib/gis/geos/tests/test_io.py
+${PYSITELIB}/django/contrib/gis/geos/tests/test_io.pyc



Home | Main Index | Thread Index | Old Index