Browse Source

Merge branch 'unstable' of blezz-tech/sharix-open-webapp-base into unstable

Панюкова Александра Анатольевна 2 tháng trước cách đây
mục cha
commit
45c3f9db29
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      bin/install.sh
  2. 1 1
      sharix_admin/signals.py

+ 1 - 1
bin/install.sh

@@ -77,7 +77,7 @@ else
 fi
 
 # Checking for sharix_open.service
-if [ -f sharix_open.service ]; then
+if [ -f conf/sharix_open.service ]; then
     echo "File sharix_open.service already exists"
 else
     cp conf/sharix_open.service.example conf/sharix_open.service

+ 1 - 1
sharix_admin/signals.py

@@ -49,7 +49,7 @@ def create_test_users(sender, **kwargs):
 
         # Создание админа
         if not get_user_model().objects.filter(phone_number="11111111111").exists():
-            admin, created = get_user_model().objects.create_superuser(
+            admin = get_user_model().objects.create_superuser(
                 'admin',
                 'admin@admin.com',
                 'Sharix!',