summaryrefslogtreecommitdiff
path: root/django/bin
AgeCommit message (Collapse)Author
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
2005-12-02Fixed #983 -- Made 'django-admin.py --help' output easier to read. Thanks, ↵Adrian Holovaty
Oliver git-svn-id: http://code.djangoproject.com/svn/django/trunk@1526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28Fixed #943 -- Restored django-admin createsuperuser functionality with no ↵Adrian Holovaty
arguments. Thanks, deric git-svn-id: http://code.djangoproject.com/svn/django/trunk@1477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28Fixed #798 and #715 -- Added optional arguments to createsuperuser, for each ↵Adrian Holovaty
use in shell scripts. Thanks for the patch, bjorn@exoweb.net git-svn-id: http://code.djangoproject.com/svn/django/trunk@1474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25MERGED NEW-ADMIN BRANCH (except for po/mo files, which will come in a ↵Adrian Holovaty
separate commit) git-svn-id: http://code.djangoproject.com/svn/django/trunk@1434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25new-admin and trunk: Normalized spacing differences in bin/validate.py ↵Adrian Holovaty
between trunk and new-admin git-svn-id: http://code.djangoproject.com/svn/django/trunk@1420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23made the message when locale/ or conf/locale/ could not be found a bit more ↵Georg Bauer
clear git-svn-id: http://code.djangoproject.com/svn/django/trunk@1366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Fixed #121 -- Django now quotes all names in SQL queries. Also added unit ↵Adrian Holovaty
tests to confirm. Thanks, Robin Munn and Sune. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11fix a problem that masks errors in settings files for some users - in those ↵Georg Bauer
cases you only got "INSTALLED_APPS not defined", but in reality your settings file was broken. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11added a little tool to fix message-ID duplicates after subversion merges ↵Georg Bauer
(.po files sometimes merge in rather funny and interesting ways) git-svn-id: http://code.djangoproject.com/svn/django/trunk@1179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11Changed django-admin.py to display help if invoked with no arguments. ↵Adrian Holovaty
Thanks, sopel git-svn-id: http://code.djangoproject.com/svn/django/trunk@1173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07Fixed #748 -- Improved error handling in make-messages.py. It no longer ↵Adrian Holovaty
clobbers files on error. Thanks, Hugo git-svn-id: http://code.djangoproject.com/svn/django/trunk@1120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: ↵Jacob Kaplan-Moss
this means that the i18n branch is now obsolete and will be made read-only. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23Added 'django-admin.py installperms' commandAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06Fixed #357 -- Added a '--pythonpath' option to django-admin. Thanks for the ↵Adrian Holovaty
patch, Hugo git-svn-id: http://code.djangoproject.com/svn/django/trunk@793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Added a database-backed cache backend, along with a tool in django-admin to Jacob Kaplan-Moss
create the necessary table structure. This closes #515; thanks again, Eugene! git-svn-id: http://code.djangoproject.com/svn/django/trunk@692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02Fixed spacing bug in '--help' output of django-adminAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-19Fixed #360 -- runserver now takes optional 'ip:port' in addition to 'port'. ↵Adrian Holovaty
Thanks, benno@jeamland.net git-svn-id: http://code.djangoproject.com/svn/django/trunk@539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16Fixed #1 -- Added anonymous session support via middleware and ↵Adrian Holovaty
request.session. Removed the former request.session, which wasn't being used anyway. Removed auth.Session model. See the BackwardsIncompatibleChanges wiki page for IMPORTANT notes on code you'll have to change and a DB table you'll have to create. git-svn-id: http://code.djangoproject.com/svn/django/trunk@518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Added 'django-admin.py validate', which validates all installed models. ↵Adrian Holovaty
Validation only handles common errors at this point, but we'll be improving it each time we think of a potential model syntax problem. Also changed the development Web server to validate automatically at server start. git-svn-id: http://code.djangoproject.com/svn/django/trunk@503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Improved 'django-admin inspectdb' so that it detects ForeignKey ↵Adrian Holovaty
relationships -- PostgreSQL only git-svn-id: http://code.djangoproject.com/svn/django/trunk@395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Added first stab at 'django-admin.py inspectdb', which takes a database name ↵Adrian Holovaty
and introspects the tables, outputting a Django model. Works in PostgreSQL and MySQL. It's missing some niceties at the moment, such as detection of primary-keys and relationships, but it works. Refs #90. git-svn-id: http://code.djangoproject.com/svn/django/trunk@384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Added 'django-admin createsuperuser' and updated tutorial to use it instead ↵Adrian Holovaty
of manually creating the user in the Python interactive prompt git-svn-id: http://code.djangoproject.com/svn/django/trunk@261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed small bug in print_error() calls in django-adminAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Added '--settings' option to django-admin. This specifies which settings ↵Adrian Holovaty
module to use, if you don't want to deal with setting the DJANGO_SETTINGS_MODULE environment variable. Refactored django-admin to use optparse. Updated the tutorials to use '--settings' instead of environment variables, which can be confusing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed #97 -- Refactored django-admin.py so that it only contains ↵Adrian Holovaty
command-line-interface code. Moved the actual meat into django/core/management.py git-svn-id: http://code.djangoproject.com/svn/django/trunk@242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20'django-admin runserver' now displays the settings module you're using when ↵Adrian Holovaty
it starts up git-svn-id: http://code.djangoproject.com/svn/django/trunk@240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed ForeignKey('self') so that extra cruft parameters aren't necessary. ↵Adrian Holovaty
Also refactored the way meta.Admin is handled, so that fields aren't initialized until you manually call meta.Admin.get_field_objs() git-svn-id: http://code.djangoproject.com/svn/django/trunk@238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed #95 -- Added SECRET_KEY setting instead of hard-coding keys that are ↵Adrian Holovaty
shared for every Django installation. 'django-admin.py startproject' now creates a random SECRET_KEY. The auth and comments modules, and the admin middleware, all use SECRET_KEY now, instead of hard-coded values. git-svn-id: http://code.djangoproject.com/svn/django/trunk@230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Fixed #84 -- CREATE TABLE foreign keys now work in MySQLAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Moved default admin from media to django/conf/admin_media, so Django is able ↵Adrian Holovaty
to introspect their location, in preparation for #76 git-svn-id: http://code.djangoproject.com/svn/django/trunk@185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Added 'django-admin.py runserver', which starts a lightweight development ↵Adrian Holovaty
server running Django on a local port git-svn-id: http://code.djangoproject.com/svn/django/trunk@174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Moved django.bin.profiling.handler to django.core.handlers.profiler-hotshotAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Renamed django.core.handler.CoreHandler to ModPythonHandler, in preparation ↵Adrian Holovaty
for WSGI support git-svn-id: http://code.djangoproject.com/svn/django/trunk@168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Fixed #53 -- Thanks, Dobbes!Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16Set executable bit on django-admin.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16Changed django-admin so that it doesn't load django.core.db or ↵Adrian Holovaty
django.core.meta unless it needs to. As a result, 'django-admin startproject' works even if the database parameters are set incorrectly git-svn-id: http://code.djangoproject.com/svn/django/trunk@101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16django-admin.py startproject now automatically points admin TEMPLATE_DIRS ↵Adrian Holovaty
setting at the location of the default admin templates git-svn-id: http://code.djangoproject.com/svn/django/trunk@95 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16'django-admin.py init' now creates a site in the sites table, and ↵Adrian Holovaty
project_template.settings.main.SITE_ID is now set to 1 git-svn-id: http://code.djangoproject.com/svn/django/trunk@93 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15Changed 'django-admin sqlclear' to output deletion of content_types table ↵Adrian Holovaty
now that we're not using ON DELETE CASCADE anymore git-svn-id: http://code.djangoproject.com/svn/django/trunk@88 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15Changed 'django-admin startapp' so that it try to write to INSTALLED_APPS ↵Adrian Holovaty
magically. Also changed 'django-admin sqlclear' to reverse the output git-svn-id: http://code.djangoproject.com/svn/django/trunk@87 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15Changed django-admin startproject so that it doesn't copy .pyc filesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@79 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15Changed setup.py author and added django-admin to distutils 'scripts'Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@68 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15Moved django.bin.setup to root level and converted it to use setuptools. ↵Adrian Holovaty
Still not ready for prime time, though git-svn-id: http://code.djangoproject.com/svn/django/trunk@65 bcc190cf-cafb-0310-a4f2-bffc1f526a37