Answer the question
In order to leave comments, you need to log in
Is it possible to store a string in a database field and then parse it?
Is it correct to store a string of this kind in a database field? And then parse it? Or do I need to create a connection, if so, what kind? ManyToMany or another?
runner,rerun,overrun,run,running,runny,outrun
class Fams(models.Model):
word_fams = models.TextField(blank=True, null=True)
class Word(models.Model):
word_en = models.TextField(unique=True)
example = models.ManyToManyField(Example, blank=True)
fams = models.ManyToManyField(Fams,blank=True)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question