This repository has been archived by the owner on Sep 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
71 lines (70 loc) · 1.6 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
MONGO_HOST = 'localhost'
MONGO_PORT = 27017
MONGO_DBNAME = 'wsil'
X_DOMAINS = "*"
PAGINATION = False
TRANSPARENT_SCHEMA_RULES = True
DOMAIN = {
"cyclelane": {
"schema": {
"type": {"type": "string"},
"id": {"type": "integer"},
"properties": {"type": "list"},
"geometry": {"type": "linestring"},
}
},
"neighborhood": {
"schema": {
"type": {"type": "string"},
"properties": {"type": "list"},
"geometry": {"type": "polygon"},
}
},
"citelib": {
"schema": {
"type": {"type": "string"},
"features": {"type": "geometrycollection"},
"properties": {"type": "list"},
"geometry": {"type": "polygon"},
}
},
"stop": {
"schema": {
"type": {"type": "string"},
"features": {"type": "geometrycollection"},
"properties": {"type": "list"},
"geometry": {"type": "polygon"},
}
},
"gsm": {
"schema": {
"type": {"type": "string"},
"properties": {"type": "list"},
"geometry": {"type": "polygon"},
}
},
"restaurant": {
"schema": {
"type": {"type": "string"},
"features": {"type": "geometrycollection"},
"properties": {"type": "list"},
"geometry": {"type": "polygon"}
}
},
"supermarket": {
"schema": {
"type": {"type": "string"},
"features": {"type": "geometrycollection"},
"properties": {"type": "list"},
"geometry": {"type": "polygon"}
}
},
"grenoble": {
"schema": {
"id": {"type": "string"},
"type": {"type": "string"},
"properties": {"type": "list"},
"geometry": {"type": "polygon"}
}
},
}