Adrian Holovaty
|
6719511497
|
Fixed #1187 -- Added field name to error message for missing PIL. Thanks, akaihola
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-08 06:31:24 +00:00 |
Adrian Holovaty
|
28263d6675
|
Added conf/project_template/manage.py, which is a light wrapper around django-admin.py that gets installed in each project with 'startproject'. It takes care of the PYTHONPATH and DJANGO_SETTINGS_MODULE business automatically.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-06 05:53:31 +00:00 |
Adrian Holovaty
|
17108bc190
|
Negligible capitalization change in django.core.management
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-06 05:38:56 +00:00 |
Adrian Holovaty
|
50cac9d276
|
Factored out django.core.management ACTION_MAPPING into DEFAULT_ACTION_MAPPING, so execute_from_command_line now takes an action_mapping parameter (DEFAULT_ACTION_MAPPING by default)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-06 05:35:07 +00:00 |
Adrian Holovaty
|
6d210ef403
|
Moved all logic from django-admin.py into 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
|
2005-12-06 05:17:52 +00:00 |
Adrian Holovaty
|
9ede371c85
|
Fixed #971 -- inspectdb for SQLite now introspects field types.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 06:32:25 +00:00 |
Adrian Holovaty
|
38b8d18091
|
Fixed #965 -- 'django-admin.py sqlsequencereset' now includes m2m tables. Thanks for reporting, exoweb adrian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 06:09:36 +00:00 |
Adrian Holovaty
|
9e2eccc1ab
|
Improved model validator to throw error if a model has two ManyToMany relationships to the same model and doesn't set 'singular'. Refs #452.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 05:46:18 +00:00 |
Adrian Holovaty
|
de7a336486
|
Fixed #460 -- Added 'django-admin.py inspectdb' support for SQLite. Thanks, Swaroop
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-29 02:05:32 +00:00 |
Adrian Holovaty
|
539e5af17c
|
Fixed #490 -- Fixed incorrect handling of cursor.rowcount in yet-unused database_check functionality. Thanks, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-29 01:04:28 +00:00 |
Adrian Holovaty
|
e85b071e47
|
Fixed #798 and #715 -- Added optional arguments to 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
|
2005-11-28 02:57:38 +00:00 |
Adrian Holovaty
|
9dda4abee1
|
MERGED NEW-ADMIN BRANCH (except for po/mo files, which will come in a separate commit)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 21:20:09 +00:00 |
Adrian Holovaty
|
69f8840900
|
Fixed #882 -- Fixed bug when doing django-admin.py sqlclear with SQLite. Thanks, ye7cakf02
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 04:27:50 +00:00 |
Adrian Holovaty
|
270377cb37
|
Fixed #861 -- Model validator now validates unique_together
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-21 01:45:15 +00:00 |
Adrian Holovaty
|
928318faf9
|
Fixed #484 -- Model validator now raises an error for FloatFields without max_digits or decimal_places
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-20 22:28:57 +00:00 |
Adrian Holovaty
|
f6bf41e59a
|
Fixed #121 -- Django now quotes all names in SQL queries. Also added unit 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-14 01:44:35 +00:00 |
Adrian Holovaty
|
68397a3654
|
Fixed #686 -- django-admin.py sqlreset and sqlclear no longer assume the admin app is installed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-09 23:50:32 +00:00 |
Adrian Holovaty
|
c604de5a5d
|
Added 'django-admin.py installperms' command
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-23 22:43:24 +00:00 |
Adrian Holovaty
|
81cbf27a13
|
Fixed #668 -- Changed default site from mysite.com to example.com. Thanks, Ian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-20 22:58:33 +00:00 |
Adrian Holovaty
|
f07e5d4f5d
|
Fixed #627 -- BACKWARDS-INCOMPATIBLE CHANGE. Admin is now an app, not a middleware. See BackwardsIncompatibleChanges for a full list of changes and information on how to update your code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-19 01:09:05 +00:00 |
Adrian Holovaty
|
29ff2bb4cb
|
Improved django.core.management.get_sql_delete to close database connection explicitly when it's done, to avoid locking issues
git-svn-id: http://code.djangoproject.com/svn/django/trunk@823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-10 20:14:56 +00:00 |
Adrian Holovaty
|
cb628c0cb7
|
Changed django.core.management to remove a couple of hard-coded slashes from os.path.join calls. Thanks, Stuart Langridge
git-svn-id: http://code.djangoproject.com/svn/django/trunk@789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-06 14:30:35 +00:00 |
Adrian Holovaty
|
8dda2aeaa3
|
Improved model validator to check admin.list_filter and type-check admin.list_display
git-svn-id: http://code.djangoproject.com/svn/django/trunk@784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-06 01:41:54 +00:00 |
Adrian Holovaty
|
998fc72c0d
|
Changed [735] so that database-agnostic SQL always gets executed, even if database-specific SQL doesn't exist.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-29 23:43:03 +00:00 |
Jacob Kaplan-Moss
|
151b44c89a
|
Fixed #363 - django-admin sqlall now uses database-specific initial data files if they exist.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-29 23:23:11 +00:00 |
Adrian Holovaty
|
c1a16d54b0
|
Fixed #553 -- Added django.core.meta.fields.Field.get_internal_type() hook, for creating custom meta.Field subclasses. Thanks, wojtek3
git-svn-id: http://code.djangoproject.com/svn/django/trunk@713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-28 23:08:47 +00:00 |
Jacob Kaplan-Moss
|
871ffbe7ee
|
Fixed #515 (again) - renamed "key" field in SQL cache to "cache_key" because
MySQL reserves "key".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-26 03:14:37 +00:00 |
Jacob Kaplan-Moss
|
0fa1aa8711
|
Added a database-backed cache backend, along with a tool 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
|
2005-09-25 22:03:30 +00:00 |
Adrian Holovaty
|
26c4356e01
|
Improved model validator so that it checks for PIL if ImageFields are used
git-svn-id: http://code.djangoproject.com/svn/django/trunk@685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-25 20:01:30 +00:00 |
Adrian Holovaty
|
c05cce5c52
|
Fixed #556 -- ManyToManyField join tables no longer assume the primary keys of both associated tables are integers. Also added unit tests to confirm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-25 18:29:59 +00:00 |
Adrian Holovaty
|
7dfb86724d
|
Improved model validator so that it validates admin.list_display values
git-svn-id: http://code.djangoproject.com/svn/django/trunk@650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-20 02:48:25 +00:00 |
Adrian Holovaty
|
f46402bc90
|
Made 'django-admin.py init' more robust
git-svn-id: http://code.djangoproject.com/svn/django/trunk@632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-06 22:14:40 +00:00 |
Adrian Holovaty
|
e5a801590a
|
Improved model validator to check for upload_to attribute in FileFields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-05 15:04:20 +00:00 |
Adrian Holovaty
|
5c22b8b4b7
|
Improved model validator to make sure prepopulate_from is a list or tuple
git-svn-id: http://code.djangoproject.com/svn/django/trunk@617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 22:50:53 +00:00 |
Adrian Holovaty
|
3aa1276bff
|
Fixed #453 -- 'django-admin install' now does model validation before installation. Lightly refactored django.core.management to add a get_validation_errors() function, which validate() wraps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 18:38:23 +00:00 |
Adrian Holovaty
|
24006427d9
|
Changed django.core.management.validate to take an optional 'outfile' argument, defaulting to sys.stdout
git-svn-id: http://code.djangoproject.com/svn/django/trunk@608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 18:28:26 +00:00 |
Adrian Holovaty
|
59b204526e
|
Fixed #454 -- Clarified django-admin '--help' output to use 'modelmodule' instead of 'app'. Thanks, Maniac
git-svn-id: http://code.djangoproject.com/svn/django/trunk@607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 18:26:16 +00:00 |
Adrian Holovaty
|
939e2bccd5
|
Changed django-admin.py inspectdb to output new-style model syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-26 04:06:18 +00:00 |
Adrian Holovaty
|
25264c8604
|
Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models
git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-25 22:51:30 +00:00 |
Adrian Holovaty
|
00c6acaaf3
|
Fixed #360 -- runserver now takes optional 'ip:port' in addition to 'port'. Thanks, benno@jeamland.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-19 21:23:56 +00:00 |
Adrian Holovaty
|
7cfddb3c43
|
Improved model validator to validate 'choices' for a field
git-svn-id: http://code.djangoproject.com/svn/django/trunk@509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 19:00:50 +00:00 |
Adrian Holovaty
|
db127b7983
|
Fixed #322 -- Development server now calls validate() again. Thanks, rmunn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 15:24:56 +00:00 |
Adrian Holovaty
|
91c71d36e6
|
Fixed #322 -- 'django-admin runserver' no longer validates models.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 14:48:07 +00:00 |
Adrian Holovaty
|
8f9e5b6b3b
|
Added 'django-admin.py validate', which validates all 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
|
2005-08-15 05:05:52 +00:00 |
Adrian Holovaty
|
1e479ba90d
|
Fixed #93 and #279 -- 'django-admin startproject' no longer creates invalid settings/admin.py on Windows
git-svn-id: http://code.djangoproject.com/svn/django/trunk@498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 01:24:16 +00:00 |
Adrian Holovaty
|
199aa88ffb
|
Moved django.core.handlers.wsgi.AdminMediaHandler to django.core.servers.basehttp. Makes more sense to have it in there, because its only use is for the development server.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-12 04:16:29 +00:00 |
Adrian Holovaty
|
46d8bbab3d
|
Added help_doc to django.core.management.install
git-svn-id: http://code.djangoproject.com/svn/django/trunk@470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 20:16:15 +00:00 |
Adrian Holovaty
|
4003f9f482
|
Changed 'django-admin adminindex' to output relative links, not absolute links. Thanks, Joe Grace
git-svn-id: http://code.djangoproject.com/svn/django/trunk@426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-07 01:02:48 +00:00 |
Adrian Holovaty
|
dae5863058
|
Fixed #263 -- inspectdb output now includes a comment reminding people to run sqlinitialdata. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-04 14:51:46 +00:00 |
Adrian Holovaty
|
cfbf261709
|
Improved 'django-admin inspectdb' so that it doesn't raise an exception for unknown field types. Now it uses TextField by default and outputs a Python comment.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-04 03:49:24 +00:00 |