summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2005-08-10Cleaned up admin view code to use new 'pk' lookup syntaxAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #241 -- added django.contrib.markup app with markup templatetags for ↵Jacob Kaplan-Moss
Textile, ReST and Markdown git-svn-id: http://code.djangoproject.com/svn/django/trunk@467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #299 -- Slugify no longer removes hyphens. Thanks, gch@cs.cmu.eduAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Refactored the way save() works so that non-integer primary keys are now ↵Adrian Holovaty
possible. custom_pk unit tests (from [458]) now pass. Refs #81. git-svn-id: http://code.djangoproject.com/svn/django/trunk@462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Changed [459] to use a better interface for the exceptionAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Changed MySQL backend so that it fails silently if rollback() isn't ↵Adrian Holovaty
supported (the code catches NotSupportedError exception) git-svn-id: http://code.djangoproject.com/svn/django/trunk@459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Undid [455] -- it's not a good enough solution for what I'm trying to doAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Slightly refactored metasystem -- changed Field pre_save() hooks to ↵Adrian Holovaty
pre_save_add(), in preparation for some bigger changes. Refs #81. git-svn-id: http://code.djangoproject.com/svn/django/trunk@455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Simplified metasystem get_db_prep_save() hook so that it doesn't take an ↵Adrian Holovaty
'add' parameter -- it wasn't being used, anyway. git-svn-id: http://code.djangoproject.com/svn/django/trunk@454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Updated PPK's URL in comments of admin_media/js/core.jsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Removed media.ljworld.com reference from ↵Adrian Holovaty
admin_media/js/admin/DateTimeShortcuts.js git-svn-id: http://code.djangoproject.com/svn/django/trunk@452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Removed media.ljworld.com reference from admin_media/js/SelectFilter2.js. ↵Adrian Holovaty
Refs #49 git-svn-id: http://code.djangoproject.com/svn/django/trunk@451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Removed unnecessary code from admin_media/jsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Removed admin_media/js/admin/add_calendars.js -- it wasn't being usedAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Removed unnecessary code from admin_media/js/admin/add_calendars.jsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #154 -- Fixed constraint error when deleting an object with a ↵Adrian Holovaty
many-to-many field git-svn-id: http://code.djangoproject.com/svn/django/trunk@447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09Small change to docstring in django.core.templateAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09Fixed #211 -- edit_inline_type is deprecated, in favor of edit_inline ↵Adrian Holovaty
itself. For example, instead of 'edit_inline=True, edit_inline_type=meta.TABULAR', use 'edit_inline=meta.TABULAR'. git-svn-id: http://code.djangoproject.com/svn/django/trunk@440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08Fixed typos in generic-views documentationAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08Companion checkin to [432]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-07Changed 'django-admin adminindex' to output relative links, not absolute ↵Adrian Holovaty
links. Thanks, Joe Grace git-svn-id: http://code.djangoproject.com/svn/django/trunk@426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-06Fixed #270 -- Admin change forms now display default values in ↵Adrian Holovaty
num_extra_on_change fields with default set. Thanks for the patch, Hugo git-svn-id: http://code.djangoproject.com/svn/django/trunk@418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-06Fixed #7 -- Fixed subtle admin changelist filter bug in maintaining state. ↵Adrian Holovaty
Thanks for the patch, Manuzhai! git-svn-id: http://code.djangoproject.com/svn/django/trunk@417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05Changed 'django-admin startapp' so that it doesn't create the 'urls' ↵Adrian Holovaty
directory. People have said they're a bit overwhelmed by the multiple url directories, and this one isn't necessary for basic Django usage. You can always make it yourself if you know what you're doing and want to decouple/distribute your apps. git-svn-id: http://code.djangoproject.com/svn/django/trunk@415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05Greatly improved the 404 error message when DEBUG=True. If none of the ↵Adrian Holovaty
urlpatterns matches, Django now displays a list of all the urlpatterns it tried. This should catch a lot of newbie errors, and it's helpful even for power users. git-svn-id: http://code.djangoproject.com/svn/django/trunk@414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05Made small cleanups to two default urlconfs, to be clearer.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05Updated admin doc view to reflect changes from [411]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05Refactored the internals of URL parsing to use less codeAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05Fixed #275 -- Bug in validators.RequiredIfOtherFieldsGiven. Thanks, jhernandezAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05Changed default ManyToOne num_in_admin from 0 to 3, to help avoid confusion ↵Adrian Holovaty
when people forget to set num_in_admin git-svn-id: http://code.djangoproject.com/svn/django/trunk@409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-04Fixed #266 -- Added ValidateIfOtherFieldEquals validator. Thanks again, HugoAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-04Tightened up some code in django.core.validatorsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-04Refactored django.core.validators.RequiredIfOtherFieldGiven to remove ↵Adrian Holovaty
duplicate code git-svn-id: http://code.djangoproject.com/svn/django/trunk@403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-04Fixed #268 -- Added AnyValidator and fixed small bug in [399]. Thanks, HugoAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-04Fixed #263 -- inspectdb output now includes a comment reminding people to ↵Adrian Holovaty
run sqlinitialdata. Thanks, Hugo git-svn-id: http://code.djangoproject.com/svn/django/trunk@401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-04Fixed #267 -- "Save and continue editing" no longer assumes object has an ID ↵Adrian Holovaty
field. Thanks, Hugo git-svn-id: http://code.djangoproject.com/svn/django/trunk@400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-04Fixed #269 -- Added MatchesRegularExpression validator. Thanks, Hugo!Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-04Improved 'django-admin inspectdb' so that it doesn't raise an exception for ↵Adrian Holovaty
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-04Fixed #257 -- Empty model modules no longer cause an error. Thanks, Bill de ↵Adrian Holovaty
hÓra git-svn-id: http://code.djangoproject.com/svn/django/trunk@397 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 doc view for templates that will show the search path for a given ↵Jacob Kaplan-Moss
template on each site git-svn-id: http://code.djangoproject.com/svn/django/trunk@392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Made a bunch of fixes to auto-generated admin documentation:Jacob Kaplan-Moss
* Views are no longer "doubled" * Links work better (view -> model links and friends were broken) * Performance has been improved so now the pages no longer need to be cached. git-svn-id: http://code.djangoproject.com/svn/django/trunk@391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Fixed a subtle bug with the {% load %} tag: if a tag/filter was removed from ↵Jacob Kaplan-Moss
template.registered_tags/filters, {% load %} would fail (since module-level code is only run on an initial import). {% load %} now reloads the module, which makes sure that the tag always works even when someone's been doing something screwy. This fixes #242 (and wouldn't had been found without it, so much thanks). git-svn-id: http://code.djangoproject.com/svn/django/trunk@390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Removed redundant verbose names from auth and core models, because they're ↵Adrian Holovaty
no longer required git-svn-id: http://code.djangoproject.com/svn/django/trunk@388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Fixed #105 -- collapsable fieldsets now work in both ways (thanks, Simon)Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Removed id field from auth.Message model -- it's impliedAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Calendar next/prev popups now work in Safari (fixed #2)Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@385 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-08-01Fixed #227 -- the sqlite backend now correctly typecasts unicode objects to ↵Jacob Kaplan-Moss
bytestrings (thanks hugo) git-svn-id: http://code.djangoproject.com/svn/django/trunk@383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01Refactored meta.py -- created a django.core.meta package, with init.py and ↵Adrian Holovaty
fields.py git-svn-id: http://code.djangoproject.com/svn/django/trunk@378 bcc190cf-cafb-0310-a4f2-bffc1f526a37