gestioCOF/kfet
Aurélien Delobelle ded824bddd Cleaner use of Group in kfet app
KFetGroup model
- Provides a distinction from non-kfet Groups.
- Convert code appropriately.
- Initially filled from Groups containing K-Fêt (this was the previous
distinction) in the kfetauth.0002 migration.

Permission proxy model (kfetauth app)
- Proxy of the django.contrib.auth Permission model.
- Adds the 'kfet' manager which returns only kfet-related permissions.

KeepUnselectableModelFormMixin
- Helps to keep the unselectable items of many-to-many field for
ModelForm.
- 'kfetauth' forms (related to KFetGroup) use this mixin.

Using KFetGroup allows to simplify the 'kfet/account_group_form.html' template.

A bug is also fixed in 'kfet/form_field_snippet.html', which could lead to
prevent field displays if they used CheckboxSelectMultiple widget.
2017-09-29 22:37:30 +02:00
..
auth Cleaner use of Group in kfet app 2017-09-29 22:37:30 +02:00
cms Add missing migrations 2017-06-25 16:30:49 +01:00
fixtures create checkout dynamically 2017-02-08 15:26:56 -02:00
management/commands Cleaner use of Group in kfet app 2017-09-29 22:37:30 +02:00
migrations Move auth-related from 'kfet' app to 'kfet.auth'. 2017-09-19 17:05:51 +02:00
open Fix kfet navbar on small devices 2017-09-03 14:42:38 +02:00
static/kfet Merge branch 'master' into aureplop/kfet_cms 2017-06-23 02:53:05 +02:00
templates/kfet Cleaner use of Group in kfet app 2017-09-29 22:37:30 +02:00
templatetags Improvements for K-Fêt CMS. 2017-06-12 01:51:10 +02:00
tests Move auth-related from 'kfet' app to 'kfet.auth'. 2017-09-19 17:05:51 +02:00
__init__.py Ajout message pour proposer connexion standard 2016-09-10 22:49:07 +02:00
admin.py initial 2016-08-02 10:40:46 +02:00
apps.py Use django-djconfig for kfet app. 2017-04-03 20:32:16 +02:00
autocomplete.py exclude empty strings from ldap results 2017-04-01 22:07:32 +01:00
config.py Subvention -> Réduction + units for kfet_config 2017-04-10 11:36:06 +02:00
consumers.py kfet.open 2017-06-21 07:08:28 +02:00
context_processors.py Move auth-related from 'kfet' app to 'kfet.auth'. 2017-09-19 17:05:51 +02:00
decorators.py kfet.open 2017-06-21 07:08:28 +02:00
forms.py Move auth-related from 'kfet' app to 'kfet.auth'. 2017-09-19 17:05:51 +02:00
models.py Cleaner use of Group in kfet app 2017-09-29 22:37:30 +02:00
routing.py kfet.open 2017-06-21 07:08:28 +02:00
signals.py Merge branch 'master' into aureplop/kfet_cms 2017-06-23 02:53:05 +02:00
statistic.py Better scale management for order creation 2017-05-19 17:40:06 +02:00
urls.py Merge branch 'master' into aureplop/kfet_cms 2017-06-23 02:53:05 +02:00
utils.py fix PermConsumerMixin 2017-06-25 22:29:12 +02:00
views.py Move auth-related from 'kfet' app to 'kfet.auth'. 2017-09-19 17:05:51 +02:00