debian/0000755000000000000000000000000012240443723007167 5ustar debian/README.Debian0000644000000000000000000000122612240433503011224 0ustar README.Debian for python-django-extensions ========================================== You need to add 'django_extensions' to your INSTALLED_APPS iterable - this usually resides in the `settings.py' file. Eg: INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django_extensions', <..> ) Alternatively, you make the application optional with: try: import django_extensions INSTALLED_APPS = INSTALLED_APPS + ('django_extensions',) except ImportError: pass -- Chris Lamb Thu, 26 Mar 2009 22:18:21 +0000 debian/compat0000644000000000000000000000000212240433503010360 0ustar 7 debian/rules0000755000000000000000000000124212240433503010241 0ustar #!/usr/bin/make -f get-orig-source: set -ex; \ PKG=python-django-extensions; VER=0.6; \ git clone git://github.com/django-extensions/django-extensions.git $$PKG; \ DATE=`cd $$PKG && git show --pretty=format:"%cD" HEAD | head -n1`; \ SUFFIX=`date -d "$$DATE" +%Y%m%d%H%M`; \ rm -rf $$PKG/.git; \ tar cfz $${PKG}_$$VER+git$${SUFFIX}.orig.tar.gz $$PKG; \ rm -rf $$PKG %: dh $@ override_dh_auto_clean: rm -f django_extensions/utils/uuid.py # embedded code copy dh_auto_clean override_dh_install: dh_install # Don't embed jQuery find debian/python-django-extensions -name 'jquery.js' -type f -exec \ ln -sf /usr/share/javascript/jquery/jquery.js {} \; debian/control0000644000000000000000000000310012240436560010565 0ustar Source: python-django-extensions Section: python Priority: optional Maintainer: Stephan Sürken Build-Depends: debhelper (>= 7.0.50~), python-support Standards-Version: 3.9.5 Vcs-Git: git://github.com/lamby/pkg-python-django-extensions.git Vcs-Browser: https://github.com/lamby/pkg-python-django-extensions Homepage: https://github.com/django-extensions/django-extensions Package: python-django-extensions Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-django (>= 1.0.2), python-six Recommends: libjs-jquery Suggests: python-werkzeug, python-pygraphviz, python-boto, python-profiler, python-keyczar Description: Useful extensions for Django projects This is a collection of useful third-party tools for projects that use the Django web development framework. It provides the management commands: . * runserver_plus - a "runserver" that uses the interactive Werkzeug debugger * runprofileserver - starts runserver with profiling tools enabled * shell_plus - similar to the built-in "shell" but autoloads all models * graph_models - creates a GraphViz dot file of your model arrangement * describe_form - generate template form definitions for a model * export_emails - export the addresses of your users in many formats * print_user_for_session - print the user information from a session key * create_jobs/runjob/runjobs - manage scheduled maintenance jobs * (plus many more) . python-django-extensions also includes a number of custom fields and abstract models, including ones that manage created and updated times automatically. debian/watch0000644000000000000000000000024712240433503010216 0ustar version=3 http://code.google.com/p/django-command-extensions/downloads/list \ http://django-command-extensions.googlecode.com/files/django-command-extensions-(.*).tgz debian/changelog0000644000000000000000000000510512240442732011041 0ustar python-django-extensions (1.2.5-1) unstable; urgency=low [ Stephan Sürken ] * [9a4f8dd] Imported Upstream version 1.2.5 (Closes: #690425). * [563777b] patches/01-werkzeug-package.diff: Refresh for upstream 1.2.5. * [ce22404] control: New upstream needs python-six. * [336ae49] control: Taking over package, fix Maintainer field. * [10707a6] control: Update Stds-Ver to 3.9.5 (no changes needed). -- Stephan Sürken Tue, 12 Nov 2013 16:14:34 +0100 python-django-extensions (0.6+git201107051902-1) unstable; urgency=low * New upstream release. - Does not depend on keyczar anymore (Closes: #633874) * Update Vcs-{Git,Browser}. * Bump Standards-Version to 3.9.1. * Bump Standards-Version to 3.9.2. * Bump base version in get-orig-source target. * Add python-keyczar to Suggests. * Update Homepage. -- Chris Lamb Thu, 28 Jul 2011 12:07:19 +0200 python-django-extensions (0.4.2pre+git201004211325-1) unstable; urgency=low * New upstream snapshot * Refresh 01-werkzeug-package.diff -- Chris Lamb Thu, 22 Apr 2010 09:16:51 +0100 python-django-extensions (0.4.2pre+git200911182050-2) unstable; urgency=low * Use find(1) over python.mk to locate embedded jQuery and drop python.mk include to help backporters. (Closes: #578599) * Bump Standards-Version to 3.8.4. * Move to 3.0 (quilt) source format. * Tidy patch descriptions. -- Chris Lamb Wed, 21 Apr 2010 10:06:33 +0100 python-django-extensions (0.4.2pre+git200911182050-1) unstable; urgency=low * New upstream release. * Remove embedded uuid.py code copy used as fallback if "import uuid" fails. (Closes: #555430) * Bump Standards-Version to 3.8.3. * Bump Build-Depends on debhelper to 7.0.50~ for override_* support. -- Chris Lamb Fri, 27 Nov 2009 17:59:30 +0000 python-django-extensions (0.4+git200905112140-2) unstable; urgency=low * Fix compatibility with Python 2.6 and future Python transitions in general. Thanks to Krzysztof Klimonda . -- Chris Lamb Sat, 16 May 2009 00:04:19 +0100 python-django-extensions (0.4+git200905112140-1) unstable; urgency=low * New upstream release. * Upstream moved to Git; update get-orig-source. * Use shorted method of invoking quilt using debhelper 7. -- Chris Lamb Tue, 12 May 2009 21:24:00 +0100 python-django-extensions (0.4~pre+svn188-1) unstable; urgency=low * Initial release (Closes: #521349) -- Chris Lamb Thu, 26 Mar 2009 23:45:55 +0000 debian/source/0000755000000000000000000000000012240433503010462 5ustar debian/source/format0000644000000000000000000000001412240433503011670 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012240434763010622 5ustar debian/patches/series0000644000000000000000000000003112240433503012020 0ustar 01-werkzeug-package.diff debian/patches/01-werkzeug-package.diff0000644000000000000000000000134712240434763015133 0ustar Author: Chris Lamb Description: Point people towards installing the python-werzeug package, not to download random files from the internet. --- a/django_extensions/management/commands/runserver_plus.py +++ b/django_extensions/management/commands/runserver_plus.py @@ -129,7 +129,7 @@ class Command(BaseCommand): pass except ImportError: - raise CommandError("Werkzeug is required to use runserver_plus. Please visit http://werkzeug.pocoo.org/ or install via pip. (pip install Werkzeug)") + raise CommandError("Werkzeug is required to use runserver_plus. Please install `python-werkzeug'") # usurp django's handler from django.views import debug debian/copyright0000644000000000000000000000440712240433503011122 0ustar Author: Michael Trier Download: http://code.google.com/p/django-command-extensions/ Files: * Copyright: © 2007 Michael Trier License: MIT Files: django_extensions/media/django_extensions/js/jquery.autocomplete.js Copyright: © 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jörn Zaefferer License: GPL-2 | MIT Files: django_extensions/media/django_extensions/js/jquery.js Copyright: © 2008 John Resig License: GPL-2 | MIT Files: django_extensions/media/django_extensions/js/jquery.bgiframe.min.js Copyright: © 2006 Brandon Aaron License: GPL-2 | MIT Files: debian/* Copyright: © 2008 Chris Lamb License: MIT License: GPL-2 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, the complete text of the GNU General Public License can be found in the /usr/share/common-licenses/GPL-2 file. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.