Skip to content

Commit e712db3

Browse files
committed
docs: fix link references
1 parent 191eb21 commit e712db3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Warning: read the django documentation to understand the impacts of using ``SESS
220220
.. _migrating-and-creating-the-public-tenant:
221221

222222
Migrating and Creating the Public Tenant
223-
====================================
223+
========================================
224224

225225
Django tenant schemas requires ``migrate_schemas`` to be called and a public tenant to be created. Here is an example of creating the public tenant along with a default 'system' tenant owner.
226226

@@ -238,7 +238,7 @@ Provisioning a Tenant
238238

239239
Here is an example to provision a tenant with the url "evilcorp.example.com". The Domain Name is taken from the ``TENANT_USERS_DOMAIN`` Variable in the Django settings file.
240240

241-
The user with the specified email will not be created by the ``provision_tenant`` command and has to exist beforhand. The user will be the owner of the tenant. In this example the Adminuser from the section above is used. To create another user see `Creating a User Section <createuser_>`_
241+
The user with the specified email will not be created by the ``provision_tenant`` command and has to exist beforhand. The user will be the owner of the tenant. In this example the Adminuser from the section above is used. To create another user see `Creating a User Section <creating-a-user_>`_
242242

243243
.. code-block:: python
244244
@@ -254,11 +254,10 @@ The user with the specified email will not be created by the ``provision_tenant`
254254
Creating a User
255255
===============
256256

257-
All users apart from the first public tenant user (see `Migrating and Creating the Public Tenant <migrating_>`_ for creating the first public tenant user) should be created through the object manager.
257+
All users apart from the first public tenant user (see `Migrating and Creating the Public Tenant <migrating-and-creating-the-public-tenant_>`_ for creating the first public tenant user) should be created through the object manager.
258258

259259
.. code-block:: python
260260
261261
user = TenantUser.objects.create_user(email="[email protected]", password='password', is_active=True)
262262
263263
Currently all users rely on an email for the username.
264-

0 commit comments

Comments
 (0)