How can i modify the base_site.html Template?

58 views
Skip to first unread message

gustav...@gmail.com

unread,
Sep 3, 2018, 11:04:33 AM9/3/18
to Django users
Hello, i want to change de title and the default text in the header of the Django-Admin site but i don´t know do that.

victor jack

unread,
Sep 3, 2018, 1:18:31 PM9/3/18
to django...@googlegroups.com
Do u want to customise  the admin page to be different  from the default  one django  provides?
 

On Mon, 3 Sep 2018 8:04 AM , <gustav...@gmail.com> wrote:
Hello, i want to change de title and the default text in the header of the Django-Admin site but i don´t know do that.

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/51312f80-3d0c-417a-b36e-d42b397fa5f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gustav...@gmail.com

unread,
Sep 3, 2018, 2:58:02 PM9/3/18
to Django users
Yes, that exactly

victor jack

unread,
Sep 4, 2018, 2:21:01 AM9/4/18
to django...@googlegroups.com
Ok i see, you create an admin folder in your template folder then create a base_site.html and an index. html file , these file will contain your custom feature ,then when you runserver the new admin site will be rendered from there(admin ) folder. I hope this helps.
On Mon, Sep 3, 2018 at 7:58 PM <gustav...@gmail.com> wrote:
Yes, that exactly

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Devender Kumar

unread,
Sep 4, 2018, 3:21:52 AM9/4/18
to django...@googlegroups.com
Don't modify the base_site.html instead you should override the method or fuctions which will be good practice

gustav...@gmail.com

unread,
Sep 4, 2018, 9:42:48 AM9/4/18
to Django users
THANKS
Reply all
Reply to author
Forward
0 new messages