Fix IdField validation
This commit is contained in:
parent
7ab4dcede0
commit
747d3419b2
3 changed files with 6 additions and 4 deletions
|
@ -60,6 +60,7 @@ class IdField(models.BigIntegerField):
|
|||
def __init__(self, separator=",", *args, **kwargs):
|
||||
self.separator = separator
|
||||
super(IdField, self).__init__(*args, **kwargs)
|
||||
self.validators = [] # TODO : validateurs pertinents
|
||||
|
||||
def deconstruct(self):
|
||||
name, path, args, kwargs = super(IdField, self).deconstruct()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue