Le serveur gitlab sera inaccessible le mercredi 19 février 2020 de 13h à 14h pour une intervention de maintenance programmée.

...
 
Commits (1)
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-08-09 14:52
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('machines', '0093_auto_20180807_1115'),
]
operations = [
migrations.AlterField(
model_name='txt',
name='field1',
field=models.CharField(blank=True, max_length=255),
),
]
......@@ -786,7 +786,7 @@ class Txt(RevMixin, AclMixin, models.Model):
PRETTY_NAME = "Enregistrement TXT"
zone = models.ForeignKey('Extension', on_delete=models.PROTECT)
field1 = models.CharField(max_length=255)
field1 = models.CharField(max_length=255, blank=True)
field2 = models.TextField(max_length=2047)
class Meta:
......
......@@ -34,7 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<th></th>
</tr>
</thead>
{% for txt in text_list %}
{% for txt in txt_list %}
<tr>
<td>{{ txt.zone }}</td>
<td>{{ txt.dns_entry }}</td>
......