Răsfoiți Sursa

Removed broken print function

TonyKurts 1 an în urmă
părinte
comite
bac9cf869a
3 a modificat fișierele cu 4 adăugiri și 6 ștergeri
  1. 3 0
      .gitignore
  2. 1 3
      SharixAdmin/views/login.py
  3. 0 3
      install_unix.sh

+ 3 - 0
.gitignore

@@ -21,3 +21,6 @@ __pycache__/
 # Other
 *.sqlite3
 .env
+
+# Vim
+*~

+ 1 - 3
SharixAdmin/views/login.py

@@ -14,6 +14,4 @@ class LoginSharix(LoginView):
 
     
     def get_success_url(self):
-        print(self.request.GET['next'])
-        
-        return reverse_lazy('home')
+        return reverse_lazy('home')

+ 0 - 3
install_unix.sh

@@ -3,7 +3,6 @@ git clone -b unstable https://git.sharix-app.org/ShariX_Open/sharix-open-tickets
 git clone -b metasynced_module https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git metaservicesynced
 git clone -b webinterface https://git.sharix-app.org/ShariX_Open/sharix-open-webadmin.git SharixAdmin/templates/SharixAdmin
 git clone -b master https://git.sharix-app.org/ShariX_Open/sharix-open-local.git openlocal
-git clone -b master https://git.sharix-app.org/ShariX_Open/sharix-open-config.git conf
 python3 -m venv env
 source env/bin/activate
 pip3 install --upgrade pip
@@ -13,5 +12,3 @@ python3 manage.py migrate
 python3 manage.py collectstatic
 python3 manage.py createsuperuser
 deactivate
-cp conf/sharix_open.service /etc/systemd/system/
-