Commit graph

184 commits

Author SHA1 Message Date
Asif Saifuddin Auvi
f86f5a1ee2 add on_delete positional arg to related fields 2018-05-11 00:49:17 +06:00
Asif Saifuddin Auvi
be3a67b9c5 add on_delete positional arg to related fields 2018-05-11 00:36:28 +06:00
Asif Saifuddin Auvi
4a715d95c0 add on_delete positional arg to related fields 2018-05-11 00:34:03 +06:00
Asif Saifuddin Auvi
e3822dee39 fix pep8 errors 2018-05-10 23:23:37 +06:00
Asif Saifuddin Auvi
e7200b7b65 update MIDDLEWARE settings 2018-05-10 23:23:18 +06:00
Asif Saifuddin Auvi
cce430242c fix pep8 errors 2018-05-10 23:15:01 +06:00
Andrews Medina
a95e211d65 add compatibility with last version of deps (#454) 2016-11-29 23:16:39 +06:00
arthur-wsw
8d41a222b7 Hardcoded LoginView (#436)
* Add a way to customize LoginView and Document about it

Resolve #416

* Add test for custom login view

* Remove unused code in test_views
2016-09-03 15:17:37 +06:00
arthur
5261650544 Update admin and admin2 screenshots 2016-06-06 14:20:34 +02: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
e74593d4b4 Use DRF PageNumberPagination to finish fixing DRF tests 2016-05-22 10:20:17 +02:00
arthur
829840f411 Fix model migrations 2016-05-20 10:54:42 +02:00
arthur
37be02f1c6 New example settings generated from django 1.9
Serve media for better manual testing
2016-05-20 10:30:07 +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
54f710055a Add migrations but not use them in test for now 2016-05-07 23:59:55 +02:00
arthur
5bd01187d4 Fix nested object test 2016-05-07 21:36:43 +02:00
arthur
5f9707e467 Delete migration for tox to work 2016-05-07 20:28:04 +02:00
arthur
599ec2d236 Add migrations 2016-05-07 19:44:00 +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
Douglas Miranda
cd65542d03 moving the unpublish_* actions to the right place ( issue #277 ) 2013-09-26 23:42:42 -04: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
Daniel Greenfeld
33b83ead5f Merge pull request #366 from douglasmiranda/implementing-app-verbose-name
Implementing "app verbose name"
2013-08-13 16:51:09 -07:00
Douglas Miranda
7806053516 Using on the blog app the new "app verbose name feature". 2013-08-05 03:37:51 -04:00
Kevin Diale
bf21d8dac4 Adding tests for unselected actions. 2013-08-02 15:13:07 -04:00
Kevin Diale
35cb0bcc75 "only_selected" flag exists to specify whether it should affect the
whole queryset or just those that are selected.
2013-08-02 13:58:57 -04:00
Kevin Diale
9e29500f5c Pretty simple tests for this one. 2013-08-01 18:16:59 -04:00
Kevin Diale
1aa4ee36d6 Implemented ordering, tests in the next commit. 2013-08-01 12:00:03 -04:00
Kevin Diale
bb127c9483 Added unit tests. 2013-07-31 17:31:23 -04:00
Kevin Diale
966e549ace Basic interface done. 2013-07-31 12:57:48 -04:00
Kevin Diale
29eaa661d5 Drilling down works on a functional level. Gotta set up interface and
tests.

On a related note, TAKE THAT DJANGO FILTERS.
2013-07-30 16:28:24 -04:00
Kevin Diale
eb204104bd Added some tests. 2013-07-30 10:05:57 -04:00
Daniel Greenfeld
9e4d2ec039 Move default theme to it's own app. This way we are following the same pattern that other themes will have to use fix #333 2013-07-18 17:55:08 +02:00
Ludvig Wadenstein
3cc592a906 Inlines separated into stacked and tabular 2013-07-18 15:02:07 +02:00
z4r
da632d2841 It should fix #325 2013-07-16 20:36:03 +02:00
Daniel Greenfeld
944baf62db Cleanup of example templates 2013-07-14 12:36:56 +02:00
bootandy
5477b7ad36 fix tests. now require different params on post 2013-07-09 19:36:13 +01:00