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
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