Hi, need to register the model.py file in admin.py file and then make migrations as like mention in following documentation. https://docs.djangoproject.com/en/4.1/intro/tutorial02/
On Monday, December 12, 2022 at 4:49:26 AM UTC+5:30 curtis...@gmail.com wrote: > Hello to all. Please, I would like to know in Django, how to allow an > administrator to add a patient, but not a simple connected user? the > following pics are my models.py, view.py and my template.py. > -- 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/00c5b214-27be-432e-a862-d8c8394f8d5cn%40googlegroups.com.