forked from DGNum/gestioCOF
Rend le calendrier plus dynamique
Plus besoin de s'authentifier pour accéder au calendrier : il suffit d'entrer la bonne url qui contient un token aléatoire propre à chaque utilisateur. Ce token ne change pas lorsqu'on modifie son inscription
This commit is contained in:
parent
301c374ee4
commit
7b32edbd38
6 changed files with 28 additions and 14 deletions
|
@ -42,5 +42,6 @@ events_patterns = [
|
|||
|
||||
calendar_patterns = [
|
||||
url(r'^subscription$', 'gestioncof.views.calendar'),
|
||||
url(r'^calendar.ics$', 'gestioncof.views.calendar_ics')
|
||||
url(r'^(?P<token>[a-z0-9-]+)/calendar.ics$',
|
||||
'gestioncof.views.calendar_ics')
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue