summaryrefslogtreecommitdiff
path: root/app/builder/base.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-17 16:31:44 -0500
committerluxagraf <sng@luxagraf.net>2020-11-17 16:31:44 -0500
commitbcb8a8e367c308e89204a287fc9c531fe97c5035 (patch)
tree0b40b9783f7a80a8bb1658457c2d2d68ba7627d1 /app/builder/base.py
parentb359e5b0ac136da51c08069a24ec4f727597247e (diff)
fixed a bug in src build
Diffstat (limited to 'app/builder/base.py')
-rw-r--r--app/builder/base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/builder/base.py b/app/builder/base.py
index 7b99c58..532deea 100644
--- a/app/builder/base.py
+++ b/app/builder/base.py
@@ -37,7 +37,7 @@ class _FileWriter(object):
class BuildNew():
- def __init__(self, model, app, site=1):
+ def __init__(self, model, app, site='luxagraf.net'):
self.site = Site.objects.get(domain=site)
self.model = apps.get_model(model, app)
self.get_model_queryset()
@@ -381,7 +381,6 @@ class BuildProjects(Build):
js = leaflet_providers_js + natparks_js
self.write_file('media/js/', js.encode('utf-8'), 'js', 'natparks')
-
class BuildSitemap(Build):
def build(self):
c = Client()