diff --git a/docs/calculated_fields.rst b/docs/calculated_fields.rst index 2cf3294..36fd1bb 100644 --- a/docs/calculated_fields.rst +++ b/docs/calculated_fields.rst @@ -18,7 +18,7 @@ Adding a method to the model You can add two methods to your :code:`Origin` model like this:: - def hero_count(self,): + def hero_count(self): return self.hero_set.count() def villain_count(self): diff --git a/docs/logo.rst b/docs/logo.rst index 196ca9d..72cd39e 100644 --- a/docs/logo.rst +++ b/docs/logo.rst @@ -34,6 +34,7 @@ Now copy the :code:`base_site.html` from the admin app to :code:`templates\admin
+ {{ site_header|default:_('Django administration') }}