summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2011-08-28Fixed #15525 -- Custom template tags loading breaks whenever templatetags is ↵Chris Beaven
a python file git-svn-id: http://code.djangoproject.com/svn/django/trunk@16703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26Further improved on the work done in r16622 by making the help text icons ↵Julien Phalip
look hoverable in the admin tabular inline headers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-25Fixed #16677 -- Fixed the future version of the ssi template tag to work ↵Julien Phalip
with template file names that contain spaces. Note that this fix cannot be applied to the currently deprecated version of the ssi tag since it requires an unquoted literal as parameter. Many thanks to Aymeric Augustin for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-24Fixed #15837. Consolidated all the locaflavor tests into a single, logical, ↵Julien Phalip
place (regressiontests/localflavor/). git-svn-id: http://code.djangoproject.com/svn/django/trunk@16680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Reverted r16662 -- There are bunch of problems with this patch, including ↵Russell Keith-Magee
failing tests, that I didn't pick up before committing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Fixed a broken test from r16656.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Fixed #16202 -- Added a Slovenian localflavor. Thanks to Jure Cuhalev ↵Russell Keith-Magee
<gandalf@owca.info>, Gasper Zejn, Domen Kozar and iElectric for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Fixed #15315 -- Added support for the 'widget' argument to ↵Russell Keith-Magee
modelform_factory. Thanks to SardarNL and Will Hardy for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Fixed #15499 -- Ensure that cache control headers don't try to set public ↵Russell Keith-Magee
and private as a result of multiple calls to patch_cache_control with different arguments. Thanks to AndiDog for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Fixed an isnull=False filtering edge-case. Fixes #15316.Malcolm Tredinnick
The bulk of this patch is due to some fine analysis from Aleksandra Sendecka. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Fixed #15838 -- Promoted assertFieldOutput to a general test utility. Thanks ↵Russell Keith-Magee
to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Fixed #10571 -- Factored out the payload encoding code to make sure it is ↵Russell Keith-Magee
used for PUT requests. Thanks to kennu for the report, pterk for the patch, and wildfire for the review comments. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Fixed #16672 -- Ensure that test classes decorated with @override_setings ↵Russell Keith-Magee
gets the right name when running the tests. Thanks to Julien Phalip for the report and initial patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@16650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-22Fixed #14876 -- Ensure that join promotion works correctly when there are ↵Russell Keith-Magee
nullable related fields. Thanks to simonpercivall for the report, oinopion and Aleksandra Sendecka for the original patch, and to Malcolm for helping me wrestle the edge cases to the ground. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-17Fixed #8190 -- Added support for a field's help text to the tabular admin ↵Jannis Leidel
inline. Thanks, Julien Phalip and Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-15Fixed #15206 -- Added select_related call to the permissions field of the ↵Jannis Leidel
GroupAdmin to lower the number of queries. Thanks, Chris Adams. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13Fixed #14695 -- Stopped model fields from incorrectly overwriting the field ↵Jannis Leidel
name during model initialization if it was already passed as a keyword argument. Thanks, erikrose and willhardy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13Fixed #14503 -- Unified multiple implementations of test cases assert* ↵Ramiro Morales
methods that verify a given exception is raised by a callable throughout the Django test suite. Replaced them with a new assertRaisesMessage method of a new SimpleTestCase, a lightweight subclass of unittest.TestCase. Both are also available for usage in user tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #11559 -- Fixed the URL resolver to be able to handle captured ↵Jannis Leidel
parameters in parent URLconfs when also using namespaces. Thanks, cwb, ungenio and hvdklauw. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #9847 -- Added 403 response handler. Many thanks to kgrandis, ↵Jannis Leidel
adamnelson, vkryachko, fvox13 and Chris Beaven. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #5831 -- Made sure the ForNode reports the correct source of an ↵Jannis Leidel
exception happening in one of the loops. Thanks, Charmless and vladmos. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #10405 -- Raise a more useful error if the formfield of a related ↵Jannis Leidel
model field can't be created yet because the related model isn't loaded yet. Thanks ojii and charstring. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #15907 -- Fixed another conflict between the ModelForm exclude and the ↵Jannis Leidel
GenericInline. Thanks, leonelfreire and prestontimmons. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #14496 -- Fixed conflict between ModelForm exclude and ModelAdmin ↵Jannis Leidel
readonly values. Thanks, Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #16604 -- Use new save_related hook when saving objects on the ↵Jannis Leidel
changelist, too. Thanks, pdeglopper. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #16584 -- Fixed a bunch of typos in code comments. Thanks, Bernhard Essl.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-11Fixed #15252 -- Added static template tag and CachedStaticFilesStorage to ↵Jannis Leidel
staticfiles contrib app. Many thanks to Florian Apolloner and Jacob Kaplan-Moss for reviewing and eagle eyeing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-10Made override_settings also work with TransactionTestCase when acting as a ↵Ramiro Morales
class decorator. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-08Added fixtures files missing from [16590].Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-07Fixed #3615: Added support for loading fixtures with forward references on ↵Karen Tracey
database backends (such as MySQL/InnoDB) that do not support deferred constraint checking. Many thanks to jsdalton for coming up with a clever solution to this long-standing issue, and to jacob, ramiro, graham_king, and russellm for review/testing. (Apologies if I missed anyone else who helped here.) git-svn-id: http://code.djangoproject.com/svn/django/trunk@16590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-01Fixed #16542 -- Made Raw ID form widgets shipped with the admin app render ↵Ramiro Morales
the related object lookup tool only when the related model is effectively registered with the AdminSite. Also, converted these widgets to reverse named URLs instead of hard-coded '../../...'-style links, refs #15294. Thanks Florian Apolloner for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #14288 -- Fixed linebreaksbr template filter to normalize newlines ↵Jannis Leidel
first. Thanks, Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #16497 -- Added new form and model fields to the Mexican local flavor. ↵Jannis Leidel
Many thanks to Andrés Torres Marroquín and Gerardo Orozco. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #8013 -- Added Columbian and Ecuadorian local flavor. Thanks, ikks and ↵Jannis Leidel
Bernhard Essl. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #16101 -- Added parameters to SingleObjectMixin to override the name ↵Jannis Leidel
of the URL keyword arguments used for pk and slug. Thanks, Andrew Ingram and Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #16326 -- Fixed re-pickling of unpickled TemplateResponse instances. ↵Jannis Leidel
Thanks, natrius and lrekucki. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #16533 -- Stopped the memcache cache backend from raising an exception ↵Jannis Leidel
if the timeout value isn't an integer. Thanks, Jeff Balogh. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-25Add some simple regression tests for the truncatechars filter. Refs #16510.Chris Beaven
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-17Fixed #16480 -- Modified test added in r16522 so it doesn't use a query not ↵Ramiro Morales
supported under Oracle (`GROUP BY` a NCLOB field). Thanks Aymeric for the report. Refs #4186 git-svn-id: http://code.djangoproject.com/svn/django/trunk@16546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-14Fixed #5025 -- Add a "truncatechars" template filter. Many thanks to Chris ↵Jannis Leidel
Beaven. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for ↵Jannis Leidel
the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10Fixed #16447 -- Stopped using the setting name as the sender parameter for ↵Jannis Leidel
the setting_changed signal. Thanks, Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10Fixed a typo in the `multiple_database` tests. Thanks Jim Dalton.Ramiro Morales
Also, removed some unused imports. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-08Fixed typos in admin_views tests XML fixtures.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-08Fixed bug with our SimpleCookie regarding load/custom Morsel, and simplified ↵Luke Plant
implementation git-svn-id: http://code.djangoproject.com/svn/django/trunk@16526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-08FIlter warnings about deprecated syntax of the `url` template tag in ↵Ramiro Morales
recently added tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-07Fixed #16409 -- Fixed an error condition when using QuerySet only()/defer() ↵Ramiro Morales
on the result of an annotate() call. Thanks jaklaassen AT gmail DOT com and Tai Lee for the reports and Tai for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-06Fixed #16424 -- Fixed regression in collect static management command ↵Jannis Leidel
introduced in r16509 that prevented prefixed collection. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-05Rolled back r16510, r16513 and r16514 because it wasn't ready.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-05Removed left over print statement.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16514 bcc190cf-cafb-0310-a4f2-bffc1f526a37