@@ -37,7 +37,7 @@ a field ``social_security_number`` in the `sample_users/models.py
3737
3838Firstly, to get started you need to create a django project:
3939
40- .. code-block ::
40+ .. code-block :: bash
4141
4242 django-admin startproject mycontroller
4343
@@ -55,7 +55,7 @@ of python scripts), in the following examples we'll call these django app
5555``sample_config ``, ``sample_pki ``, ``sample_connection ``, ``sample_geo `` &
5656``sample_subnet_division ``. but you can name it how you want:
5757
58- .. code-block ::
58+ .. code-block :: bash
5959
6060 django-admin startapp sample_config
6161 django-admin startapp sample_pki
@@ -77,7 +77,7 @@ apps, please refer to the `django documentation
7777
7878Install (and add to the requirement of your project) openwisp-controller:
7979
80- .. code-block ::
80+ .. code-block :: bash
8181
8282 pip install openwisp-controller
8383
@@ -364,7 +364,7 @@ step 1.
364364
365365Create database migrations:
366366
367- .. code-block ::
367+ .. code-block :: bash
368368
369369 ./manage.py makemigrations
370370
@@ -385,7 +385,7 @@ make a migrations file which would look like:
385385
386386Create database migrations:
387387
388- .. code-block ::
388+ .. code-block :: bash
389389
390390 ./manage.py migrate
391391
@@ -723,7 +723,7 @@ For running the tests, you need to copy fixtures as well:
723723
724724You can then run tests with:
725725
726- .. code-block ::
726+ .. code-block :: bash
727727
728728 # the --parallel flag is optional
729729 ./manage.py test --parallel mycontroller
0 commit comments