Merge ssh://holoscopio.com/var/www/cascardo/eventmanager
[cascardo/eventmanager.git] / __init__.py
1 """
2 Copyright (C) 2007 Lincoln de Sousa <lincoln@archlinux-br.org>
3 Copyright (C) 2007 Douglas Andrade <douglas@archlinux-br.org>
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 General Public License for more details.
14
15 You should have received a copy of the GNU General Public
16 License along with this program; if not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19 """
20 def initialize():
21     from eventos.models import Evento
22     from datetime import datetime
23
24     emsl = Evento()
25     emsl.nome = 'Encontro Mineiro de Software Livre'
26     emsl.nome_local = 'UFLA'
27     emsl.nome_contato = 'Monserrat'
28     emsl.data_inicio = datetime(2007, 10, 18)
29     emsl.data_final = datetime(2007, 10, 20)
30     emsl.telefone = ''
31     emsl.rua = ''
32     emsl.numero = ''
33     emsl.cidade = 'Lavras'
34     emsl.uf = 'MG'
35     emsl.save()
36
37     from eventos.models import CategoriaTrabalho
38     #CategoriaTrabalho(nome='Admin').save()
39     #CategoriaTrabalho(nome='Filosofia').save()
40     #CategoriaTrabalho(nome='Desenvolvimento').save()