Changeset 7bd4cab in observatorio
- Timestamp:
- Aug 1, 2014, 11:25:24 AM (10 years ago)
- Branches:
- master
- Children:
- a217900
- Parents:
- 2be26ce
- Location:
- procesos/borrar
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
procesos/borrar/__init__.py
r7c9f979 r7bd4cab 1 # -*- coding: utf-8 -*- 2 """ 3 OBSERVATORIO DEL SISTEMA PRODUCTIVO VENEZOLANO 4 5 Copyleft (C) 2014 CENDITEL Nodo Mérida. http://www.cenditel.gob.ve/ 6 7 """ 8 ## @namespace borrar.__init__ 9 # 10 # Inicializa el paquete como un módulo de python y contiene instrucciones y documentación inicial del mismo -
procesos/borrar/models.py
r7c9f979 r7bd4cab 1 1 # -*- coding: utf-8 -*- 2 """ 3 OBSERVATORIO DEL SISTEMA PRODUCTIVO VENEZOLANO 4 5 Copyleft (C) 2014 CENDITEL Nodo Mérida. http://www.cenditel.gob.ve/ 6 7 """ 8 ## @namespace borrar.models 9 # 10 # Contiene las clases y métodos a implementar en el modelo de datos del módulo borrar 2 11 from django.db import models 3 from comun.models import Unida_medida, Codigo_aran12 from comun.models import Unida_medida, Codigo_Aran 4 13 5 class Bienes(model .Models):14 class Bienes(models.Model): 6 15 """ 7 16 @note: Clase para la persistencia de los objetos tipo Bienes. 8 17 @licence: GPLv2 9 @organization: CENDITEL Nodo M ?rida18 @organization: CENDITEL Nodo Mérida 10 19 @author: Ing. Erwin Paredes. 11 20 @date: 2010-07-07 … … 13 22 nombre = models.CharField(max_length=100) 14 23 descripcion = models.CharField(max_length=100) 15 esp_tec = models.TextField(help_text='Especificaci on tecnica')16 codigo_aran = models.ForeignKey(Codigo_ aran, db_column='codigo')24 esp_tec = models.TextField(help_text='Especificación técnica') 25 codigo_aran = models.ForeignKey(Codigo_Aran, db_column='codigo') 17 26 uso_principal = models.TextField(help_text='Uso principal') 18 27 peso = models.FloatField() -
procesos/borrar/tests.py
r7c9f979 r7bd4cab 1 # -*- coding: utf-8 -*- 1 2 """ 2 This file demonstrates two different styles of tests (one doctest and one 3 unittest). These will both pass when you run "manage.py test". 3 OBSERVATORIO DEL SISTEMA PRODUCTIVO VENEZOLANO 4 4 5 Replace these with more appropriate tests for your application. 5 Copyleft (C) 2014 CENDITEL Nodo Mérida. http://www.cenditel.gob.ve/ 6 6 7 """ 7 8 ## @namespace borrar.tests 9 # 10 # Incorpora la implementación de pruebas unitarias a aplicar en el módulo borrar 8 11 from django.test import TestCase 9 12 -
procesos/borrar/views.py
r7c9f979 r7bd4cab 1 # Create your views here. 1 # -*- coding: utf-8 -*- 2 """ 3 OBSERVATORIO DEL SISTEMA PRODUCTIVO VENEZOLANO 4 5 Copyleft (C) 2014 CENDITEL Nodo Mérida. http://www.cenditel.gob.ve/ 6 7 """ 8 ## @namespace borrar.views 9 # 10 # Incorpora las funciones necesarias para atender las peticiones de vista del módulo borrar
Note: See TracChangeset
for help on using the changeset viewer.