Skip to content

Commit 1a28342

Browse files
committed
Update README with instructions for setting PROJECT_HOME_NAMESPACE to a URL
1 parent d4396f4 commit 1a28342

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ Specify the ``PROJECT_HOME_NAMESPACE`` in ``settings.py``:
4848
PROJECT_HOME_NAMESPACE = 'project_name:index_view'
4949
5050
51+
Rather than using an internal namespace, you can also set ``PROJECT_HOME_NAMESPACE`` to a specific URL:
52+
53+
.. code-block:: python
54+
55+
PROJECT_HOME_NAMESPACE = 'djangoproject.com'
56+
57+
5158
By default, a link created with a ``project_home_tags`` template tag has 'Home' as its text. This can be overridden by defining an optional project-wide label with ``PROJECT_HOME_LABEL`` in ``settings.py``:
5259

5360
.. code-block:: python

0 commit comments

Comments
 (0)