blezz-tech 2 mēneši atpakaļ
vecāks
revīzija
0c5f015c1d
1 mainītis faili ar 13 papildinājumiem un 5 dzēšanām
  1. 13 5
      README.md

+ 13 - 5
README.md

@@ -11,13 +11,21 @@ The base Django project of a service web application to which other modules are
 
 ### Test Users
 
-During the installation/upgrade, you can pass the envvar: `TEST_USERS=true` or set
-`GENERATE_TEST_USERS = True` in core/settings_vars.py to automatically create test
-users. These users will be assigned to the **TEST** group. Additionally, if the `DEBUG`
-setting is enabled (`DEBUG=True` in *core/settings_vars.py*), these test
-users will be marked as active and can log in. If `DEBUG` is disabled
+During the installation/upgrade, you can pass the `GENERATE_TEST_USERS=1`
+is set in the `install.cfg` file to automatically create test users.
+These users will be assigned to the **TEST** group. Additionally, if the
+`DEBUG` setting is enabled (`DEBUG=True` in *core/settings_vars.py*), these
+test users will be marked as active and can log in. If `DEBUG` is disabled
 (`DEBUG=False`), the users will be inactive and unable to log in.
 
+#### Alternative gen test user
+
+Use command:
+
+```bash
+python manage.py init_test_users
+```
+
 #### Properties
 
 - **Username:** `test-<group_name>-<ordinal_number_in_group>`.