text: # -*- coding: utf-8 -*-
  from south.db import db
  from south.v2 import SchemaMigration
  from django.conf import settings
  
  
  class Migration(SchemaMigration):
  
      def forwards(self, orm):
          # Adding model 'CirkwiPOICategory'
          db.create_table('o_b_cirkwi_poi_category', (
              (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
              ('eid', self.gf('django.db.models.fields.IntegerField')(unique=True)),
              ('name', self.gf('django.db.models.fields.CharField')(max_length=128, db_column='nom')),
          ))
          db.send_create_signal(u'trekking', ['CirkwiPOICategory'])
  
          # Adding model 'CirkwiLocomotion'
          db.create_table('o_b_cirkwi_locomotion', (
              (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
              ('eid', self.gf('django.db.models.fields.IntegerField')(unique=True)),
              ('name', self.gf('django.db.models.fields.CharField')(max_length=128, db_column='nom')),
          ))
          db.send_create_signal(u'trekking', ['CirkwiLocomotion'])
  
          # Adding field 'Accessibility.cirkwi'
          db.add_column('o_b_accessibilite', 'cirkwi',
                        self.gf('django.db.models.fields.related.ForeignKey')(to=orm['common.CirkwiTag'], null=True, blank=True),
                        keep_default=False)
  
          # Adding field 'Practice.cirkwi'
          db.add_column('o_b_pratique', 'cirkwi',
                        self.gf('django.db.models.fields.related.ForeignKey')(to=orm['trekking.CirkwiLocomotion'], null=True, blank=True),
                        keep_default=False)
  
          # Adding field 'DifficultyLevel.cirkwi_level'
          db.add_column('o_b_difficulte', 'cirkwi_level',
                        self.gf('django.db.models.fields.IntegerField')(null=True, db_column='niveau_cirkwi', blank=True),
                        keep_default=False)
  
          # Adding field 'DifficultyLevel.cirkwi'
          db.add_column('o_b_difficulte', 'cirkwi',
                        self.gf('django.db.models.fields.related.ForeignKey')(to=orm['common.CirkwiTag'], null=True, blank=True),
                        keep_default=False)
  
          # Adding field 'POIType.cirkwi'
          db.add_column('o_b_poi', 'cirkwi',
                        self.gf('django.db.models.fields.related.ForeignKey')(to=orm['trekking.CirkwiPOICategory'], null=True, blank=True),
                        keep_default=False)
  
      def backwards(self, orm):
          # Deleting model 'CirkwiPOICategory'
          db.delete_table('o_b_cirkwi_poi_category')
  
          # Deleting model 'CirkwiLocomotion'
          db.delete_table('o_b_cirkwi_locomotion')
  
          # Deleting field 'Accessibility.cirkwi'
          db.delete_column('o_b_accessibilite', 'cirkwi_id')
  
          # Deleting field 'Practice.cirkwi'
          db.delete_column('o_b_pratique', 'cirkwi_id')
  
          # Deleting field 'DifficultyLevel.cirkwi_level'
          db.delete_column('o_b_difficulte', 'niveau_cirkwi')
  
          # Deleting field 'DifficultyLevel.cirkwi'
          db.delete_column('o_b_difficulte', 'cirkwi_id')
  
          # Deleting field 'POIType.cirkwi'
          db.delete_column('o_b_poi', 'cirkwi_id')
  
      models = {
          u'authent.structure': {
              'Meta': {'ordering': "['name']", 'object_name': 'Structure'},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '256'})
          },
          u'common.cirkwitag': {
              'Meta': {'ordering': "['name']", 'object_name': 'CirkwiTag', 'db_table': "'o_b_cirkwi_tag'"},
              'eid': ('django.db.models.fields.IntegerField', [], {'unique': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nom'"})
          },
          u'common.theme': {
              'Meta': {'ordering': "['label']", 'object_name': 'Theme', 'db_table': "'o_b_theme'"},
              'cirkwi': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['common.CirkwiTag']", 'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'label': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'theme'"}),
              'pictogram': ('django.db.models.fields.files.FileField', [], {'max_length': '512', 'null': 'True', 'db_column': "'picto'"})
          },
          u'core.comfort': {
              'Meta': {'ordering': "['comfort']", 'object_name': 'Comfort', 'db_table': "'l_b_confort'"},
              'comfort': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_column': "'confort'"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'structure': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['authent.Structure']", 'db_column': "'structure'"})
          },
          u'core.datasource': {
              'Meta': {'ordering': "['source']", 'object_name': 'Datasource', 'db_table': "'l_b_source'"},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'source': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
              'structure': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['authent.Structure']", 'db_column': "'structure'"})
          },
          u'core.network': {
              'Meta': {'ordering': "['network']", 'object_name': 'Network', 'db_table': "'l_b_reseau'"},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'network': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_column': "'reseau'"}),
              'structure': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['authent.Structure']", 'db_column': "'structure'"})
          },
          u'core.path': {
              'Meta': {'object_name': 'Path', 'db_table': "'l_t_troncon'"},
              'arrival': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '250', 'null': 'True', 'db_column': "'arrivee'", 'blank': 'True'}),
              'ascent': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'db_column': "'denivelee_positive'", 'blank': 'True'}),
              'comfort': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'paths'", 'null': 'True', 'db_column': "'confort'", 'to': u"orm['core.Comfort']"}),
              'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'db_column': "'remarques'", 'blank': 'True'}),
              'datasource': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'paths'", 'null': 'True', 'db_column': "'source'", 'to': u"orm['core.Datasource']"}),
              'date_insert': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_column': "'date_insert'", 'blank': 'True'}),
              'date_update': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'date_update'", 'blank': 'True'}),
              'departure': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '250', 'null': 'True', 'db_column': "'depart'", 'blank': 'True'}),
              'descent': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'db_column': "'denivelee_negative'", 'blank': 'True'}),
              'geom': ('django.contrib.gis.db.models.fields.LineStringField', [], {'srid': str(settings.SRID), 'spatial_index': 'False'}),
              'geom_3d': ('django.contrib.gis.db.models.fields.GeometryField', [], {'default': 'None', 'dim': '3', 'spatial_index': 'False', 'null': 'True', 'srid': str(settings.SRID)}),
              'geom_cadastre': ('django.contrib.gis.db.models.fields.LineStringField', [], {'srid': str(settings.SRID), 'null': 'True', 'spatial_index': 'False'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'length': ('django.db.models.fields.FloatField', [], {'default': '0.0', 'null': 'True', 'db_column': "'longueur'", 'blank': 'True'}),
              'max_elevation': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'db_column': "'altitude_maximum'", 'blank': 'True'}),
              'min_elevation': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'db_column': "'altitude_minimum'", 'blank': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'db_column': "'nom'", 'blank': 'True'}),
              'networks': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'paths'", 'to': u"orm['core.Network']", 'db_table': "'l_r_troncon_reseau'", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
              'slope': ('django.db.models.fields.FloatField', [], {'default': '0.0', 'null': 'True', 'db_column': "'pente'", 'blank': 'True'}),
              'stake': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'paths'", 'null': 'True', 'db_column': "'enjeu'", 'to': u"orm['core.Stake']"}),
              'structure': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['authent.Structure']", 'db_column': "'structure'"}),
              'usages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'paths'", 'to': u"orm['core.Usage']", 'db_table': "'l_r_troncon_usage'", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
              'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'db_column': "'valide'"}),
              'visible': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'db_column': "'visible'"})
          },
          u'core.pathaggregation': {
              'Meta': {'ordering': "['order']", 'object_name': 'PathAggregation', 'db_table': "'e_r_evenement_troncon'"},
              'end_position': ('django.db.models.fields.FloatField', [], {'db_column': "'pk_fin'", 'db_index': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'order': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'db_column': "'ordre'", 'blank': 'True'}),
              'path': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'aggregations'", 'on_delete': 'models.DO_NOTHING', 'db_column': "'troncon'", 'to': u"orm['core.Path']"}),
              'start_position': ('django.db.models.fields.FloatField', [], {'db_column': "'pk_debut'", 'db_index': 'True'}),
              'topo_object': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'aggregations'", 'db_column': "'evenement'", 'to': u"orm['core.Topology']"})
          },
          u'core.stake': {
              'Meta': {'ordering': "['id']", 'object_name': 'Stake', 'db_table': "'l_b_enjeu'"},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'stake': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_column': "'enjeu'"}),
              'structure': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['authent.Structure']", 'db_column': "'structure'"})
          },
          u'core.topology': {
              'Meta': {'object_name': 'Topology', 'db_table': "'e_t_evenement'"},
              'ascent': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'db_column': "'denivelee_positive'", 'blank': 'True'}),
              'date_insert': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_column': "'date_insert'", 'blank': 'True'}),
              'date_update': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_column': "'date_update'", 'blank': 'True'}),
              'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'supprime'"}),
              'descent': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'db_column': "'denivelee_negative'", 'blank': 'True'}),
              'geom': ('django.contrib.gis.db.models.fields.GeometryField', [], {'default': 'None', 'srid': str(settings.SRID), 'null': 'True', 'spatial_index': 'False'}),
              'geom_3d': ('django.contrib.gis.db.models.fields.GeometryField', [], {'default': 'None', 'dim': '3', 'spatial_index': 'False', 'null': 'True', 'srid': str(settings.SRID)}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'kind': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
              'length': ('django.db.models.fields.FloatField', [], {'default': '0.0', 'null': 'True', 'db_column': "'longueur'", 'blank': 'True'}),
              'max_elevation': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'db_column': "'altitude_maximum'", 'blank': 'True'}),
              'min_elevation': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'db_column': "'altitude_minimum'", 'blank': 'True'}),
              'offset': ('django.db.models.fields.FloatField', [], {'default': '0.0', 'db_column': "'decallage'"}),
              'paths': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['core.Path']", 'through': u"orm['core.PathAggregation']", 'db_column': "'troncons'", 'symmetrical': 'False'}),
              'slope': ('django.db.models.fields.FloatField', [], {'default': '0.0', 'null': 'True', 'db_column': "'pente'", 'blank': 'True'})
          },
          u'core.usage': {
              'Meta': {'ordering': "['usage']", 'object_name': 'Usage', 'db_table': "'l_b_usage'"},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'structure': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['authent.Structure']", 'db_column': "'structure'"}),
              'usage': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_column': "'usage'"})
          },
          u'tourism.informationdesk': {
              'Meta': {'ordering': "['name']", 'object_name': 'InformationDesk', 'db_table': "'t_b_renseignement'"},
              'description': ('django.db.models.fields.TextField', [], {'db_column': "'description'", 'blank': 'True'}),
              'email': ('django.db.models.fields.EmailField', [], {'max_length': '256', 'null': 'True', 'db_column': "'email'", 'blank': 'True'}),
              'geom': ('django.contrib.gis.db.models.fields.PointField', [], {'srid': str(settings.SRID), 'null': 'True', 'spatial_index': 'False', 'db_column': "'geom'", 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'municipality': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_column': "'commune'", 'blank': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_column': "'nom'"}),
              'phone': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'db_column': "'telephone'", 'blank': 'True'}),
              'photo': ('django.db.models.fields.files.FileField', [], {'max_length': '512', 'null': 'True', 'db_column': "'photo'", 'blank': 'True'}),
              'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '8', 'null': 'True', 'db_column': "'code'", 'blank': 'True'}),
              'street': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_column': "'rue'", 'blank': 'True'}),
              'type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'desks'", 'db_column': "'type'", 'to': u"orm['tourism.InformationDeskType']"}),
              'website': ('django.db.models.fields.URLField', [], {'max_length': '256', 'null': 'True', 'db_column': "'website'", 'blank': 'True'})
          },
          u'tourism.informationdesktype': {
              'Meta': {'ordering': "['label']", 'object_name': 'InformationDeskType', 'db_table': "'t_b_type_renseignement'"},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'label': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'label'"}),
              'pictogram': ('django.db.models.fields.files.FileField', [], {'max_length': '512', 'null': 'True', 'db_column': "'picto'"})
          },
          u'trekking.accessibility': {
              'Meta': {'ordering': "['name']", 'object_name': 'Accessibility', 'db_table': "'o_b_accessibilite'"},
              'cirkwi': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['common.CirkwiTag']", 'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nom'"}),
              'pictogram': ('django.db.models.fields.files.FileField', [], {'max_length': '512', 'null': 'True', 'db_column': "'picto'"})
          },
          u'trekking.cirkwilocomotion': {
              'Meta': {'ordering': "['name']", 'object_name': 'CirkwiLocomotion', 'db_table': "'o_b_cirkwi_locomotion'"},
              'eid': ('django.db.models.fields.IntegerField', [], {'unique': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nom'"})
          },
          u'trekking.cirkwipoicategory': {
              'Meta': {'ordering': "['name']", 'object_name': 'CirkwiPOICategory', 'db_table': "'o_b_cirkwi_poi_category'"},
              'eid': ('django.db.models.fields.IntegerField', [], {'unique': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nom'"})
          },
          u'trekking.difficultylevel': {
              'Meta': {'ordering': "['id']", 'object_name': 'DifficultyLevel', 'db_table': "'o_b_difficulte'"},
              'cirkwi': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['common.CirkwiTag']", 'null': 'True', 'blank': 'True'}),
              'cirkwi_level': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'db_column': "'niveau_cirkwi'", 'blank': 'True'}),
              'difficulty': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'difficulte'"}),
              'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
              'pictogram': ('django.db.models.fields.files.FileField', [], {'max_length': '512', 'null': 'True', 'db_column': "'picto'"})
          },
          u'trekking.poi': {
              'Meta': {'object_name': 'POI', 'db_table': "'o_t_poi'", '_ormbases': [u'core.Topology']},
              'description': ('django.db.models.fields.TextField', [], {'db_column': "'description'"}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nom'"}),
              'publication_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'db_column': "'date_publication'", 'blank': 'True'}),
              'published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'public'"}),
              'structure': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['authent.Structure']", 'db_column': "'structure'"}),
              'topo_object': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['core.Topology']", 'unique': 'True', 'primary_key': 'True', 'db_column': "'evenement'"}),
              'type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pois'", 'db_column': "'type'", 'to': u"orm['trekking.POIType']"})
          },
          u'trekking.poitype': {
              'Meta': {'ordering': "['label']", 'object_name': 'POIType', 'db_table': "'o_b_poi'"},
              'cirkwi': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['trekking.CirkwiPOICategory']", 'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'label': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nom'"}),
              'pictogram': ('django.db.models.fields.files.FileField', [], {'max_length': '512', 'null': 'True', 'db_column': "'picto'"})
          },
          u'trekking.practice': {
              'Meta': {'ordering': "['name']", 'object_name': 'Practice', 'db_table': "'o_b_pratique'"},
              'cirkwi': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['trekking.CirkwiLocomotion']", 'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nom'"}),
              'pictogram': ('django.db.models.fields.files.FileField', [], {'max_length': '512', 'null': 'True', 'db_column': "'picto'"})
          },
          u'trekking.route': {
              'Meta': {'ordering': "['route']", 'object_name': 'Route', 'db_table': "'o_b_parcours'"},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'pictogram': ('django.db.models.fields.files.FileField', [], {'max_length': '512', 'null': 'True', 'db_column': "'picto'"}),
              'route': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'parcours'"})
          },
          u'trekking.trek': {
              'Meta': {'ordering': "['name']", 'object_name': 'Trek', 'db_table': "'o_t_itineraire'", '_ormbases': [u'core.Topology']},
              'access': ('django.db.models.fields.TextField', [], {'db_column': "'acces'", 'blank': 'True'}),
              'accessibilities': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'treks'", 'to': u"orm['trekking.Accessibility']", 'db_table': "'o_r_itineraire_accessibilite'", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
              'advice': ('django.db.models.fields.TextField', [], {'db_column': "'recommandation'", 'blank': 'True'}),
              'advised_parking': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'parking'", 'blank': 'True'}),
              'ambiance': ('django.db.models.fields.TextField', [], {'db_column': "'ambiance'", 'blank': 'True'}),
              'arrival': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'arrivee'", 'blank': 'True'}),
              'departure': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'depart'", 'blank': 'True'}),
              'description': ('django.db.models.fields.TextField', [], {'db_column': "'description'", 'blank': 'True'}),
              'description_teaser': ('django.db.models.fields.TextField', [], {'db_column': "'chapeau'", 'blank': 'True'}),
              'difficulty': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'treks'", 'null': 'True', 'db_column': "'difficulte'", 'to': u"orm['trekking.DifficultyLevel']"}),
              'disabled_infrastructure': ('django.db.models.fields.TextField', [], {'db_column': "'handicap'", 'blank': 'True'}),
              'duration': ('django.db.models.fields.FloatField', [], {'default': '0', 'db_column': "'duree'", 'blank': 'True'}),
              'information_desks': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['tourism.InformationDesk']", 'null': 'True', 'db_table': "'o_r_itineraire_renseignement'", 'blank': 'True'}),
              'is_park_centered': ('django.db.models.fields.BooleanField', [], {'db_column': "'coeur'"}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nom'"}),
              'networks': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'treks'", 'to': u"orm['trekking.TrekNetwork']", 'db_table': "'o_r_itineraire_reseau'", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
              'parking_location': ('django.contrib.gis.db.models.fields.PointField', [], {'srid': str(settings.SRID), 'null': 'True', 'spatial_index': 'False', 'db_column': "'geom_parking'", 'blank': 'True'}),
              'points_reference': ('django.contrib.gis.db.models.fields.MultiPointField', [], {'srid': str(settings.SRID), 'null': 'True', 'spatial_index': 'False', 'db_column': "'geom_points_reference'", 'blank': 'True'}),
              'practice': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'treks'", 'null': 'True', 'db_column': "'pratique'", 'to': u"orm['trekking.Practice']"}),
              'public_transport': ('django.db.models.fields.TextField', [], {'db_column': "'transport'", 'blank': 'True'}),
              'publication_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'db_column': "'date_publication'", 'blank': 'True'}),
              'published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'public'"}),
              'related_treks': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'related_treks+'", 'symmetrical': 'False', 'through': u"orm['trekking.TrekRelationship']", 'to': u"orm['trekking.Trek']"}),
              'route': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'treks'", 'null': 'True', 'db_column': "'parcours'", 'to': u"orm['trekking.Route']"}),
              'structure': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['authent.Structure']", 'db_column': "'structure'"}),
              'themes': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'treks'", 'to': u"orm['common.Theme']", 'db_table': "'o_r_itineraire_theme'", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
              'topo_object': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['core.Topology']", 'unique': 'True', 'primary_key': 'True', 'db_column': "'evenement'"}),
              'web_links': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'treks'", 'to': u"orm['trekking.WebLink']", 'db_table': "'o_r_itineraire_web'", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'})
          },
          u'trekking.treknetwork': {
              'Meta': {'ordering': "['network']", 'object_name': 'TrekNetwork', 'db_table': "'o_b_reseau'"},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'network': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'reseau'"}),
              'pictogram': ('django.db.models.fields.files.FileField', [], {'max_length': '512', 'null': 'True', 'db_column': "'picto'"})
          },
          u'trekking.trekrelationship': {
              'Meta': {'unique_together': "(('trek_a', 'trek_b'),)", 'object_name': 'TrekRelationship', 'db_table': "'o_r_itineraire_itineraire'"},
              'has_common_departure': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'depart_commun'"}),
              'has_common_edge': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'troncons_communs'"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_circuit_step': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_column': "'etape_circuit'"}),
              'trek_a': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'trek_relationship_a'", 'db_column': "'itineraire_a'", 'to': u"orm['trekking.Trek']"}),
              'trek_b': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'trek_relationship_b'", 'db_column': "'itineraire_b'", 'to': u"orm['trekking.Trek']"})
          },
          u'trekking.weblink': {
              'Meta': {'ordering': "['name']", 'object_name': 'WebLink', 'db_table': "'o_t_web'"},
              'category': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'links'", 'null': 'True', 'db_column': "'categorie'", 'to': u"orm['trekking.WebLinkCategory']"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nom'"}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '128', 'db_column': "'url'"})
          },
          u'trekking.weblinkcategory': {
              'Meta': {'ordering': "['label']", 'object_name': 'WebLinkCategory', 'db_table': "'o_b_web_category'"},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'label': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_column': "'nom'"}),
              'pictogram': ('django.db.models.fields.files.FileField', [], {'max_length': '512', 'null': 'True', 'db_column': "'picto'"})
          }
      }
  
      complete_apps = ['trekking']
  