Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# as published by the Free Software Foundation; either version 2
# of the License, or 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.
from django.contrib.gis.db import models
import routemap.common.routemodels
class MtbRoutes(routemap.common.routemodels.RouteTableModel):
"""Table with information about cycling routes.
"""
symbol = models.TextField(null=True)
level = models.IntegerField()
top = models.BooleanField()
objects = models.GeoManager()
class Meta:
db_table = u'routes'
db_tablespace = u'mtbmap'
# as published by the Free Software Foundation; either version 2
# of the License, or 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.
from django.contrib.gis.db import models
import routemap.common.routemodels
class HikingRoutes(routemap.common.routemodels.RouteTableModel):
"""Table with information about hiking routes.
"""
symbol = models.TextField(null=True)
country = models.CharField(max_length=3, null=True)
network = models.CharField(max_length=2, null=True)
level = models.IntegerField()
top = models.BooleanField()
objects = models.GeoManager()
class Meta:
db_table = u'routes'
db_tablespace = u'hiking'
# as published by the Free Software Foundation; either version 2
# of the License, or 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.
from django.contrib.gis.db import models
import routemap.common.routemodels
class CyclingRoutes(routemap.common.routemodels.RouteTableModel):
"""Table with information about cycling routes.
"""
symbol = models.TextField(null=True)
level = models.IntegerField()
top = models.BooleanField()
objects = models.GeoManager()
class Meta:
db_table = u'routes'
db_tablespace = u'cycling'
# as published by the Free Software Foundation; either version 2
# of the License, or 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.
from django.contrib.gis.db import models
import routemap.common.routemodels
class SkatingRoutes(routemap.common.routemodels.RouteTableModel):
"""Table with information about cycling routes.
"""
symbol = models.TextField(null=True)
level = models.IntegerField()
top = models.BooleanField()
objects = models.GeoManager()
class Meta:
db_table = u'routes'
db_tablespace = u'skating'