I've been going through the tutorial and had the same problem. The docs say "Create a templates directory in your project directory. " I don't know if this will apply to you, but I thought that meant to put it in the poll directory. They mean to put it in the mysite directory. I made that change and my template changes started to be applied.
On Monday, November 17, 2014 at 5:15:59 AM UTC+11, Andreas Ka wrote: > > I am working through > https://docs.djangoproject.com/en/1.7/intro/tutorial02 > so far all went fine - but now *templates changes just don't work.* > > > > I think there must be a flaw in that tutorial, something missing, > or something different in django 1.7.1 ? > > https://docs.djangoproject.com/en/1.7/intro/tutorial02/#customize-the-admin-look-and-feel > > > my versions: > > python -c "import django; print(django.get_version())" > 1.7.1 > > python --version > Python 2.7.3 > > > > *SYMPTOM:* > > my changes in > mysite/templates/admin/base_site.html > are simply ignored. > > > > These are my files: > > mysite# tree > . > ├── db.sqlite3 > ├── manage.py > ├── mysite > │ ├── __init__.py > │ ├── settings.py > │ ├── urls.py > │ └── wsgi.py > ├── polls > │ ├── admin.py > │ ├── __init__.py > │ ├── migrations > │ │ ├── 0001_initial.py > │ │ └── __init__.py > │ ├── models.py > │ ├── tests.py > │ └── views.py > └── templates > └── admin > └── base_site.html > > > > mysite/settings.py: > > TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')] > > > *Whatever I do, the page* > *http://myserver:8000/admin/polls/question/ > <http://myserver:8000/admin/polls/question/>* > *still keeps the old title 'Django administration'* > > > I want to understand how templates work, because I need them for my real > project. > > Thanks a lot! > > > -- The information contained in this e-mail message and any accompanying files is or may be confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error please advise the sender immediately by return e-mail or telephone and delete all copies. Fairfax Media does not guarantee the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore Fairfax Media does not accept legal responsibility for the contents of this message or attached files. -- 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 post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3adb35af-b768-47fd-8196-8373d39c6991%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.