Hi All, sorry this is probably a very basic question - but I’m stuck on the part of Tutorial 7 (Customising the Admin Area) where we need to copy the “admin/base_site.html template” from within the default Django admin template directory into my repository
The steps I have taken are:
- All tutorial instructions (1 through 7) followed to this point
- Admin area customized correctly as far as the point where we need to copy the admin/base_site.html template from the default Django admin template directory in the source code of Django itself (django/contrib/admin/templates - i can’t get to this path or understand where it is to access it)
Steps taken to resolve the issue:
- I have ran the command python -c “import django; print(django.path)” to locate the file and it tells me the location is: [‘/workspace/.pip-modules/lib/python3.8/site-packages/django’]
- I have used the “cd” command to point the terminal at this path - see screenshot below - but now I am unsure as to how to actually get the admin/base_site.html file so i can copy it into my Django project directory
Thanks again in advance for any assistance you can provide!