Answer the question
In order to leave comments, you need to log in
How to autodetect model id in django?
There is a regular model in django
class Catalog(modles.Model):
name_category = models.CharField('название категории', max_length=40)
id_category = PositiveIntegerField()
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