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
Andrews Medina
7a0f29f2c6
added AdminView.
2013-06-21 00:05:23 -03:00
Andrews Medina
27544d5a51
Added more tests for get_attr templatetag.
2013-06-12 17:08:21 -03:00
Andrews Medina
5974642840
Added support for callabels in list_display.
2013-06-07 00:07:24 -03:00
Daniel Greenfeld
be07421d44
Removed admins.py and placed calls to ModelAdmin2 from top namespace
2013-05-31 08:57:25 +02:00
d1ffuz0r
b8413f96e3
change password form dependent from user
2013-05-31 07:24:22 +07:00
d1ffuz0r
8ae0644fb9
#101 #103 added change password, logout views
2013-05-31 06:19:33 +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
Daniel Greenfeld
096267c674
New immutable object type that is properly frozen. Part of #155
2013-05-30 12:11:49 +02:00
Daniel Greenfeld
b2fb02b976
New immutable object type that is properly frozen. Part of #155
2013-05-30 12:11:19 +02:00
Andrew Ingram
3bb555fb56
add missing test for utils.model_app_label
2013-05-28 13:24:02 +01:00
Andrew Ingram
9f41c3f56e
Initial stab at breadcrumbs
...
There's currently a lot of copy-pasting of breadcrumbs, this can be revisited once we have a better understanding of how we're going to handle navigation.
I've also tried to make template context variables more logical and consistent throughout.
2013-05-26 01:55:43 +01:00
Ben Tappin
c79f53bb02
Add tests for admin2 templatetags and fix bug.
2013-05-25 16:45:26 +01:00
Daniel Greenfeld
906b8cbf4e
Adding endline to bump things forward
2013-05-24 20:48:43 +02:00
Daniel Greenfeld
99204be715
Added tests for djadmin.utils
2013-05-24 16:22:54 +02:00
Daniel Greenfeld
5f1f91167f
test cleanup
2013-05-23 20:22:44 +02:00
Daniel Greenfeld
0e03d7a5b0
bike shedding
2013-05-21 00:25:38 +02:00
Gregor Müllegger
8ea3b97786
Using django's TestCase and instead of the one from unittest.
2013-05-19 14:23:18 +02:00
Gregor Müllegger
73a41f5632
Fixing tests for API.
2013-05-19 14:22:18 +02:00
Gregor Müllegger
7754cae894
Fixing tests for API urls.
2013-05-19 14:17:06 +02:00
Daniel Greenfeld
28b6a0f72a
pep8 of code
2013-05-19 10:09:12 +02:00
Peter Inglesby
5223c188c3
Add tests to core
2013-05-18 18:28:31 +02:00
Ludvig Wadenstein
30e6a5b171
Fixed importissue with tests
2013-05-18 15:30:32 +02:00
Peter Inglesby
7c5e7e6883
Rename package to djadmin2
2013-05-18 11:52:03 +02:00