diff --git a/computes/migrations/0003_auto_20200121_1523.py b/computes/migrations/0003_auto_20200121_1523.py new file mode 100644 index 0000000..361cbc1 --- /dev/null +++ b/computes/migrations/0003_auto_20200121_1523.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.26 on 2020-01-21 12:23 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('computes', '0002_compute_details'), + ] + + operations = [ + migrations.AlterField( + model_name='compute', + name='details', + field=models.CharField(blank=True, max_length=64, null=True), + ), + migrations.AlterField( + model_name='compute', + name='hostname', + field=models.CharField(max_length=64), + ), + migrations.AlterField( + model_name='compute', + name='name', + field=models.CharField(max_length=64), + ), + ] diff --git a/computes/models.py b/computes/models.py index 4ac22f3..1a83e59 100644 --- a/computes/models.py +++ b/computes/models.py @@ -6,7 +6,7 @@ class Compute(models.Model): hostname = models.CharField(max_length=64) login = models.CharField(max_length=20) password = models.CharField(max_length=14, blank=True, null=True) - details = models.CharField(max_length=50, null=True, blank=True) + details = models.CharField(max_length=64, null=True, blank=True) type = models.IntegerField() def __unicode__(self): diff --git a/webvirtcloud/urls.py b/webvirtcloud/urls.py index a7da7dc..4924a68 100644 --- a/webvirtcloud/urls.py +++ b/webvirtcloud/urls.py @@ -12,8 +12,6 @@ urlpatterns = [ url(r'^computes/', include('computes.urls')), url(r'^logs/', include('logs.urls')), url(r'^datasource/', include('datasource.urls')), - - url(r'^console/$', console, name='console'), - # (r'^admin/', include(admin.site.urls)), + #url(r'^admin/', include(admin.site.urls)), ]