Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin committed Apr 30, 2018
1 parent 84e9384 commit 488dd84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion bind/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class Record(models.Model):
minimum = models.IntegerField(null=True, blank=True, verbose_name=u"SOA记录的minimum")
resp_person = models.CharField(max_length=100, null=True, blank=True, verbose_name=u"域名管理者")
primary_ns = models.CharField(max_length=100, null=True, blank=True, verbose_name=u"主ns")
data_count = models.IntegerField(null=True, blank=True, verbose_name=u"统计")
tan = models.BooleanField(default=False, verbose_name=u"是否探测")
create_time = models.DateTimeField(auto_now_add=True, verbose_name=u"创建时间")
update_time = models.DateTimeField(auto_now=True, verbose_name=u"更新时间")
Expand Down
2 changes: 1 addition & 1 deletion bind/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ class Meta:
model = Record
fields = (
'url', 'id', 'title', 'zone', 'name', 'type', 'value', 'ttl', 'status', 'mx', 'serial',
'refresh', 'retry', 'expire', 'minimum', 'resp_person', 'data_count', 'tan', 'create_time', 'update_time')
'refresh', 'retry', 'expire', 'minimum', 'resp_person', 'tan', 'create_time', 'update_time')

0 comments on commit 488dd84

Please sign in to comment.