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 <abdoulaye.sen...@unchk.edu.sn>
a écrit :

> 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
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/77ad79f8-fe76-4d70-87ef-c35128075fd8n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/77ad79f8-fe76-4d70-87ef-c35128075fd8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMF4DA5YoPgM6XkFmmR8re0n4oX27P69LR2JqeTFheR3qUqefw%40mail.gmail.com.

Reply via email to