Open laminsaidy opened 3 months ago
It's pretty automatic just go into the models file in your app and create whatever model it's usually in this format
class Person(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=30)
Change your fields to whatever you need and put it into the models.py than add it to the admin to see create and edit
It's pretty automatic just go into the models file in your app and create whatever model it's usually in this format
class Person(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=30)
Change your fields to whatever you need and put it into the models.py than add it to the admin to see create and edit