Re: Writing your first Django app, part 2 - Customize the admin look and feel
Can you post your directory structure here? The problem should be there, most probably.
On Wednesday, 15 January 2014 11:37:51 UTC+5:30, Tim DiSabatino wrote:
-- On Wednesday, 15 January 2014 11:37:51 UTC+5:30, Tim DiSabatino wrote:
Hello,
I am just going through the Django Tutorial and am in Writing your first Django app, part 2. In the section called "Customize the admin look and feel", I have created a templates directory, an admin directory inside of that, and copied the base_site.html file into the admin directory. I have also added the line below to the settings.py file as instructed:
TEMPLATE_DIRS = [os.path.join(BASE_DIR,'templates')]
However, when I change the <h1> in the base_site.html file, nothing happens. I have tried moving the templates directory around several times and still no change the admin <h1> text. It appears that others have had problems with this part of the tutorial in the past for previous versions of Django but the solutions I have tried don't seem to work with Django v 1.6.1. This part of the tutorial has changed even since Django 1.5. Can anyone help and tell me what I'm doing incorrectly? Is is some kind of absolute/relative path issue? Thanks so much for your help.
-Tim
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/dbf18941-866c-4f0e-ab0f-33f32fdd1875%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home