from .models import ModelName

admin.site.register(ModelName)

On Tue, 13/12/2022 at 08:04 Manjusha <manjushakatkhed...@gmail.com> wrote:

> I'm junior may it will work!!
>
> On Tuesday, December 13, 2022 at 12:31:17 PM UTC+5:30 Manjusha wrote:
>
>> 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/4ce231dd-8fb3-474a-b359-7a549837e07bn%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/4ce231dd-8fb3-474a-b359-7a549837e07bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
RICK DEU

-- 
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/CACQ9QcFKgKrkKWtGAEjPYJnS9ctutgN%3DL2hXtDModCwDUsGtrQ%40mail.gmail.com.

Reply via email to