Skip to content

Commit 5131055

Browse files
committed
Merge branch 'master' into 4.2.x
2 parents b77d589 + 7bee3b6 commit 5131055

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

admin/mgmt_commands/index.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ This will produce output that looks like the following
266266
267267
DJANGO_SETTINGS_MODULE=geonode.settings python manage.py sync_geonode_maps --updatethumbnails -f 'This is a test Map'
268268
269-
Management Command ``set_all_layers_metadata``
269+
Management Command ``set_all_datasets_metadata``
270270
----------------------------------------------
271271
272272
This command allows to reset **Metadata Attributes** and **Catalogue Schema** on Datasets. The command will also update the :guilabel:`CSW Catalogue` XML and Links of GeoNode.
@@ -287,26 +287,26 @@ The options are:
287287
*
288288
* **set_links**; If set will refresh the links of the resource. (Default True).
289289
290-
First of all let's take a look at the :guilabel:`--help` option of the ``set_all_layers_metadata``
290+
First of all let's take a look at the :guilabel:`--help` option of the ``set_all_datasets_metadata``
291291
management command in order to inspect all the command options and features.
292292

293293
Run
294294

295295
.. code-block:: shell
296296
297-
DJANGO_SETTINGS_MODULE=geonode.settings python manage.py set_all_layers_metadata --help
297+
DJANGO_SETTINGS_MODULE=geonode.settings python manage.py set_all_datasets_metadata --help
298298
299299
.. note:: If you enabled ``local_settings.py`` the command will change as following:
300300

301301
.. code-block:: shell
302302
303-
DJANGO_SETTINGS_MODULE=geonode.local_settings python manage.py set_all_layers_metadata --help
303+
DJANGO_SETTINGS_MODULE=geonode.local_settings python manage.py set_all_datasets_metadata --help
304304
305305
This will produce output that looks like the following
306306

307307
.. code-block:: shell
308308
309-
usage: manage.py set_all_layers_metadata [-h] [--version] [-v {0,1,2,3}]
309+
usage: manage.py set_all_datasets_metadata [-h] [--version] [-v {0,1,2,3}]
310310
[--settings SETTINGS]
311311
[--pythonpath PYTHONPATH]
312312
[--traceback] [--no-color] [-i] [-d]
@@ -346,7 +346,7 @@ This will produce output that looks like the following
346346
347347
.. code-block:: shell
348348
349-
DJANGO_SETTINGS_MODULE=geonode.settings python manage.py set_all_layers_metadata -d
349+
DJANGO_SETTINGS_MODULE=geonode.settings python manage.py set_all_datasets_metadata -d
350350
351351
.. _load_data_into_geonode:
352352

install/advanced/production_enhancements/index.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ The following procedure allows you to fix-up broken or incorrect Metadata Links:
269269
# Enter the GeoNode Docker Container
270270
docker-compose exec django bash
271271
272-
# Run the `set_all_layers_metadata` management command
273-
./manage.sh set_all_layers_metadata -d
272+
# Run the `set_all_datasets_metadata` management command
273+
./manage.sh set_all_datasets_metadata -d
274274
275275
It is also possible to *force* purging the links before regenerating:
276276

@@ -279,8 +279,8 @@ It is also possible to *force* purging the links before regenerating:
279279
# Enter the GeoNode Docker Container
280280
docker-compose exec django bash
281281
282-
# Run the `set_all_layers_metadata` management command
283-
./manage.sh set_all_layers_metadata -d --prune
282+
# Run the `set_all_datasets_metadata` management command
283+
./manage.sh set_all_datasets_metadata -d --prune
284284
285285
Migrate GeoNode To A New Hostname
286286
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -305,8 +305,8 @@ In the case you will need to move your instance to another domain, as an example
305305
# Run the `migrate_baseurl` management command
306306
./manage.sh migrate_baseurl --source-address=my_geonode.geonode.org --target-address=prod_geonode.geonode.org
307307
308-
# Run the `set_all_layers_metadata` management command
309-
./manage.sh set_all_layers_metadata -d
308+
# Run the `set_all_datasets_metadata` management command
309+
./manage.sh set_all_datasets_metadata -d
310310
311311
312312
Add Huge Or DB Datasets To Your Instance

0 commit comments

Comments
 (0)