Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/bin/django-admin.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixed #983 -- Made 'django-admin.py --help' output ↵Adrian Holovaty2005-12-021-3/+5
| | | | | | easier to read. Thanks, Oliver git-svn-id: http://code.djangoproject.com/svn/django/trunk@1526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #943 -- Restored django-admin createsuperuser ↵Adrian Holovaty2005-11-281-3/+7
| | | | | | functionality with no arguments. Thanks, deric git-svn-id: http://code.djangoproject.com/svn/django/trunk@1477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #798 and #715 -- Added optional arguments to ↵Adrian Holovaty2005-11-281-1/+8
| | | | | | createsuperuser, for each 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
* fix a problem that masks errors in settings files for ↵Georg Bauer2005-11-121-8/+8
| | | | | | some users - in those 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
* Changed django-admin.py to display help if invoked with ↵Adrian Holovaty2005-11-111-1/+1
| | | | | | no arguments. Thanks, sopel git-svn-id: http://code.djangoproject.com/svn/django/trunk@1173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Merged i18n branch into the trunk! Fixes #65, and ↵Jacob Kaplan-Moss2005-11-041-0/+9
| | | | | | perhaps some others. NB: 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
* Added 'django-admin.py installperms' commandAdrian Holovaty2005-10-241-1/+2
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@1005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #357 -- Added a '--pythonpath' option to ↵Adrian Holovaty2005-10-061-0/+4
| | | | | | django-admin. Thanks for the patch, Hugo git-svn-id: http://code.djangoproject.com/svn/django/trunk@793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added a database-backed cache backend, along with a tool ↵Jacob Kaplan-Moss2005-09-261-1/+7
| | | | | | | | | | in django-admin to 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
* Fixed spacing bug in '--help' output of django-adminAdrian Holovaty2005-09-021-1/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #360 -- runserver now takes optional 'ip:port' in ↵Adrian Holovaty2005-08-191-2/+6
| | | | | | addition to 'port'. Thanks, benno@jeamland.net git-svn-id: http://code.djangoproject.com/svn/django/trunk@539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added 'django-admin.py validate', which validates all ↵Adrian Holovaty2005-08-151-3/+4
| | | | | | installed models. 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
* Improved 'django-admin inspectdb' so that it detects ↵Adrian Holovaty2005-08-031-1/+1
| | | | | | ForeignKey relationships -- PostgreSQL only git-svn-id: http://code.djangoproject.com/svn/django/trunk@395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added first stab at 'django-admin.py inspectdb', which ↵Adrian Holovaty2005-08-021-0/+12
| | | | | | takes a database name 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
* Added 'django-admin createsuperuser' and updated ↵Adrian Holovaty2005-07-211-1/+2
| | | | | | tutorial to use it instead 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
* Fixed small bug in print_error() calls in django-adminAdrian Holovaty2005-07-201-3/+3
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added '--settings' option to django-admin. This ↵Adrian Holovaty2005-07-201-32/+60
| | | | | | specifies which settings 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
* Fixed #97 -- Refactored django-admin.py so that it only ↵Adrian Holovaty2005-07-201-415/+19
| | | | | | contains 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
* 'django-admin runserver' now displays the settings ↵Adrian Holovaty2005-07-201-1/+3
| | | | | | module you're using when it starts up git-svn-id: http://code.djangoproject.com/svn/django/trunk@240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed ForeignKey('self') so that extra cruft parameters ↵Adrian Holovaty2005-07-201-1/+1
| | | | | | aren't necessary. 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
* Fixed #95 -- Added SECRET_KEY setting instead of ↵Adrian Holovaty2005-07-201-3/+12
| | | | | | hard-coding keys that are 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
* Fixed #84 -- CREATE TABLE foreign keys now work in MySQLAdrian Holovaty2005-07-191-1/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Moved default admin from media to ↵Adrian Holovaty2005-07-191-2/+2
| | | | | | django/conf/admin_media, so Django is able to introspect their location, in preparation for #76 git-svn-id: http://code.djangoproject.com/svn/django/trunk@185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added 'django-admin.py runserver', which starts a ↵Adrian Holovaty2005-07-181-0/+31
| | | | | | lightweight development server running Django on a local port git-svn-id: http://code.djangoproject.com/svn/django/trunk@174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #53 -- Thanks, Dobbes!Adrian Holovaty2005-07-181-1/+2
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Set executable bit on django-admin.pyAdrian Holovaty2005-07-161-0/+0
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Changed django-admin so that it doesn't load ↵Adrian Holovaty2005-07-161-1/+9
| | | | | | django.core.db or 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
* django-admin.py startproject now automatically points ↵Adrian Holovaty2005-07-161-0/+11
| | | | | | admin TEMPLATE_DIRS 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
* 'django-admin.py init' now creates a site in the sites ↵Adrian Holovaty2005-07-161-0/+1
| | | | | | table, and 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
* Changed 'django-admin sqlclear' to output deletion of ↵Adrian Holovaty2005-07-161-0/+1
| | | | | | content_types table 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
* Changed 'django-admin startapp' so that it try to write ↵Adrian Holovaty2005-07-161-12/+1
| | | | | | to INSTALLED_APPS 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
* Changed django-admin startproject so that it doesn't ↵Adrian Holovaty2005-07-161-0/+2
| | | | | | copy .pyc files git-svn-id: http://code.djangoproject.com/svn/django/trunk@79 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Changed setup.py author and added django-admin to ↵Adrian Holovaty2005-07-151-1/+1
| | | | | | distutils 'scripts' git-svn-id: http://code.djangoproject.com/svn/django/trunk@68 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #30 -- django-admin startproject and startapp now ↵Adrian Holovaty2005-07-141-0/+3
| | | | | | ignore directories starting with a dot git-svn-id: http://code.djangoproject.com/svn/django/trunk@8 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Imported Django from private SVN repository (created ↵Adrian Holovaty2005-07-131-0/+412
from r. 8825) git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37