summaryrefslogtreecommitdiff
path: root/chimere/main/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/main/widgets.py')
-rw-r--r--chimere/main/widgets.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/chimere/main/widgets.py b/chimere/main/widgets.py
index 6b5e544..44e8ac8 100644
--- a/chimere/main/widgets.py
+++ b/chimere/main/widgets.py
@@ -33,6 +33,11 @@ URL_OSM_CSS = ["http://www.openlayers.org/api/theme/default/style.css"]
URL_OSM_JS = ["http://www.openlayers.org/api/OpenLayers.js",
"http://www.openstreetmap.org/openlayers/OpenStreetMap.js"]
+class ManyToManyField_NoSyncdb(models.ManyToManyField):
+ def __init__(self, *args, **kwargs):
+ super(ManyToManyField_NoSyncdb, self).__init__(*args, **kwargs)
+ self.creates_table = False
+
def getMapJS():
'''Variable initialization for drawing the map
'''