Kevin Diale
bf21d8dac4
Adding tests for unselected actions.
2013-08-02 15:13:07 -04:00
Kevin Diale
9e29500f5c
Pretty simple tests for this one.
2013-08-01 18:16:59 -04:00
Kevin Diale
bb127c9483
Added unit tests.
2013-07-31 17:31:23 -04:00
Kevin Diale
eb204104bd
Added some tests.
2013-07-30 10:05:57 -04:00
bootandy
5477b7ad36
fix tests. now require different params on post
2013-07-09 19:36:13 +01:00
Danilo Bargen
84d8d424d0
Fixed tests
2013-07-07 23:06:57 +02:00
Danilo Bargen
4977f269b5
Implemented actions_on_top and actions_on_bottom ( fixes #267 , #268 )
2013-07-07 16:46:59 +02:00
Danilo Bargen
6e42b9459d
Blog example app tests
2013-07-07 15:08:41 +02:00
NotSqrt
c132a7cdd0
more details on i18n
2013-07-07 11:00:49 +02:00
Michal Kuffa
aefd7d8df0
Added simple test for presence of list_filter container
2013-07-06 16:48:42 +02:00
d1ffuz0r
256efa679e
#154 changed fbc action views behavior to cbv. added breadcrumbs to actions with multiple items
2013-06-17 11:56:37 +07:00
Wade Austin
e199b13c3c
search_fields test cases
2013-06-06 16:25:36 -05:00
Daniel Greenfeld
39a4d01706
Test fixes
2013-06-04 11:35:47 +02:00
Daniel Greenfeld
b7feb5f284
Merge branch 'drop_down_fires_nothing_selected' of git://github.com/waustin/django-admin2 into waustin-drop_down_fires_nothing_selected
2013-06-04 11:21:07 +02:00
Wade Austin
4b8b8d8b47
Fix for Issue #178
...
If an action is selected and no objects are selected the message "Items must be selected in order to perform actions on them. No items have been changed." is displayed instead of the user being sent to Action confirmation screen.
2013-06-03 21:09:41 -05:00
Ludvig Wadenstein
9c296ccff5
Updated tests
2013-06-02 21:09:04 +02:00
Daniel Greenfeld
0da6f453b7
For #161 , this removes the FBV and implements an easily extendible BaseListAction class
2013-05-31 16:47:25 +02:00
d1ffuz0r
db939ef753
fixed names
2013-05-31 08:25:45 +07:00
d1ffuz0r
8dd3cd4133
added tests
2013-05-31 08:21:43 +07:00
Ben Tappin
11f193ffc9
UI improvements when deleting objects.
...
Shows nested child objects that will be deleted when deleting a single object or multiple objects.
Includes some hacky tests for NestedObjects in the example app.
2013-05-29 12:38:32 +01:00
Ben Tappin
30cacb7569
Use PK instead of ID in the model list view and template.
2013-05-24 12:06:35 +01:00
Chris Lawlor
396f49665e
Fixes message display after action handling.
...
Calls unicode to force encoding of object name to a localized
unicode string. Also fixes deleted object count by saving
len(queryset) to a local var before calling queryset.delete(), as
the len after queryset.delete() is always zero.
2013-05-23 15:37:50 -04:00
Daniel Greenfeld
638ae91756
PEP-8 work
2013-05-23 19:30:15 +02:00
Daniel Greenfeld
a62d3aceff
merge conflict resolutions
2013-05-23 13:01:27 +02:00
Peter Inglesby
ade92956d0
Handle actions by POSTing to ModelListView
2013-05-22 11:32:01 +01:00
Andrew Ingram
5abe25e4c2
Fix broken tests
2013-05-22 01:22:39 +01:00
Chris Lawlor
f66ffe8c86
Use admin2_url, redirect create form to index view.
...
Uses the template tag admin2_url to create namespaced view names
from inside of views.
Create model form now redirects to the model index page, as
django.contrib.admin. does.
Removed get_success_url from ModelListView, as generic.ListView
does not call this method.
2013-05-21 14:01:30 -04:00
Chris Lawlor
c6c44bbdd0
Implements model save options, issue #110
2013-05-20 08:45:34 -04:00
Ludvig Wadenstein
585d4d9e8e
Just commiting to be able to merge
2013-05-19 14:21:21 +02:00
Ludvig Wadenstein
1c77a0a740
Changed blog.tests into a directory. WARNING: remove test.pyc
2013-05-19 14:16:15 +02:00