summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
2024-06-24Migrated setuptools configuration to pyproject.toml.Claude Paroz
This branch migrates setuptools configuration from setup.py/setup.cfg to pyproject.toml. In order to ensure that the generated binary files have consistent casing (both the tarball and the wheel), setuptools version is limited to ">=61.0.0,<69.3.0". Configuration for flake8 was moved to a dedicated .flake8 file since it cannot be configured via pyproject.toml. Also, __pycache__ exclusion was removed from MANIFEST and the extras/Makefile was replaced with a simpler build command. Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2021-01-14Refs #23433 -- Removed django-admin.py entry point per deprecation timeline.Mariusz Felisiak
2019-12-06Fixed #23433 -- Deprecated django-admin.py entry point in favor of django-admin.Jon Dufresne
Unify on the entry point created by setuptools entry_points feature.
2019-03-23Fixed #30283 -- Fixed shellcheck warnings in django_bash_completion.Albert Wang
2017-07-10Refs #23919 -- Removed Python 2 reference in django_bash_completion.Mads Jensen
2015-08-04Fixed #25222 -- Avoided installing django_bash_completion for python*-config.Ville Skyttä
2015-08-04Fixed #25221 -- Prevented django_bash_completion from leaking variables into ↵Ville Skyttä
the environment.
2014-06-09Removed extras/csrf_migration_helper.pyTim Graham
2014-06-09Converted Django scripts to argparseClaude Paroz
Refs #19973.
2014-05-16Removed --skip-scripts from extras/Makefile.Florian Apolloner
This is the default now, see https://bitbucket.org/pypa/wheel/commits/c29f82b4cf76df71f8d55b0f825af6063d3b9892
2013-12-29Skipped inclusion of scripts (pip will take care of that).Florian Apolloner
2013-12-27Switched setup.py to setuptools.Florian Apolloner
2013-11-28Fixed E125 pep8 warningsChristopher Medrela
2013-11-03Fixed all E226 violationsAlex Gaynor
2013-11-02Fixed the remaining E302 violations int eh django packageAlex Gaynor
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-10-11Fixed assorted flake8 errors.Tim Graham
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-05-17Modernize the CSRF migration helper.Aymeric Augustin
Thanks Lennart Regebro for spotting that code.
2013-05-01Fixed #19252 -- Added support for wheel packages.Florian Apolloner
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2013-01-22Fixed #19523 -- Improved performance of Django's bash completionAnders Kaseorg
Previous version took about 150ms to source, even on a warm cache, primarily because it forks+execs /usr/bin/basename 44 times. This patch makes it faster by a factor of 5 (and I imagine that a little more thought would reduce the time to effectively zero).
2012-05-05Made more extensive usage of context managers with open.Claude Paroz
2012-04-30Replaced print statement by print function (forward compatibility syntax).Claude Paroz
2012-04-29Fixed #18013 -- Use the new 'as' syntax for exceptions.Claude Paroz
Thanks Clueless for the initial patch. Note that unittest has been purposely left out (external package only used by Python 2.6).
2011-08-12Fixed #16584 -- Fixed a bunch of typos in code comments. Thanks, Bernhard Essl.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-25Fixed #15493 - csrf_migration_helper.py parsing fix.Luke Plant
Thanks to 'john' for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-05Fixed #12174 -- Corrected Bash command line completion when calling "python ↵Russell Keith-Magee
manage.py". Thanks to sethp for the report, and SmileyChris for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-20Various fixes/improvements to the the extras/csrf_migration_helper.py scriptLuke Plant
- Fixed various bugs/oddities with command line parsing - Find 'include' tags that use single quotes - Fixed for new style TEMPLATE_LOADERS setting - Don't silently ignore non-existent paths - Removed Python-2.3-ism - Removed an unnecessary loop git-svn-id: http://code.djangoproject.com/svn/django/trunk@12267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-20Fixed #12649 - more helpful Unicode exceptions for CSRF migration helper scriptLuke Plant
Thanks akaihola git-svn-id: http://code.djangoproject.com/svn/django/trunk@12266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-26Fixed #9977 - CsrfMiddleware gets template tag added, session dependency ↵Luke Plant
removed, and turned on by default. This is a large change to CSRF protection for Django. It includes: * removing the dependency on the session framework. * deprecating CsrfResponseMiddleware, and replacing with a core template tag. * turning on CSRF protection by default by adding CsrfViewMiddleware to the default value of MIDDLEWARE_CLASSES. * protecting all contrib apps (whatever is in settings.py) using a decorator. For existing users of the CSRF functionality, it should be a seamless update, but please note that it includes DEPRECATION of features in Django 1.1, and there are upgrade steps which are detailed in the docs. Many thanks to 'Glenn' and 'bthomas', who did a lot of the thinking and work on the patch, and to lots of other people including Simon Willison and Russell Keith-Magee who refined the ideas. Details of the rationale for these changes is found here: http://code.djangoproject.com/wiki/CsrfProtection As of this commit, the CSRF code is mainly in 'contrib'. The code will be moved to core in a separate commit, to make the changeset as readable as possible. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-11Fixed #10752. Added more advanced bash completion. Thanks, Arthur Koziel.Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25Removed outdated "adminindex" command -- the same behavior is now far easier ↵Jacob Kaplan-Moss
and better done in a template, or perhaps a custom `AdminSite.index` function. Refs #5500. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into ↵Malcolm Tredinnick
django-admin.py. They are now called "makemessages", "compilemessages" and "cleanup". This is backwards incompatible for make-messages.py and compile-messages.py, although the old executables still exist for now and print an error pointing the caller to the right command to call. This reduces the number of binaries and man pages Django needs to install. Patch from Janis Leidel. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-23Fixed #7525 -- Added createsuperuser to the bash completion script. Thanks ↵Russell Keith-Magee
to John Scott for the fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18Refs #7268 -- Added svn:executable flag for the Bash completion script.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18Refs #7268 -- Added django-admin as an alias in the django-bash-completion ↵Russell Keith-Magee
script. Thanks, Raphael Hertzog <hertzog@debian.org> git-svn-id: http://code.djangoproject.com/svn/django/trunk@7690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-25Fixed #6661: fixed a bug with bash completion and python -i. Thanks, Soeren ↵Jacob Kaplan-Moss
Sonnenburg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15Fixed some documentation strings in django-admin, and updated the bash ↵Russell Keith-Magee
completion script. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08Fixed #1240 -- Fixed portability problem in bash completion script. Thanks,Malcolm Tredinnick
Paolo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28Fixed #1240: added better support for different names for "python" to ↵Jacob Kaplan-Moss
django_bash_completion. Thanks, paolo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25Added completetion support for app names to django_base_completion, which ↵Jacob Kaplan-Moss
closes #1240. Thanks for the patch, Rob Hudson git-svn-id: http://code.djangoproject.com/svn/django/trunk@4575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21Fixed #1240 -- Updated bash completion file to accomodate changes in r3174.Malcolm Tredinnick
Thanks, Paolo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37