Chris Jones
d62b612583
nevermind.
2013-07-18 16:38:00 -07:00
Chris Jones
f7ef575709
Should be a detail view.
2013-07-18 16:37:18 -07:00
Chris Jones
82d9e7ae65
PEP8 love.
2013-07-18 16:36:31 -07:00
Chris Jones
ae39a26e13
Use model properties for action ints.
2013-07-18 15:58:31 -07:00
Kenneth Love
598b0a704f
basics for recording history
2013-07-18 13:59:08 -07:00
Chris Jones
fb0e73a37e
PEP8
2013-07-18 13:04:47 -07:00
bootandy
06c2e81392
allow sort by field
2013-07-07 16:48:21 +02:00
Daniel Greenfeld
47df410c07
merge
2013-07-07 16:13:48 +02:00
Daniel Greenfeld
9a8a836141
PEP-8 of filters
2013-07-06 18:26:29 +02:00
Daniel Greenfeld
115c7f9a09
Merge branch 'list_filter' of git://github.com/beezz/django-admin2 into beezz-list_filter
2013-07-06 17:59:21 +02:00
Daniel Greenfeld
847d0ee78f
Add an action_name context variable to model form views
2013-07-06 16:39:42 +02:00
Michal Kuffa
d433013fcc
Merge remote-tracking branch 'upstream/develop' into list_filter
...
Conflicts:
djadmin2/views.py
2013-07-06 16:22:14 +02:00
Michal Kuffa
d41a70143e
build_list_filter method added to ModelListView. This method take care of ModelAdmin2.Meta.list_filter option
2013-07-06 15:47:09 +02:00
bootandy
679a997f80
update docs - context variables
2013-07-06 14:40:49 +02:00
NotSqrt
5ab4f33b6a
check i18n completeness
2013-07-06 13:33:52 +02:00
Danilo Bargen
39aaacccb6
PEP8
2013-07-06 09:37:25 +02:00
Daniel Greenfeld
b580ba7f41
work on prep for #220
2013-07-04 14:07:32 +02:00
d1ffuz0r
256efa679e
#154 changed fbc action views behavior to cbv. added breadcrumbs to actions with multiple items
2013-06-17 11:56:37 +07:00
Wade Austin
095bc1ad5d
Override get_queryset in ModelListView to preform a search if needed
...
Added a get_search_results method to ModelListView based on the logic from django.contrib.admin.views.main.ChangeList
Added search_fields and search_term to the extra context data
2013-06-06 13:00:03 -05:00
Daniel Greenfeld
87d38f0619
for #161 we now support both functions and classes for list actions
2013-06-04 20:18:45 +02:00
Daniel Greenfeld
1195f38b84
More work on admin
2013-05-31 17:38:34 +02:00
Daniel Greenfeld
0da6f453b7
For #161 , this removes the FBV and implements an easily extendible BaseListAction class
2013-05-31 16:47:25 +02:00
Daniel Greenfeld
1916f7cba4
Change list actions to be list_actions so their nature is more explicit
2013-05-31 15:37:55 +02:00
Daniel Greenfeld
bf1657990a
replace django.contrib.admin introduced in last pull request with our own native form
2013-05-31 08:49:24 +02:00
d1ffuz0r
db939ef753
fixed names
2013-05-31 08:25:45 +07:00
d1ffuz0r
8dd3cd4133
added tests
2013-05-31 08:21:43 +07:00
d1ffuz0r
b54c28afc1
deleted LoginRequiredMixin
2013-05-31 07:39:58 +07:00
d1ffuz0r
b8413f96e3
change password form dependent from user
2013-05-31 07:24:22 +07:00
d1ffuz0r
6c0978189a
login view
2013-05-31 06:20:39 +07:00
d1ffuz0r
17bc5acecf
use django-braces for login required views
2013-05-31 06:20:15 +07:00
d1ffuz0r
8ae0644fb9
#101 #103 added change password, logout views
2013-05-31 06:19:33 +07:00
Ben Tappin
f4f400734c
Use utils.model_options() in views and change utils import.
2013-05-29 14:09:26 +01:00
Ben Tappin
11f193ffc9
UI improvements when deleting objects.
...
Shows nested child objects that will be deleted when deleting a single object or multiple objects.
Includes some hacky tests for NestedObjects in the example app.
2013-05-29 12:38:32 +01:00
Gregor Müllegger
0c7615b733
Implementing a class-based permission handling.
2013-05-29 10:43:09 +02: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
30cacb7569
Use PK instead of ID in the model list view and template.
2013-05-24 12:06:35 +01:00
Daniel Greenfeld
0092325262
Used filters to present results of views better for #128
2013-05-23 20:11:04 +02:00
Daniel Greenfeld
611b34fd64
Wrapped all calls to model._meta with model_options function. fix #134
2013-05-23 20:00:14 +02:00
Daniel Greenfeld
638ae91756
PEP-8 work
2013-05-23 19:30:15 +02:00
Daniel Greenfeld
a62d3aceff
merge conflict resolutions
2013-05-23 13:01:27 +02:00
Daniel Greenfeld
af96990275
Move mixins to their own directory so the apiviews aren't directly importing from views
2013-05-22 18:40:53 +02:00
Peter Inglesby
ade92956d0
Handle actions by POSTing to ModelListView
2013-05-22 11:32:01 +01:00
Andrew Ingram
a1ce27d4c2
Improve the rendering of inline form sets
2013-05-22 01:06:25 +01:00
Andrew Ingram
05f69775b2
Merge remote-tracking branch 'origin/develop' into inline-formsets
...
Conflicts:
djadmin2/templates/admin2/bootstrap/model_add_form.html
djadmin2/templates/admin2/bootstrap/model_edit_form.html
djadmin2/views.py
2013-05-22 00:58:53 +01:00
Audrey Roy
b79523c659
Refactor duplicate model add/edit forms.
2013-05-21 15:45:08 -07:00
Daniel Greenfeld
5836a1cb97
Merge branch 'develop' of https://github.com/twoscoops/django-admin2 into develop
2013-05-22 00:38:24 +02:00
Daniel Greenfeld
192229e513
Fix admin2_tags templatetag reference that was bad
2013-05-22 00:37:14 +02:00
Audrey Roy
16ceca0dfe
Model edit form now reuses save logic
2013-05-21 23:50:50 +02:00
Daniel Greenfeld
ce835ffc79
Merge branch 'feature/save-options' of git://github.com/chrislawlor/django-admin2 into chrislawlor-feature/save-options
2013-05-21 23:18:53 +02:00
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