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!

-- 
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/CAJAOMegYT3tcJ4W3U6HNUqbomSZVTpWzG3mZVQSsq76-YcC7OQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to