summaryrefslogtreecommitdiff
path: root/app/locations/build.py
blob: cf17c59b078cd4b971dd9c1114296ae3289c0761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

    def build_map(self):
        self.build_list_view(
            base_path=reverse("map:maplist"),
            paginate_by=1000000
        )
        response = self.client.get(reverse("map:mapdata"))
        self.write_file("media/js/mainmap", response.content, 'js', '')

def map_builder():
    j = BuildJrnl("jrnl", "entry")
    j.build_map()