1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

Merge pull request #300 from catborise/master

some small fixes
This commit is contained in:
Anatoliy Guskov 2020-02-25 16:24:02 +02:00 committed by GitHub
commit fd9465c769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ from instances.views import instances
from nwfilters.views import nwfilter, nwfilters from nwfilters.views import nwfilter, nwfilters
urlpatterns = [ urlpatterns = [
url(r'^/', computes, name='computes'), url(r'^$', computes, name='computes'),
url(r'^(?P<compute_id>[0-9]+)/$', overview, name='overview'), url(r'^(?P<compute_id>[0-9]+)/$', overview, name='overview'),
url(r'^(?P<compute_id>[0-9]+)/statistics$', compute_graph, name='compute_graph'), url(r'^(?P<compute_id>[0-9]+)/statistics$', compute_graph, name='compute_graph'),
url(r'^(?P<compute_id>[0-9]+)/instances/$', instances, name='instances'), url(r'^(?P<compute_id>[0-9]+)/instances/$', instances, name='instances'),

View file

@ -3,7 +3,7 @@ import os
import sys import sys
if __name__ == "__main__": 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 from django.core.management import execute_from_command_line