Gérer la fin de scolarité #9
1 changed files with 7 additions and 3 deletions
|
@ -179,6 +179,7 @@ Configuration
|
||||||
Set ``SOCIALACCOUNT_ADAPTER='allauth_ens.adapter.LongTermClipperAccountAdapter'``
|
Set ``SOCIALACCOUNT_ADAPTER='allauth_ens.adapter.LongTermClipperAccountAdapter'``
|
||||||
in `settings.py`
|
in `settings.py`
|
||||||
|
|
||||||
|
|
||||||
Auto-signup
|
Auto-signup
|
||||||
Populated data
|
Populated data
|
||||||
- username: ``<clipper>@<entrance year>``
|
- username: ``<clipper>@<entrance year>``
|
||||||
|
@ -188,6 +189,7 @@ Auto-signup
|
||||||
and *promotion* parsed from LDAP's *homeDirectory* field (available only on
|
and *promotion* parsed from LDAP's *homeDirectory* field (available only on
|
||||||
first connection)
|
first connection)
|
||||||
|
|
||||||
|
|
||||||
Account deprecation
|
Account deprecation
|
||||||
At the beginning of each year (i.e. early November), to prevent clipper
|
At the beginning of each year (i.e. early November), to prevent clipper
|
||||||
username conflicts, you should run ``$ python manage.py deprecate_clippers``.
|
username conflicts, you should run ``$ python manage.py deprecate_clippers``.
|
||||||
|
@ -196,6 +198,7 @@ Account deprecation
|
||||||
(using LDAP), so that a known user keeps his account, but a newcomer won't
|
(using LDAP), so that a known user keeps his account, but a newcomer won't
|
||||||
inherit an archicube's.
|
inherit an archicube's.
|
||||||
|
|
||||||
|
|
||||||
Customize
|
Customize
|
||||||
You can customize the SocialAccountAdapter by inheriting
|
You can customize the SocialAccountAdapter by inheriting
|
||||||
``allauth_ens.adapter.LongTermClipperAccountAdapter``. You might want to
|
``allauth_ens.adapter.LongTermClipperAccountAdapter``. You might want to
|
||||||
|
@ -206,6 +209,7 @@ Customize
|
||||||
``get_username`` (as done in the example website) allows to get rid of that
|
``get_username`` (as done in the example website) allows to get rid of that
|
||||||
behaviour, and for instance attribute a default entrance year.
|
behaviour, and for instance attribute a default entrance year.
|
||||||
|
|
||||||
|
|
||||||
Initial migration
|
Initial migration
|
||||||
If you used allauth without LongTermClipperAccountAdapter, or another CAS
|
If you used allauth without LongTermClipperAccountAdapter, or another CAS
|
||||||
interface to log in, you need to update the Users to the new username policy,
|
interface to log in, you need to update the Users to the new username policy,
|
||||||
|
|
Loading…
Reference in a new issue