Re: hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-11 Thread Modou Aicha Diop
Try to delete the files that are in the migrations directory of your app and do the migrations again Le jeu. 10 août 2023 à 17:11, Abdoulaye SENE a écrit : > class Administratif(models.Model): > nom = models.CharField(max_length=250) > prenom = models.CharField(max_length=250) > email

Re: hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-10 Thread 'Kasper Laudrup' via Django users
On 10/08/2023 23.07, Abdoulaye SENE wrote: i have to add fields to my class. because i have other fields.normal this problem has a solution If this problem has a normal solution, have you considered using that solution? I don't understand why you're looking for an abnormal solution if the

Re: hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-10 Thread Abdoulaye SENE
i have to add fields to my class. because i have other fields.normal this problem has a solution Le jeu. 10 août 2023 à 19:04, 'Kasper Laudrup' via Django users < django-users@googlegroups.com> a écrit : > On 10/08/2023 19.11, Abdoulaye SENE wrote: > > class Administratif(models.Model): > > nom

Re: hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-10 Thread 'Kasper Laudrup' via Django users
On 10/08/2023 19.11, Abdoulaye SENE wrote: class Administratif(models.Model): nom = models.CharField(max_length=250) prenom = models.CharField(max_length=250) email = models.EmailField(max_length=250) tel = models.IntegerField() annEmploi = models.IntegerField(null=True,) def __str__(self): retu

hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-10 Thread Abdoulaye SENE
class Administratif(models.Model): nom = models.CharField(max_length=250) prenom = models.CharField(max_length=250) email = models.EmailField(max_length=250) tel = models.IntegerField() annEmploi = models.IntegerField(null=True,) def __str__(self): return self.nom