Revision 7cd2f6fb
Added by Jérôme Schneider almost 13 years ago
| calebasse/actes/views.py | ||
|---|---|---|
|
from django.shortcuts import redirect
|
||
|
|
||
|
from calebasse.cbv import ListView, UpdateView
|
||
|
from calebasse.agenda import views as agenda_views
|
||
|
from calebasse.agenda.views import NewAppointmentView
|
||
|
|
||
|
import models
|
||
|
import forms
|
||
| ... | ... | |
|
return ctx
|
||
|
|
||
|
act_listing = ActListingView.as_view()
|
||
|
act_new = agenda_views.NewAppointmentView.as_view()
|
||
|
act_new = NewAppointmentView.as_view()
|
||
|
|
||
|
class UpdateActView(UpdateView):
|
||
|
model = models.Act
|
||
Also available in: Unified diff
actes: fix new act dialog
Fix #2792