This PR proposes to fix 3 bugs from D2RP's list of priorities for W14:
[x] Fix showing enrollment end dates in the past instead of "registration closed"
[x] Replace homemade impersonation by django-masquerade
[x] Don't force legal acceptance when impersonating a user who hasn't accepted the last T&C
Dependency benchmark:
Choice of django-masquerade is for its simplicity and activity:
Don't use django-hijack because of its dependency to django-compat,
Don't use django-impersonate because it's complicated, like adding a db table to log all impersonation events,
Could not use django-su because it was not available on pypi.
django-masquerade has only one commiter but it is an old project that has remained active. Anyway, changing the impersonation dependency would be very easy.
This PR proposes to fix 3 bugs from D2RP's list of priorities for W14:
Dependency benchmark:
Choice of django-masquerade is for its simplicity and activity:
django-masquerade has only one commiter but it is an old project that has remained active. Anyway, changing the impersonation dependency would be very easy.
Illustration du point 1