summaryrefslogtreecommitdiff
path: root/django/bin
AgeCommit message (Collapse)Author
2013-10-31Started attackign the next flake8 violationAlex Gaynor
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-06-28Removed daily_cleanup.py script as per deprecation TL.Ramiro Morales
2013-05-01Fixed #19252 -- Added support for wheel packages.Florian Apolloner
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2012-12-29Advanced pending deprecation warnings.Aymeric Augustin
Also added stacklevel argument, fixed #18127.
2012-10-27Fixed #18978 -- Moved cleanup command to sessions.Aymeric Augustin
This removes a dependency of 'core' on 'contrib'.
2012-08-12[py3] Added fixer for python_2_unicode_compatible.Aymeric Augustin
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.
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-27Updated unique-messages.py to reference Git instead of SVNAdrian Holovaty
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for ↵Jannis Leidel
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
2011-01-25Fixed #14419 -- Enhanced the help text of the makemessages management ↵Ramiro Morales
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
2009-03-14Fixed #10102 -- Set svn:executable on daily_cleanup script. Thanks to John ↵Russell Keith-Magee
Scott for the report git-svn-id: http://code.djangoproject.com/svn/django/trunk@10054 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-16Added shebang line to bin/profiling/gather_profile_stats.py. Refs #7268Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-26Fixed #7030 -- Handle extraction of UTF-8 messages from Javascript files.Malcolm Tredinnick
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
2007-11-19Fixed #5978 -- Gave `LOCALE_PATHS` a default setting of an empty tuple and ↵Gary Wilson Jr
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
2007-10-03Fixed #3955 -- Handled the case when there is no LOCALE_PATHS setting from ↵Malcolm Tredinnick
[6349]. Thanks, Wang Chun and semenov. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-03Fixed #5491 -- Changed PO file generation to sort the filenames we scan priorMalcolm Tredinnick
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
2007-09-16Fixed #3955 -- Added the ability to traverse LOCALE_PATHS when compiling PO ↵Malcolm Tredinnick
files. Thanks, semenov. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Fixed #4899 -- Fixed a problem on Windows when generating message catalogs ↵Malcolm Tredinnick
(caused by [5722]). Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-17Fixed #4899 -- Fixed a problem with PO file header generation caused by [5708].Malcolm Tredinnick
Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15Fixed #4734 -- Changed message extraction to permit non-ACSII msgid strings.Malcolm Tredinnick
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
2007-07-04Merged Unicode branch into trunk (r4952:5608). This should be fullyMalcolm Tredinnick
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
2007-06-01Fixed #4427 -- Ported daily_cleanup.py to use model API for greaterMalcolm Tredinnick
portability. Thanks, nick.lane.au@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26Fixed #4040 -- Changed uses of has_key() to "in". Slight performanceMalcolm Tredinnick
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
2007-04-26Told xgettext that ngettext_lazy is a pluralising function, so that strings areMalcolm Tredinnick
extracted correctly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-05Added a check of the format specifiers in Python strings. This will identify aMalcolm Tredinnick
lot of common translation errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12Fixed #3410 -- Edited a few i18n markups for completeness and to remove someMalcolm Tredinnick
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
2007-03-09Fixed #3679 -- Added an option to compile localisation messages for a singleMalcolm Tredinnick
locale. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-02Fixed #3216 -- Added shebang statement to daily_cleanup.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2748 -- Turned daily_cleanup.py into something that will run against theMalcolm Tredinnick
current version of Django. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-28Fixed #2604 -- Got compile-messages.py working on win32. Thanks for the ↵Adrian Holovaty
patch, Jarosław Zabiełło git-svn-id: http://code.djangoproject.com/svn/django/trunk@3672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-16Fixed small security hole in bin/compile-messages.py by escaping the .po ↵Adrian Holovaty
filename in os.system() call. Announcement forthcoming git-svn-id: http://code.djangoproject.com/svn/django/trunk@3592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-16Small error-message formatting change to compile-messages.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-13Small formatting change to compile-messages.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21Fixed a bunch of spurious imports, typos, and other small errors turned up ↵Jacob Kaplan-Moss
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
2006-07-19Fixed #2323 -- Made it possible to run make-messages without needing aMalcolm Tredinnick
DJANGO_SETTINGS_FILE setting. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3374 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
2006-02-18Fixed #1369 -- Changed shebang lines in unique-messages.py, ↵Adrian Holovaty
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
2006-01-27Fixed #1244 -- Renamed templateize to templatize in django.utils.translation.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19Fixed a bunch of errors detected by pychecker -- unneeded imports and ↵Adrian Holovaty
shadows of builtin variable names git-svn-id: http://code.djangoproject.com/svn/django/trunk@2058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19Changed unique-messages.py, compile-messages.py and make-messages.py to use ↵Adrian Holovaty
'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
2006-01-05fixes #1161 - added quotes to unique-messages.pyGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03fixes #1161 - spaces in filenames should now be handled better (filename ↵Georg Bauer
parameters are enclosed in "") git-svn-id: http://code.djangoproject.com/svn/django/trunk@1814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-14Removed bin/validate.py -- it wasn't being usedAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06Moved all logic from django-admin.py into django.core.management, into a new ↵Adrian Holovaty
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
2005-12-04added infrastructure code for later javascript translating (currently not ↵Georg Bauer
active) git-svn-id: http://code.djangoproject.com/svn/django/trunk@1529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03again fix for the popen3 calls in make-messages.py - thx. OlivierGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03added 'b' modifier to popen3 calls in make-messages.py to help getting it to ↵Georg Bauer
run with windows git-svn-id: http://code.djangoproject.com/svn/django/trunk@1527 bcc190cf-cafb-0310-a4f2-bffc1f526a37