Chris Lawlor
f66ffe8c86
Use admin2_url, redirect create form to index view.
...
Uses the template tag admin2_url to create namespaced view names
from inside of views.
Create model form now redirects to the model index page, as
django.contrib.admin. does.
Removed get_success_url from ModelListView, as generic.ListView
does not call this method.
2013-05-21 14:01:30 -04:00
Chris Lawlor
c6c44bbdd0
Implements model save options, issue #110
2013-05-20 08:45:34 -04:00
Daniel Greenfeld
0859342ae4
Merge pull request #97 from RaphaelKimmig/rename-modeladmin-model_admin
...
rename modeladmin to model_admin fixes #91
2013-05-19 07:30:40 -07:00
Gregor Müllegger
155f19db52
Adding smoke tests for User and Group API resources.
2013-05-19 16:01:30 +02:00
Raphael Kimmig
973ec97b2e
Merge remote-tracking branch 'upstream/master' into rename-modeladmin-model_admin
...
Conflicts:
djadmin2/core.py
djadmin2/templates/admin2/bootstrap/index.html
djadmin2/views.py
2013-05-19 15:45:24 +02:00
Gregor Müllegger
bc899a9389
Adding support for pagination.
2013-05-19 14:23:18 +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
631727d0f0
Tests for the API index view.
2013-05-19 14:23:18 +02:00
Gregor Müllegger
09dd2095e3
Fixing names for views beeing more consistent and tests for API views.
2013-05-19 14:22:50 +02:00
Ludvig Wadenstein
09a1f2465f
Added test for detail view in api
2013-05-19 14:21:22 +02:00
Ludvig Wadenstein
585d4d9e8e
Just commiting to be able to merge
2013-05-19 14:21:21 +02:00
Ludvig Wadenstein
6cc5b5e18a
Added test for unicode field in rest api
2013-05-19 14:20:18 +02:00
Gregor Müllegger
8e2aebcc09
Renaming a few things to make more sense and to stick to conventions.
2013-05-19 14:19:57 +02:00
Ludvig Wadenstein
9f25a3671a
Added basic test for api index view
2013-05-19 14:19:57 +02:00
Ludvig Wadenstein
2a28417f0f
Added test for unicode field in rest api
2013-05-19 14:17:07 +02:00
Ludvig Wadenstein
bfc61eadcb
Added basic test for api index view
2013-05-19 14:16:15 +02:00
Ludvig Wadenstein
1c77a0a740
Changed blog.tests into a directory. WARNING: remove test.pyc
2013-05-19 14:16:15 +02:00