Sunday, April 27, 2014

Tutorial - Customize the admin look and feel

Hello,

I was following the instructions to create a basic poll application with django 1.8 (dev), but now I'm stuck to this paragraph.
My template doesn't override the original.

This is the instruction added at the end of 'settings.py':
    TEMPLATES_DIRS = [os.path.join(BASE_DIR, 'templates')]

This is my directory structure:
mysite/
    mysite/
        __init__.py
        settings.py
        urls.py
        wsgi.py
    polls/
    templates/
        admin/
            base_site.html
    db.sqlite3
    manage.py

In my 'base_site.html' I replaced '{{ site_header }}' with 'MySite'but I don't see any change opening the admin panel ( ).
Am I doing something in the wrong way?

Thanks for your help.

--
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/d7acce7f-b457-4f6a-99f3-33017d6c9f92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment