The rejected applications subsection now links to the public page for the list_self view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
""" This module provides the backend for spatial SQL construction with Django. Specifically, this module will import the correct routines and modules needed for GeoDjango to interface with the spatial database."""from django.conf import settingsfrom django.contrib.gis.db.backend.util import gqn# Retrieving the necessary settings from the backend.if settings.DATABASE_ENGINE == 'postgresql_psycopg2': from django.contrib.gis.db.backend.postgis import create_spatial_db, get_geo_where_clause, SpatialBackendelif settings.DATABASE_ENGINE == 'oracle': from django.contrib.gis.db.backend.oracle import create_spatial_db, get_geo_where_clause, SpatialBackendelif settings.DATABASE_ENGINE == 'mysql': from django.contrib.gis.db.backend.mysql import create_spatial_db, get_geo_where_clause, SpatialBackendelse: raise NotImplementedError('No Geographic Backend exists for %s' % settings.DATABASE_ENGINE)