Sunday, March 8, 2015

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

Have you solved this problem, Andreas?  I am having the same issue and have done
everything that the tutorial described as well as everything that people on this thread
have suggested.

On Sunday, November 16, 2014 at 12:15:59 PM UTC-6, Andreas Ka wrote:
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 ?


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
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+unsubscribe@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/08951132-a2be-4b62-be81-22d4af9e11d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment