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
Daniel Greenfeld
21a4f94359
Merge pull request #115 from chrislawlor/feature/template-context-refactor
...
Adds model name to AdminModel2Mixin template context.
2013-05-20 10:38:19 -07:00
Chris Lawlor
3d2b347063
Adds model name to AdminModel2Mixin template context.
...
All views subclassing AdminModel2Mixin will need the model
name in their template context, so moving it to the base
class so child views don't all have to override
get_context_data.
2013-05-20 10:34:35 -04:00
Chris Lawlor
32f5e4802f
Adds page title to model create page
2013-05-20 09:07:19 -04:00
Chris Lawlor
c6c44bbdd0
Implements model save options, issue #110
2013-05-20 08:45:34 -04:00
Audrey Roy
b19b477888
Edit form improvement - part of #72
2013-05-19 17:13:20 +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
Raphael Kimmig
603db79ca1
rename modeladmin to model_admin fixes #91
2013-05-19 15:16:21 +02:00
Audrey Roy
1231048281
Better index view. First part of #81
2013-05-19 13:03:25 +02:00
Peter Inglesby
36b502f7c7
Remove spurious print statement
2013-05-19 10:39:32 +02:00
Daniel Greenfeld
28b6a0f72a
pep8 of code
2013-05-19 10:09:12 +02:00
Daniel Greenfeld
774b49ed9f
merge
2013-05-19 10:01:50 +02:00
Daniel Greenfeld
29fc882c4b
merge from @rivo
2013-05-19 09:53:37 +02:00
Daniel Greenfeld
e963553361
merge in from @AndrewIngram for #58
2013-05-19 09:47:42 +02:00
Audrey Roy
74c86f9c3b
Partial checkin of #61
2013-05-18 18:16:25 +02:00
Daniel Greenfeld
55673a8649
Merge
2013-05-18 18:04:40 +02:00
Audrey Roy
a99952375c
Display model name in template
2013-05-18 17:52:53 +02:00
Rivo Laks
bea52a38df
Merge remote-tracking branch 'upstream/master' into permissions
...
Some cleanup as well.
2013-05-18 17:50:07 +02:00
Rivo Laks
e7861323ca
Integrate permissions into views
...
Views now ensure that the user has corresponding permissions.
Also, action buttons, e.g. Add, are shown only when the user can actually do that.
2013-05-18 17:44:56 +02:00
Andrew Ingram
6cbf712548
Fix the errors caused by me deleting utils.py
...
I'm a bad person.
2013-05-18 17:20:49 +02:00
Andrew Ingram
63f5cbaa18
fixes modeladmin kwarg not working
2013-05-18 17:08:03 +02:00
Peter Inglesby
4bd0e90fd1
Refactor views to use new Admin2Mixin
2013-05-18 16:40:18 +02:00
Andrew Ingram
88418efc7b
Added django admin style registration (for now)
...
Big changes to how things are structured, ModelAdmin2 handles its views and urls
2013-05-18 15:43:44 +02:00
Daniel Greenfeld
3b7f4d7fe8
Views cleanup during merge.
2013-05-18 15:26:47 +02:00
Raphael Kimmig
cf01b720e0
add initial views
2013-05-18 14:36:14 +02:00
Audrey Roy
c464645cc3
Enabled admin at admin/ in example. Put admin2 at admin2/.
2013-05-18 13:17:15 +02:00
Daniel Greenfeld
62abced904
Merge branch 'issue2' of git://github.com/inglesp/django-admin2 into inglesp-issue2
2013-05-18 11:56:16 +02:00
Peter Inglesby
7c5e7e6883
Rename package to djadmin2
2013-05-18 11:52:03 +02:00