Commit graph

73 commits

Author SHA1 Message Date
Asif Saif Uddin
933489a491 remove python 2 style codes 2021-10-17 17:09:23 +06:00
Jannis Leidel
f5ee0d12c3
Fix for recent Django. 2021-03-09 13:14:40 +01:00
Kamil Gałuszka
c59a19f336 feat: upgrade Django and Python to supported versions 2020-11-21 22:16:43 +06:00
Asif Saif Uddin
fbd1ab5931 static tag 2018-11-02 21:27:04 +06:00
Asif Saif Uddin
e8bde774cf fixed deprecation warning in views tests 2018-10-23 14:43:45 +06:00
Asif Saif Uddin
f60fb8530c fixed deprecation warning in utils tests 2018-10-23 14:42:16 +06:00
Asif Saif Uddin
18d0d18edd fixed deprecation warning in types tests 2018-10-23 14:41:54 +06:00
Asif Saif Uddin
c4462f79d2 fixed deprecation warning in core tests 2018-10-23 14:37:39 +06:00
Asif Saif Uddin
ffb7f2d595 fixed deprecation warning in admin2tags tests 2018-10-23 14:35:06 +06:00
Asif Saif Uddin
0cbaf7f089 fixed deprecation warning it test_actions 2018-10-23 14:32:57 +06:00
Asif Saif Uddin
8169c11e31 fixed url erros 2018-09-03 14:25:27 +06:00
Asif Saifuddin Auvi
27421081d4 fixed reverse reverse_lazy import errors 2018-05-11 01:23:23 +06:00
Asif Saifuddin Auvi
c8a4153a4d revert 2018-05-10 22:54:47 +06:00
Asif Saifuddin Auvi
9db0b200ff remove init.py from from tests folder to fix import issues 2018-05-10 22:42:49 +06:00
Asif Saifuddin Auvi
c34a0dab19 fixed flake8 errors 2018-05-10 22:22:00 +06:00
Andrews Medina
1d43c71829 Fix tests (#448)
* tox: disable development mode

* fix django-extra-views and djangorestframework versions

* using get_field instead get_field_by_name

to fix compatibility with Django 1.10

* travis: dont test Django 1.10 with Python 3.3
2016-11-13 11:47:08 +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
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
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
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
f3ff443373 Fix flake8 errors 2016-05-07 22:59:15 +02:00
Kamil Gałuszka
d69729e52f Merge pull request #417 from montiniz/py3-fix
Raise syntax no longer accepts comma-separated arguments in python3
2015-03-30 22:53:44 +02:00
montiniz
03dea3c00b Fixed datetime_renderer to be compatible with django 1.8. Django ticket #23466 2015-03-30 12:50:08 -05:00
montiniz
1802fce73d Added tests for ModelAdmin.get_urls 2015-03-21 12:55:06 -05:00
Andrews Medina
ff3cbd413a Merge pull request #386 from tyrion/patch-2
Fixed ModelAdminBase2 to allow overriding existent views.
2015-01-10 18:35:31 -02:00
Kamil Gałuszka
dda1211f43 small fix compatybility for test and dj1.7 2014-10-10 22:19:05 -05:00
Kamil Gałuszka
a20c98d6d4 fixing next py3 problems... only 57 failing tests left. 2014-10-10 22:19:04 -05:00
Kamil Gałuszka
03ebd91f78 fixing django 1.7 errors 2014-10-10 22:19:04 -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
Germano Gabbianelli
606db2fe7a Added tests for pull-request #386
1. Custom views should be prepended to the 'views' list, otherwise they
   could be shadowed by views of the superclass.
2. Custom views should not be added to the superclass 'views' list.
   Instead a new list should be created and assigned to the class.
2013-12-05 12:48:55 +01:00
Gregor Müllegger
4072d4c009 Fixing failing tests, that only occured on Travis. You cannot use a plane, generic View in the Admin since it always needs to be a model based one. At least unless you overwrite the get_*_kwargs method. 2013-11-28 18:11:12 +01:00
Douglas Miranda
cfba14384e Tests for the "app verbose name". 2013-08-05 03:39:17 -04:00
the5fire
6f531ea09f Test for the ModelAdmin2 get_index_kwargs 2013-07-31 07:17:07 +08:00
Andrews Medina
3c7fc0fc0e Merge branch 'develop' into admin_view
Conflicts:
	djadmin2/types.py
2013-07-26 17:55:55 -03:00
Danilo Bargen
2a8bab0170 Added renderer tests 2013-07-07 15:08:41 +02:00
Danilo Bargen
5cd153736d Moved get_attr filter to utils 2013-07-07 15:08:07 +02:00
Daniel Greenfeld
038313c81c merge 2013-07-06 18:33:44 +02:00
Ignasi Fosch
07789f566f djadmin2.utils.model_options tested to adapt to model._meta changes 2013-07-06 17:34:01 +02:00
Ignasi Fosch
260cabcddf Actions tests included in runtest.py execution 2013-07-06 14:22:38 +02:00
Ignasi Fosch
550c6b684b Moving action tests to another file 2013-07-06 14:17:54 +02:00
Daniel Greenfeld
cf77eb0ec5 Merge branch 'iss236' of git://github.com/dbrgn/django-admin2 into develop 2013-07-06 12:07:54 +02:00
Daniel Greenfeld
fa94f81e7f Merge 2013-07-06 11:36:42 +02:00
Danilo Bargen
3e31974b39 Added model_attr_verbose_name template filter.
Renamed the model_field_verbose_name to model_attr_verbose_name in
order to handle both fields and methods.
2013-07-06 11:32:57 +02:00
Danilo Bargen
6331b94a81 Added model_method_verbose_name util function 2013-07-06 11:32:57 +02:00
Danilo Bargen
56b26fb190 Added new template filter: model_field_verbose_name 2013-07-06 11:32:57 +02:00
Andrews Medina
4bf06dd6c2 migrating the views to be admin views.
generating the get_urls dynamically and
support permissions.
2013-06-23 02:52:58 -03:00
Andrews Medina
330cafa309 added name argument in AdminView. 2013-06-22 01:30:09 -03:00
Andrews Medina
b44c66e301 implemented ModelAdminBase2 metaclass. 2013-06-21 02:41:28 -03:00