#7587: Find out where the default admin/base_site.html is on your system (for:
Tut
2, page 2)
------------------------------------+---------------------------------------
Reporter: HenkPoley | Owner: nobody
Status: closed | Milestone:
Component: Documentation | Version: SVN
Resolution: worksforme | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by johntynan):
I believe this directory only contains symlinks to the files themselves.
To find the actual base_site.html file, you'll want to find the path to
the symlink as described above, cd into the directory containing the
symlink to base_site.html, then use the command:
ls base_site.html -l
This will give you the path to the actual file.
Then, you'll want to cd to this directory and, as root, copy the file to
your working mysite/templates/admin directory:
sudo cp base_site.html /home/username/.../mysite/templates/admin
Then you'll want to cd into your working directory and change the
ownership of the file:
sudo chown username base_site.html
--
Ticket URL: <http://code.djangoproject.com/ticket/7587#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---