# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'Nivelacion.tonelaje' db.alter_column(u'control_nivelacion', 'tonelaje', self.gf('django.db.models.fields.IntegerField')()) def backwards(self, orm): # Changing field 'Nivelacion.tonelaje' db.alter_column(u'control_nivelacion', 'tonelaje', self.gf('django.db.models.fields.FloatField')()) models = { u'auth.group': { 'Meta': {'object_name': 'Group'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) }, u'auth.permission': { 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'}, 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'auth.user': { 'Meta': {'object_name': 'User'}, 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) }, u'contenttypes.contenttype': { 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'control.catconceptosad': { 'Meta': {'object_name': 'CatConceptosAD'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'texto': ('django.db.models.fields.CharField', [], {'max_length': '250'}) }, u'control.catescuela': { 'Meta': {'ordering': "['folio', 'localidad', 'nombre']", 'unique_together': "(['clave', 'folio'],)", 'object_name': 'CatEscuela'}, 'clave': ('django.db.models.fields.CharField', [], {'max_length': '10'}), 'domicilio': ('django.db.models.fields.CharField', [], {'max_length': '500'}), 'folio': ('django.db.models.fields.CharField', [], {'max_length': '7'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'localidad': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.Localidad']"}), 'no_jn': ('django.db.models.fields.CharField', [], {'max_length': '20'}), 'nombre': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'ruta': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatRuta']"}), 'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) }, u'control.catobservaciones': { 'Meta': {'ordering': "['clave', 'nombre']", 'unique_together': "(['clave', 'nombre'],)", 'object_name': 'CatObservaciones'}, 'clave': ('django.db.models.fields.CharField', [], {'max_length': '5'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'nombre': ('django.db.models.fields.CharField', [], {'max_length': '250'}) }, u'control.catpaquete': { 'Meta': {'ordering': "['tipoPaquete']", 'object_name': 'CatPaquete'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'noContrato': ('django.db.models.fields.CharField', [], {'max_length': '20'}), 'peso': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '5', 'decimal_places': '3', 'blank': 'True'}), 'precio': ('django.db.models.fields.DecimalField', [], {'max_digits': '6', 'decimal_places': '2'}), 'producto': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['control.CatProductos']", 'symmetrical': 'False'}), 'proveedor': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatProveedor']"}), 'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'tipoPaquete': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.TipoPaquete']"}) }, u'control.catpersona': { 'Meta': {'ordering': "['nombre', 'apellidoPaterno']", 'object_name': 'CatPersona'}, 'apellidoMaterno': ('django.db.models.fields.CharField', [], {'max_length': '50'}), 'apellidoPaterno': ('django.db.models.fields.CharField', [], {'max_length': '50'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'municipio': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.Municipio']"}), 'nombre': ('django.db.models.fields.CharField', [], {'max_length': '50'}), 'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'tipoPersona': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatTipoPersona']"}), 'usuario': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'}) }, u'control.catpresentacionproducto': { 'Meta': {'ordering': "['presentacion']", 'unique_together': "(['presentacion'],)", 'object_name': 'CatPresentacionProducto'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'presentacion': ('django.db.models.fields.CharField', [], {'max_length': '20'}) }, u'control.catproductos': { 'Meta': {'ordering': "['nombre']", 'unique_together': "(['nombre'],)", 'object_name': 'CatProductos'}, 'cantidad': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), 'descripcion': ('django.db.models.fields.TextField', [], {}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'marca': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), 'nombre': ('django.db.models.fields.CharField', [], {'max_length': '30'}), 'presentacion': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatPresentacionProducto']"}), 'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) }, u'control.catproveedor': { 'Meta': {'ordering': "['nombreProveedor']", 'unique_together': "(['nombreProveedor'],)", 'object_name': 'CatProveedor'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'licitacion': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), 'nombreProveedor': ('django.db.models.fields.CharField', [], {'max_length': '300'}), 'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) }, u'control.catproyecto': { 'Meta': {'ordering': "['numeroProyecto']", 'unique_together': "(['numeroProyecto'],)", 'object_name': 'CatProyecto'}, 'descripcion': ('django.db.models.fields.CharField', [], {'max_length': '100'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'municipio': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.Municipio']"}), 'numeroProyecto': ('django.db.models.fields.CharField', [], {'max_length': '6'}) }, u'control.catruta': { 'Localidad': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['control.Localidad']", 'symmetrical': 'False'}), 'Meta': {'ordering': "['nombre']", 'unique_together': "(['nombre'],)", 'object_name': 'CatRuta'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'nombre': ('django.db.models.fields.IntegerField', [], {}) }, u'control.cattipopersona': { 'Meta': {'ordering': "['nombre']", 'unique_together': "(['clave', 'nombre'],)", 'object_name': 'CatTipoPersona'}, 'clave': ('django.db.models.fields.CharField', [], {'max_length': '5'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'nombre': ('django.db.models.fields.CharField', [], {'max_length': '50'}) }, u'control.catvehiculo': { 'Meta': {'ordering': "['modelo']", 'unique_together': "(['numPlaca'],)", 'object_name': 'CatVehiculo'}, 'capacidad': ('django.db.models.fields.DecimalField', [], {'max_digits': '5', 'decimal_places': '2'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'marca': ('django.db.models.fields.CharField', [], {'max_length': '20'}), 'modelo': ('django.db.models.fields.CharField', [], {'max_length': '10'}), 'numPlaca': ('django.db.models.fields.CharField', [], {'max_length': '10'}) }, u'control.comite': { 'DocumentoComite': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), 'Meta': {'ordering': "['escuela']", 'object_name': 'Comite'}, 'escuela': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatEscuela']"}), 'fecha': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2015, 5, 18, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'promotor': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatPersona']"}) }, u'control.dotacion': { 'Meta': {'unique_together': "(('registro_abasto',),)", 'object_name': 'Dotacion'}, 'concepto': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatConceptosAD']", 'null': 'True', 'blank': 'True'}), 'concepto_leche': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'leches': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), 'opcion': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), 'opcion_leches': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), 'paquetes': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), 'registro_abasto': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.RegistroAbasto']"}) }, u'control.localidad': { 'Meta': {'ordering': "['municipio', 'nombre']", 'unique_together': "(['nombre', 'municipio'],)", 'object_name': 'Localidad'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'municipio': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.Municipio']"}), 'nombre': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'numero': ('django.db.models.fields.CharField', [], {'max_length': '4'}) }, u'control.municipio': { 'Meta': {'ordering': "['nombre']", 'unique_together': "(['nombre'],)", 'object_name': 'Municipio'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'nombre': ('django.db.models.fields.CharField', [], {'max_length': '100'}) }, u'control.nivelacion': { 'Meta': {'object_name': 'Nivelacion'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'programacionentrega': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.ProgramacionEntrega']"}), 'ruta': ('django.db.models.fields.related.ForeignKey', [], {'default': '0', 'to': u"orm['control.CatRuta']"}), 'tonelaje': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'total_leches': ('django.db.models.fields.IntegerField', [], {}), 'total_paquetes': ('django.db.models.fields.IntegerField', [], {}) }, u'control.programacionentrega': { 'Meta': {'ordering': "['nombre_chofer']", 'object_name': 'ProgramacionEntrega'}, 'ano': ('django.db.models.fields.CharField', [], {'max_length': '20'}), 'escuela': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['control.CatEscuela']", 'through': u"orm['control.ProgramacionEntregaEscuela']", 'symmetrical': 'False'}), 'fecha_reparto': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2015, 5, 18, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'mes': ('django.db.models.fields.CharField', [], {'max_length': '20'}), 'municipio': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.Municipio']"}), 'nombre_chofer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatPersona']"}), 'vehiculo': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatVehiculo']"}) }, u'control.programacionentregaescuela': { 'Meta': {'object_name': 'ProgramacionEntregaEscuela'}, 'escuela': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatEscuela']"}), 'estatus': ('django.db.models.fields.CharField', [], {'max_length': '20'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'programacion': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.ProgramacionEntrega']"}), 'registro_abasto': ('django.db.models.fields.IntegerField', [], {'default': '0'}) }, u'control.registroabasto': { 'Meta': {'ordering': "['escuela']", 'object_name': 'RegistroAbasto'}, 'anio': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2015, 5, 18, 0, 0)'}), 'ano': ('django.db.models.fields.CharField', [], {'default': "'2015'", 'max_length': '20'}), 'enviado': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'escuela': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatEscuela']"}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'mes': ('django.db.models.fields.CharField', [], {'default': "'Mayo'", 'max_length': '20'}), 'ninas': ('django.db.models.fields.IntegerField', [], {}), 'ninos': ('django.db.models.fields.IntegerField', [], {}), 'observacion': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatObservaciones']", 'null': 'True', 'blank': 'True'}), 'promotor': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.CatPersona']"}), 'totalMadres': ('django.db.models.fields.IntegerField', [], {}), 'totalNinos': ('django.db.models.fields.IntegerField', [], {}), 'totalNinosLeche': ('django.db.models.fields.IntegerField', [], {}) }, u'control.tipopaquete': { 'Meta': {'ordering': "['nombre']", 'unique_together': "(['clave'],)", 'object_name': 'TipoPaquete'}, 'clave': ('django.db.models.fields.CharField', [], {'max_length': '2'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'nombre': ('django.db.models.fields.CharField', [], {'max_length': '20'}) }, u'control.validarcuadroabasto': { 'Meta': {'ordering': "['Municipio']", 'object_name': 'ValidarCuadroAbasto'}, 'Municipio': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['control.Municipio']"}), 'ano': ('django.db.models.fields.CharField', [], {'max_length': '20'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'mes': ('django.db.models.fields.CharField', [], {'max_length': '20'}), 'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) } } complete_apps = ['control']