Compare commits
No commits in common. "9ba216c94c1880c5b815a31042b2491658a250d7" and "438135e37c9abce4072aee848413eaa83caf61e4" have entirely different histories.
9ba216c94c
...
438135e37c
|
@ -1,5 +1,4 @@
|
|||
from django.db import models
|
||||
from django.core.validators import MinValueValidator, MaxValueValidator
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger("root")
|
||||
|
@ -17,16 +16,6 @@ class Element3D(models.Model):
|
|||
model_file = models.FileField(upload_to=group_based_upload_to)
|
||||
name = models.CharField(max_length=255)
|
||||
description = models.TextField()
|
||||
min_distance = models.IntegerField(
|
||||
validators=[MinValueValidator(1), MaxValueValidator(200)],
|
||||
blank=True,
|
||||
null=True
|
||||
)
|
||||
max_distance = models.IntegerField(
|
||||
validators=[MinValueValidator(2), MaxValueValidator(200)],
|
||||
blank=True,
|
||||
null=True
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"name": "back",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
Loading…
Reference in New Issue