Skip to content

Commit

Permalink
[Monitoring] relax host name constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Jun 5, 2019
1 parent 45e35a0 commit a193d45
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions geonode/monitoring/migrations/0024_auto_20190605_1619.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-06-05 16:19
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('monitoring', '0023_auto_20190528_0906'),
]

operations = [
migrations.AlterField(
model_name='host',
name='name',
field=models.CharField(max_length=255),
),
]
2 changes: 1 addition & 1 deletion geonode/monitoring/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Host(models.Model):
"""
name = models.CharField(
max_length=255,
unique=True,
unique=False,
blank=False,
null=False)
ip = models.GenericIPAddressField(null=False, blank=False)
Expand Down

0 comments on commit a193d45

Please sign in to comment.