Audrey Roy
cc6e8467c4
Rename constants module to settings
2013-06-03 22:44:16 +02: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
2b172fdcc2
merge from develop
2013-05-31 06:55:34 +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
Gregor Müllegger
b54048c744
Re-wording the variable 'backend' based on @RaphaelKimmig's code review.
2013-05-29 11:00:59 +02:00
Gregor Müllegger
42d89a7585
Moving permission checking from AdminModel2Mixin to PermissionMixin were it belongs.
2013-05-29 10:47:45 +02:00
Gregor Müllegger
635bbca553
Adding |for_view filter to bind permissions for a view name.
2013-05-29 10:44:22 +02:00
Gregor Müllegger
2aca9df7e2
Adding possibility to swap model admin that is checked for permissions in the template.
2013-05-29 10:44:22 +02:00
Gregor Müllegger
c6a11efca8
Adding ability to check for permissions of any registered model admin in the templates.
2013-05-29 10:44:22 +02:00
Gregor Müllegger
ab778191c6
Adding the ability to check for permissions in templates.
2013-05-29 10:44:22 +02:00
Gregor Müllegger
324cdbaa17
Moving permission logic of views into its own mixin. Also allow to check permission on other views via the PermissionMixin.
2013-05-29 10:43:09 +02: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
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
d8409a2070
For #134 , this moves many independant functions to the utils module and begins conversion of naked ._meta use to using the utils.model_options wrapper
2013-05-23 19:46:03 +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