Re: Customizing your project's templates
Hey
-- Yes, thank you. It worked!
Btw sorry for the late reply, my previous 'thank you' reply didn't seem to go through it seems.
On Monday, October 21, 2013 2:52:48 PM UTC+11, Sheharyar Hamayun wrote:
On Monday, October 21, 2013 2:52:48 PM UTC+11, Sheharyar Hamayun wrote:
Ok, so i've copied the base_site html to lotus/pollapp/mysite/polls/templates/admin . I've opened the html file in a text editor and changed<h1 id="site-name">{% trans 'Django administration' %}</h1> to<h1 id="site-name">{% trans 'Pollapp' %}</h1>However this change doesn't show on the website. My Template DIRS is:TEMPLATE_DIRS = ('lotus/pollapp/mysite/polls/templates', # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".# Always use forward slashes, even on Windows.# Don't forget to use absolute paths, not relative paths.)I've restarted the dev server and refreshed the website many times, but still no change.Any help with what i'm doing wrong?
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/ea6c8a05-9acf-4d67-b89f-65eb4651855d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home