summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2005-12-06Added conf/project_template/manage.py, which is a light wrapper around ↵Adrian Holovaty
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-06Negligible capitalization change in django.core.managementAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06Factored out django.core.management ACTION_MAPPING into ↵Adrian Holovaty
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-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-05Fixed bug in get_next_by_FOO/get_previous_by_FOO methods that caused a ↵Jacob Kaplan-Moss
database error when using those methods along with joining lookup contraints (i.e. "obj.get_next_by_pub_date(related__id__in=some_list)") git-svn-id: http://code.djangoproject.com/svn/django/trunk@1550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05Fixed #982 -- Added '__ne__' support for Django models, which apparently ↵Adrian Holovaty
wasn't working on Python 2.3 (?) git-svn-id: http://code.djangoproject.com/svn/django/trunk@1547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04reverted changes from [1534] and [1536] regarding ticket #966Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04fixes #989 - new 'no' translations for JavaScriptGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01Fixed #971 -- inspectdb for SQLite now introspects field types.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01Fixed #965 -- 'django-admin.py sqlsequencereset' now includes m2m tables. ↵Adrian Holovaty
Thanks for reporting, exoweb adrian git-svn-id: http://code.djangoproject.com/svn/django/trunk@1517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01Fixed #452 -- Fixed bug in generated DB API for models that have two ↵Adrian Holovaty
ManyToManyFields to the same related model. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01Improved model validator to throw error if a model has two ManyToMany ↵Adrian Holovaty
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-01Small fix to a comment in django.core.meta.initAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01Fixed #757: manually set AutoField values are now respected; also added unit ↵Jacob Kaplan-Moss
test to verify the correct behavior. Thanks, cygnus. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Fixed #251 -- Added OR support to queries, via the new 'complex' DB API ↵Adrian Holovaty
keyword argument. Updated docs and added unit tests. Also removed old, undocumented '_or' parameter. Thanks, Hugo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Fixed #736 -- Changed behavior of QueryDict items() to be more consistent, ↵Adrian Holovaty
fixed mutability holes, gave MultiValueDict many more dictionary methods and added unit tests. Thanks, Kieran Holland. This is slightly backwards-incompatible if you happened to rely on the behavior of QueryDict.items(), which is highly unlikely. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Moved Apache auth handler to django/contrib/auth/handlers/modpython.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Fixed #962 -- Gave filter-registration decorator a return statement. Thanks, ↵Adrian Holovaty
Kieran git-svn-id: http://code.djangoproject.com/svn/django/trunk@1497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29Added mod_python authentication handler and document on authenticating ↵Jacob Kaplan-Moss
against Django's auth database from Apache git-svn-id: http://code.djangoproject.com/svn/django/trunk@1495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29Added a GOTCHA comment in django/core/template/init.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29Fixed error in raw_id_admin on ManyToManyFields caused by [1434] -- they ↵Adrian Holovaty
weren't working. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29Fixed #460 -- Added 'django-admin.py inspectdb' support for SQLite. Thanks, ↵Adrian Holovaty
Swaroop git-svn-id: http://code.djangoproject.com/svn/django/trunk@1484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29Fixed #490 -- Fixed incorrect handling of cursor.rowcount in yet-unused ↵Adrian Holovaty
database_check functionality. Thanks, Eugene git-svn-id: http://code.djangoproject.com/svn/django/trunk@1483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28Restored {% debug %} template tag, which was inadvertently removed in [1443]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1481 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-27Fixed #878 -- URLconf regex captures no longer have to be named groups. Old ↵Adrian Holovaty
URLconfs (with named groups) still work. This is backwards-incompatible if you've defined custom middleware with a process_view function. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges git-svn-id: http://code.djangoproject.com/svn/django/trunk@1470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27Removed unnecessary load_template_source() function in ↵Adrian Holovaty
django/core/template/loader.py git-svn-id: http://code.djangoproject.com/svn/django/trunk@1469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27Fixed #931 -- Fixed unordered_list template filterAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27Changed template library system so that it looks for a module-level variable ↵Adrian Holovaty
named 'register' rather than the first instance of template.Library it finds git-svn-id: http://code.djangoproject.com/svn/django/trunk@1461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27Fixed bug in [1443] -- slice filter was registered as 'slice_'Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27loading of templates in includes now reraises the template loading exception ↵Georg Bauer
instead of returning nothing git-svn-id: http://code.djangoproject.com/svn/django/trunk@1448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27unknown sources are now shown correctly as <unknown source> (before it was ↵Georg Bauer
shown as a tag) git-svn-id: http://code.djangoproject.com/svn/django/trunk@1447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26Fixed bug in [1443] -- Missing Context import in django.core.template.loaderAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26Fixed bug in [1443] -- renamed compile_filters call to compile_filterAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26Fixed bug in [1443] -- a decorator call was left inAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26Fixed #911 -- Made template system scoped to the parser instead of the ↵Adrian Holovaty
template module. Also changed the way tags/filters are registered and added support for multiple arguments to {% load %} tag. Thanks, rjwittams. This is a backwards-incompatible change for people who've created custom template tags or filters. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26Fixed #923 -- Made WSGI handler tolerant of no QUERY_STRING in os.environ. ↵Adrian Holovaty
Thanks, michael.mcewan git-svn-id: http://code.djangoproject.com/svn/django/trunk@1442 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-25Fixed #882 -- Fixed bug when doing django-admin.py sqlclear with SQLite. ↵Adrian Holovaty
Thanks, ye7cakf02 git-svn-id: http://code.djangoproject.com/svn/django/trunk@1429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25Added translation strings to django/core/meta/fields.py. Taken from new-admin.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25Added translation strings to core/formfields.py. Taken from new-admin.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25Fixed #625 -- Added template-tag decorators simple_tag and inclusion_tag. ↵Adrian Holovaty
Taken from new-admin. Thanks, rjwittams git-svn-id: http://code.djangoproject.com/svn/django/trunk@1410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24Added a get_template_sources generator function to filesystem and ↵Adrian Holovaty
app_directories template loaders, so template-loader debugger can hook into it. Refs #892. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23Fixed #603 -- Added template debugging errors to pretty error-page output, ↵Adrian Holovaty
if TEMPLATE_DEBUG setting is True. Also refactored FilterParser for a significant speed increase and changed the template_loader interface so that it returns information about the loader. Taken from new-admin. Thanks rjwittams and crew git-svn-id: http://code.djangoproject.com/svn/django/trunk@1379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23Added better error handling for trailing periods in URLconf include()sAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22Fixed grammar error in error message from [1355]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22Fixed #879 -- Middleware loader now throws a better error for ↵Adrian Holovaty
MIDDLEWARE_CLASSES value without a dot. Thanks, Noah Slater git-svn-id: http://code.djangoproject.com/svn/django/trunk@1355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22Fixed #598 -- Added {% include %} template tag. Added docs and unit tests. ↵Adrian Holovaty
Thanks, rjwittams git-svn-id: http://code.djangoproject.com/svn/django/trunk@1349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22Tiny logic tightening in core.template.loader -- taken from new-adminAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22Removed trailing slash in PROFILE_DATA_DIR in profiler-hotshot to match ↵Adrian Holovaty
new-admin git-svn-id: http://code.djangoproject.com/svn/django/trunk@1346 bcc190cf-cafb-0310-a4f2-bffc1f526a37