Commit graph

88 commits

Author SHA1 Message Date
Asif Saifuddin Auvi
27421081d4 fixed reverse reverse_lazy import errors 2018-05-11 01:23:23 +06:00
arthur
7f2ae25920 Removing django-crispy-forms and django-floppyforms
Resolve #433 #343
2016-05-26 19:14:39 +02:00
arthur
bd35ffc676 Update default theme to a bootstrap3 theme based on http://startbootstrap.com/template-overviews/sb-admin-2/
Resolve #360
2016-05-26 11:34:21 +02:00
arthur
3b09d8b02d Fix lasts tests 2016-05-22 14:32:38 +02:00
arthur
e9db0de137 New way to invalidate the users permission cache in test by loading user from database 2016-05-22 14:23:51 +02:00
arthur
986d7e7fea Replace DATE_FORMAT with %Y-%m-%d in floppyforms tests because it has been hardcoded since 1.3 because it is required by the W3C HTML5 specification.
53d1d8a8d7
2016-05-22 11:28:10 +02:00
arthur
00522b6c9e Fix test_apiviews (remove a space) 2016-05-20 09:20:01 +02:00
arthur
d9a6da6e52 Try fix for some blog test 2016-05-19 18:27:41 +02:00
arthur
0b923103f3 Replace IPAddressField with GenericIPAddressField 2016-05-19 17:05:21 +02:00
arthur
41133b2b9c Fix imports 2016-05-08 01:38:44 +02:00
arthur
babe7a70c7 Optimise imports 2016-05-08 01:31:16 +02:00
arthur
23f7f9479a create a djadmin2_site in djadmin2/site.py to make it work in django 1.9 2016-05-08 01:29:17 +02:00
arthur
5bd01187d4 Fix nested object test 2016-05-07 21:36:43 +02:00
montiniz
8a51b321f3 django 1.8 fixes 2015-03-30 12:40:13 -05:00
montiniz
a6e7755a55 Fixes for compatibility with python3. 2014-11-26 09:42:17 -06:00
Kamil Gałuszka
03ebd91f78 fixing django 1.7 errors 2014-10-10 22:19:04 -05:00
Kamil Gałuszka
84bf9f2073 fixing test with modelforms 2014-10-10 22:19:03 -05:00
Kamil Gałuszka
b341d763f0 many fixes to django-admin2 with py3
and django 1.7 compatybility
2014-10-10 22:19:02 -05:00
Gregor Müllegger
b8ab2e4408 Make sure that the urls.py is loaded before the tests are run. Django 1.6 doesn't guarantee this anymore. Part of a Fix for #387. 2013-11-28 12:03:08 +01:00
yarbelk
690401d604 Fix missing enctype="multipart/form-data" when needed
- add app example.files with tests, based on example2.
- add check in base update template which checks if
  form.is_multitype and adds the encoding for it
- update gitignore to ignore the uploaded media folder
- add test to blog to ensure that the create form is not
  multipart encoded
2013-09-11 22:20:38 +08:00
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
Daniel Greenfeld
038313c81c merge 2013-07-06 18:33:44 +02:00
Michal Kuffa
075f887837 Added basic test for list_filter feature 2013-07-06 17:39:36 +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
Daniel Greenfeld
56466a61bd Merge branch 'implement_search_fields' of git://github.com/waustin/django-admin2 into waustin-implement_search_fields 2013-06-07 10:08:49 +02:00
Wade Austin
e199b13c3c search_fields test cases 2013-06-06 16:25:36 -05:00
Gregor Müllegger
b88587f682 Adding test to check if view permissions have been created. 2013-06-06 10:29:10 +02:00
Gregor Müllegger
1a04f285ff Fixes #181 -- Choices were not copied for Select widgets for floppified forms. 2013-06-04 22:31:59 +02: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
972968b5b1 Move towards internal consistency of URL name definitions 2013-06-01 13:48:53 +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
Daniel Greenfeld
be07421d44 Removed admins.py and placed calls to ModelAdmin2 from top namespace 2013-05-31 08:57:25 +02:00
Daniel Greenfeld
fd6c0a57b3 Added Roman Gladkov as a contributor, PEP8 and djadmin2 standards fixes 2013-05-31 08:36:09 +02:00
d1ffuz0r
cff5674539 revert auth tests 2013-05-31 10:37:14 +07: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
d1ffuz0r
b54c28afc1 deleted LoginRequiredMixin 2013-05-31 07:39:58 +07:00
Daniel Greenfeld
9acdf9e2f8 fixes #155, which is moving models.py to types.py. Using admins.py as an alias for the old models.py module 2013-05-30 12:33:00 +02:00