much appreciated

On Tuesday, February 20, 2024 at 7:55:47 AM UTC+5 Ryan Nowakowski wrote:

> On Mon, Feb 19, 2024 at 02:16:29AM -0800, ABDUL HAFEEZ wrote:
> > Hell all how to display *createsuperuser *and there permission in 
> *templates 
> > *instead of admin dashboard 
>
> Users and permissions are just normal Django models[1]. You can create
> your own view and add those objects to the template context then render
> the template just like you would for any other Django view.
>
>
> [1] 
> https://github.com/django/django/blob/a684d73fc9ad94bbc535385d8b1d7c05ea06702f/django/contrib/auth/models.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/80a349f5-832d-43bc-8496-920621ece825n%40googlegroups.com.

Reply via email to