""" Copyright (C) 2007 Lincoln de Sousa Copyright (C) 2007 Douglas Andrade This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. """ def initialize(): from eventos.models import Evento from datetime import datetime emsl = Evento() emsl.nome = 'Encontro Mineiro de Software Livre' emsl.nome_local = 'UFLA' emsl.nome_contato = 'Monserrat' emsl.data_inicio = datetime(2007, 10, 18) emsl.data_final = datetime(2007, 10, 20) emsl.telefone = '' emsl.rua = '' emsl.numero = '' emsl.cidade = 'Lavras' emsl.uf = 'MG' emsl.save() from eventos.models import CategoriaTrabalho #CategoriaTrabalho(nome='Admin').save() #CategoriaTrabalho(nome='Filosofia').save() #CategoriaTrabalho(nome='Desenvolvimento').save()