diff --git a/computes/urls.py b/computes/urls.py index 4bf95bc..350fc00 100644 --- a/computes/urls.py +++ b/computes/urls.py @@ -9,7 +9,7 @@ from instances.views import instances from nwfilters.views import nwfilter, nwfilters urlpatterns = [ - url(r'^/', computes, name='computes'), + url(r'^$', computes, name='computes'), url(r'^(?P[0-9]+)/$', overview, name='overview'), url(r'^(?P[0-9]+)/statistics$', compute_graph, name='compute_graph'), url(r'^(?P[0-9]+)/instances/$', instances, name='instances'), diff --git a/manage.py b/manage.py index 50affd5..f29da8f 100755 --- a/manage.py +++ b/manage.py @@ -3,7 +3,7 @@ import os import sys if __name__ == "__main__": - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webvirtcloud.settings") + os.environ["DJANGO_SETTINGS_MODULE"] = "webvirtcloud.settings" from django.core.management import execute_from_command_line