Commit graph

14 commits

Author SHA1 Message Date
Daniel Greenfeld
403733e1d4 merge in @inglesp 2013-05-19 10:20:09 +02:00
Daniel Greenfeld
28b6a0f72a pep8 of code 2013-05-19 10:09:12 +02:00
Daniel Greenfeld
e963553361 merge in from @AndrewIngram for #58 2013-05-19 09:47:42 +02:00
Daniel Greenfeld
e48641cde9 Index work 2013-05-18 18:33:43 +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
24bfdab8a6 custom form class support
Also sets framework for adding kwargs to any admin2 view
2013-05-18 16:59:06 +02:00
Rivo Laks
d8a82edc27 Merge remote-tracking branch 'upstream/master' into permissions
Conflicts:
	djadmin2/models.py
2013-05-18 16:22:53 +02:00
Andrew Ingram
0a310f3830 Reformat modeladmin urls 2013-05-18 15:57:42 +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
Rivo Laks
e29767a208 Create view permissions for all models when syncdb is run
Works exactly the same way as that of the standard add/change/delete permissions
(the code is in fact copied from there).
2013-05-18 15:09:14 +02:00
Rivo Laks
c4dbe6f735 Implement proper permission checkin in Admin2
Uses Django's builtin per-model permissions (add/change/delete plus view which we'll add)
and also supports per-object permissions.
2013-05-18 15:07:34 +02:00
Peter Inglesby
7c5e7e6883 Rename package to djadmin2 2013-05-18 11:52:03 +02:00
Renamed from admin2/models.py (Browse further)