Hi,
I am new to Mezzanine and am not a programmer so this question might seem
simple. I would like to change the titles on the admin page such as "Select
Blog post to change", "Add blog post" , "Blog post"(under content).
Basically if it says blog post I want to change it. I can see the titles in
the html in google chrome under inspect element , and the Django debugger
shows me page templates used to render the site but when I look in the
templates I don't see in the HTML where the titles are defined. Is there a
simple way to do this or am I looking in the wrong files? The Django
debugger lists these templates:
/Users/seanmiller/.virtualenvs/rfpdb/lib/python3.4/site-packages/grappelli_safe/templates/admin/change_list.htm,
/Users/seanmiller/.virtualenvs/rfpdb/lib/python3.4/site-packages/mezzanine/core/templates/admin/base_site.html,
/Users/seanmiller/.virtualenvs/rfpdb/lib/python3.4/site-packages/grappelli_safe/templates/admin/base.html,
/Users/seanmiller/.virtualenvs/rfpdb/lib/python3.4/site-packages/grappelli_safe/templates/admin/base.html,
/Users/seanmiller/.virtualenvs/rfpdb/lib/python3.4/site-packages/grappelli_safe/templates/admin/filter.html,
/Users/seanmiller/.virtualenvs/rfpdb/lib/python3.4/site-packages/grappelli_safe/templates/admin/filter.html,
/Users/seanmiller/.virtualenvs/rfpdb/lib/python3.4/site-packages/grappelli_safe/templates/admin/filter.html
And it shows this when I select toggle context:
'app_label': 'blog', 'cl': <django.contrib.admin.views.main.ChangeList
object at 0x10652b748>, 'has_add_permission': True, 'is_popup': False,
'media': <django.forms.widgets.Media object at 0x10651aa90>, 'module_name':
'Blog posts', 'opts': <Options for BlogPost>, 'preserved_filters': '',
'selection_note': '0 of 2 selected', 'selection_note_all': 'All 2
selected', 'title': 'Select Blog post to change'}
I can even see in Google Chrome where it says <div id="content"
class="flex">
<h1>Select Blog post to change</h1>
But when I look in the templates I listed I don''t see any of these lines
nor do I see anywhere the titles are defined. I know it's probably just my
lack of programming knowlege but I would appreciate any help in changing
these titles and labels on the admin page to not mention blog.
Thanks,
Sean
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.