Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/bin
Commit message (Collapse)AuthorAgeFilesLines
* Removed bin/unique-messages.pyTim Graham2015-02-061-30/+0
| | | | This script is no longer used according to Claude, our translations manager.
* Removed gather_profile_stats.pyTim Graham2015-02-062-38/+0
| | | | | This script uses the unmaintained hotshot module (gone on Python 3) and doesn't seem to be Django specific in any way.
* Removed django-2to3.pyTim Graham2015-02-061-9/+0
| | | | Aymeric says, "It was fun to write, but I don't think it's very useful."
* Started attackign the next flake8 violationAlex Gaynor2013-10-312-0/+2
|
* Whitespace cleanup.Tim Graham2013-10-102-2/+1
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Removed daily_cleanup.py script as per deprecation TL.Ramiro Morales2013-06-291-19/+0
|
* Fixed #19252 -- Added support for wheel packages.Florian Apolloner2013-05-011-0/+0
| | | | Signed-off-by: Jannis Leidel <jannis@leidel.info>
* Advanced pending deprecation warnings.Aymeric Augustin2012-12-291-1/+1
| | | | Also added stacklevel argument, fixed #18127.
* Fixed #18978 -- Moved cleanup command to sessions.Aymeric Augustin2012-10-271-1/+7
| | | | This removes a dependency of 'core' on 'contrib'.
* [py3] Added fixer for python_2_unicode_compatible.Aymeric Augustin2012-08-121-0/+10
| | | | | | | This doesn't deal with classes that define both __unicode__ and __str__; the definition of __str__ should be removed first. It doesn't guarantee that __str__ will return a str (rather than bytes) under Python 3 either.
* Made more extensive usage of context managers with open.Claude Paroz2012-05-051-1/+2
|
* Replaced print statement by print function (forward ↵Claude Paroz2012-04-302-2/+2
| | | | compatibility syntax).
* Updated unique-messages.py to reference Git instead of SVNAdrian Holovaty2012-04-281-1/+1
|
* Fixed #16225 -- Removed unused imports. Many thanks to ↵Jannis Leidel2011-07-131-1/+2
| | | | | | Aymeric Augustin for the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14419 -- Enhanced the help text of the ↵Ramiro Morales2011-01-252-22/+0
| | | | | | | | makemessages management command. Thanks lsaffre for the report and suggestions and gruszczy for the patch. Also, removed the sterile make-messages.py, compile-messages.py scripts and dead compatibility code in makemessages. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10102 -- Set svn:executable on daily_cleanup ↵Russell Keith-Magee2009-03-141-0/+0
| | | | | | script. Thanks to John Scott for the report git-svn-id: http://code.djangoproject.com/svn/django/trunk@10054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #5522 -- Moved make-messages, compile-messages and ↵Malcolm Tredinnick2008-07-063-226/+18
| | | | | | | | | | | | | | | | daily-cleanup into 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
* Added shebang line to ↵Adrian Holovaty2008-06-161-0/+2
| | | | | | bin/profiling/gather_profile_stats.py. Refs #7268 git-svn-id: http://code.djangoproject.com/svn/django/trunk@7658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #7030 -- Handle extraction of UTF-8 messages from ↵Malcolm Tredinnick2008-04-261-2/+6
| | | | | | | | | | | Javascript files. This leads to more duplicated code in make-messages.py, but this is just a holdover for the immediate problem until we merge make-messages into management/. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #5978 -- Gave `LOCALE_PATHS` a default setting of ↵Gary Wilson Jr2007-11-191-3/+2
| | | | | | an empty tuple and removed some code that was checking for its existance in settings before accessing it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #3955 -- Handled the case when there is no ↵Malcolm Tredinnick2007-10-031-1/+2
| | | | | | LOCALE_PATHS setting from [6349]. Thanks, Wang Chun and semenov. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #5491 -- Changed PO file generation to sort the ↵Malcolm Tredinnick2007-10-031-46/+49
| | | | | | | | | | | filenames we scan prior to passing them to gettext. This should help reduce the changes in line orderings caused by different translators using different operating systems and locales. Based on a patch from Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #3955 -- Added the ability to traverse ↵Malcolm Tredinnick2007-09-161-10/+25
| | | | | | LOCALE_PATHS when compiling PO files. Thanks, semenov. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4899 -- Fixed a problem on Windows when ↵Malcolm Tredinnick2007-08-111-4/+5
| | | | | | generating message catalogs (caused by [5722]). Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4899 -- Fixed a problem with PO file header ↵Malcolm Tredinnick2007-07-171-1/+2
| | | | | | | | | generation caused by [5708]. Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4734 -- Changed message extraction to permit ↵Malcolm Tredinnick2007-07-151-3/+8
| | | | | | | | | | | | non-ACSII msgid strings. Thanks, krzysiek.pawlik@silvermedia.pl. This is slightly backwards-incompatible for translators: PO files are now assumed to be in UTF-8 encoding. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Merged Unicode branch into trunk (r4952:5608). This ↵Malcolm Tredinnick2007-07-041-1/+1
| | | | | | | | | | | should be fully backwards compatible for all practical purposes. Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702 git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4427 -- Ported daily_cleanup.py to use model API ↵Malcolm Tredinnick2007-06-011-5/+5
| | | | | | | | | for greater portability. Thanks, nick.lane.au@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4040 -- Changed uses of has_key() to "in". Slight ↵Malcolm Tredinnick2007-04-261-1/+1
| | | | | | | | | | performance improvement and forward-compatible with future Python releases. Patch from Gary Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Told xgettext that ngettext_lazy is a pluralising ↵Malcolm Tredinnick2007-04-261-2/+2
| | | | | | | | | function, so that strings are extracted correctly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added a check of the format specifiers in Python ↵Malcolm Tredinnick2007-04-051-2/+2
| | | | | | | | | strings. This will identify a lot of common translation errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #3410 -- Edited a few i18n markups for ↵Malcolm Tredinnick2007-03-121-2/+2
| | | | | | | | | | completeness and to remove some warnings from recent gettext versions. Refs #3704. Thanks, Michael Radziej, mirrorballu2@gmail.com and baptiste.goupil@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #3679 -- Added an option to compile localisation ↵Malcolm Tredinnick2007-03-091-2/+15
| | | | | | | | | messages for a single locale. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #3216 -- Added shebang statement to daily_cleanup.pyAdrian Holovaty2007-01-021-0/+2
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@4271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2748 -- Turned daily_cleanup.py into something ↵Malcolm Tredinnick2006-09-261-6/+7
| | | | | | | | | that will run against the current version of Django. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2604 -- Got compile-messages.py working on win32. ↵Adrian Holovaty2006-08-281-1/+4
| | | | | | Thanks for the patch, Jarosław Zabiełło git-svn-id: http://code.djangoproject.com/svn/django/trunk@3672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed small security hole in bin/compile-messages.py by ↵Adrian Holovaty2006-08-161-1/+8
| | | | | | escaping the .po filename in os.system() call. Announcement forthcoming git-svn-id: http://code.djangoproject.com/svn/django/trunk@3592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Small error-message formatting change to compile-messages.pyAdrian Holovaty2006-08-161-1/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@3590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Small formatting change to compile-messages.pyAdrian Holovaty2006-08-131-1/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@3577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed a bunch of spurious imports, typos, and other ↵Jacob Kaplan-Moss2006-07-211-1/+0
| | | | | | small errors turned up by a pass through PyFlakes. This covers about the first third of the errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2323 -- Made it possible to run make-messages ↵Malcolm Tredinnick2006-07-191-0/+4
| | | | | | | | | without needing a DJANGO_SETTINGS_FILE setting. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is ↵Adrian Holovaty2006-05-021-5/+5
| | | | | | highly 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
* Fixed #1369 -- Changed shebang lines in ↵Adrian Holovaty2006-02-183-3/+3
| | | | | | unique-messages.py, compile-messages.py and make-message.py to use /usr/bin/env git-svn-id: http://code.djangoproject.com/svn/django/trunk@2352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #1244 -- Renamed templateize to templatize in ↵Adrian Holovaty2006-01-271-2/+2
| | | | | | django.utils.translation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed a bunch of errors detected by pychecker -- ↵Adrian Holovaty2006-01-192-9/+8
| | | | | | unneeded imports and shadows of builtin variable names git-svn-id: http://code.djangoproject.com/svn/django/trunk@2058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Changed unique-messages.py, compile-messages.py and ↵Adrian Holovaty2006-01-193-150/+158
| | | | | | make-messages.py to use 'if name == main' so they can be imported and won't mess up utilities such as pychecker git-svn-id: http://code.djangoproject.com/svn/django/trunk@2056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* fixes #1161 - added quotes to unique-messages.pyGeorg Bauer2006-01-051-1/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@1821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* fixes #1161 - spaces in filenames should now be handled ↵Georg Bauer2006-01-032-3/+3
| | | | | | better (filename parameters are enclosed in "") git-svn-id: http://code.djangoproject.com/svn/django/trunk@1814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Removed bin/validate.py -- it wasn't being usedAdrian Holovaty2005-12-141-44/+0
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@1630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Moved all logic from django-admin.py into ↵Adrian Holovaty2005-12-061-149/+1
| | | | | | django.core.management, into a new execute_from_command_line() function, so it can be called from other scripts. Also improved createproject to disallow 'django' and 'test' as project names. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1553 bcc190cf-cafb-0310-a4f2-bffc1f526a37