Last change
on this file since 8fa24c3 was
8fa24c3,
checked in by lhernandez <lhernandez@…>, 7 years ago
|
Generando templates para registrar eventos
|
-
Property mode set to
100644
|
File size:
711 bytes
|
Rev | Line | |
---|
[bf47591] | 1 | from django.shortcuts import render |
---|
[8fa24c3] | 2 | from multi_form_view import MultiModelFormView |
---|
[bf47591] | 3 | |
---|
[8fa24c3] | 4 | from .forms import * |
---|
| 5 | from participantes.forms import ( |
---|
| 6 | FormsetParticipanteEvento |
---|
| 7 | ) |
---|
| 8 | |
---|
| 9 | class RegisterEvent(MultiModelFormView): |
---|
| 10 | """! |
---|
| 11 | Muestra el formulario de registro de usuarios |
---|
| 12 | |
---|
| 13 | @author Ing. Leonel P. Hernandez M. (lhernandez at cenditel.gob.ve) |
---|
| 14 | @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> |
---|
| 15 | @date 20-11-2017 |
---|
| 16 | @version 1.0.0 |
---|
| 17 | """ |
---|
| 18 | template_name = "register.event.html" |
---|
| 19 | form_classes = { |
---|
| 20 | 'event': EventoForm, |
---|
| 21 | 'participante': FormsetParticipanteEvento, |
---|
| 22 | } |
---|
| 23 | #success_url = reverse_lazy('users:home') |
---|
| 24 | record_id=None |
---|
Note: See
TracBrowser
for help on using the repository browser.