From 583446971ba8fc879004a8587d199d7b8b40734b Mon Sep 17 00:00:00 2001 From: Andrii Ishchenko Date: Fri, 17 Nov 2023 11:44:52 +0200 Subject: [PATCH] Solution 2 --- db.sqlite3 | Bin 176128 -> 176128 bytes taxi/views.py | 4 +++- taxi_service/settings.py | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db.sqlite3 b/db.sqlite3 index b59363401944225553d5c42fa6805eb6a9d383f4..3f1524c23e0acf8801a77ef07de6651cb0b6bb1e 100644 GIT binary patch delta 536 zcmajbyKd7^0D$4f1yV%;11l9O5))F=V;`SmJA%Qn6FW|#+(=Sq$<210*l}*YB}+;x z7?^;i6Ke-LBIJ=5Vdx9+4s>8eJi-6zKfg_#-=;o2OWb@u785t`2JZ)n9|Pk0G$kH9 zx_;=BAJby|7!WYMzc_txzj`?r*6Xc-$Kwry5H@_YT%#3_SqHE1bnXXkkTuk(Gn4Gv zWG6I)dVgA5tD9~;FV1@m?AE;51lF~}LIZ6R8>M2wX2;RuY*T4@8$_?59F;YzIaCzf z(^#%z^mI!MoEF;48KiX7w?0A=!+)NTAh#6>(13;+ip~J)1n@aX=O{J{FyvWqk-c~K z%oeUzec~kk`i5|yCcls|sgUva7vKq5B7YsIoZ;vW50>=MbQgiO@kR`uxE^QeA>wUL zPrf{?CjNIlcKXC`@)gbHC@zaQ3PLvd{7^{z(-vPYh!02UzgkH1n7;bCCxo~Y5#QK9 DW?rTn delta 535 zcmaiwJ#W)c7)EQCk}4EjSV2$(6H>!{eeJ}yU~nOkoy5>2RhwjSf9oHxZ3D77Wv&Ks#||LK2Mm5O{mSriWr=@vLv85zK7M9{Uw2S@m?^ z(GK5^j^viSD|%UicG@*p6k~p_YO&M6AggiEL|B~fHB)ZdpK3KBV$DD|gg6+Xv6;jT zHe(?ec2zDJ_0&CKk#?-mN+!FZV}!{BqUxOOxq7wNCmi(07L+yd^+7)rmg_gywB;k& zh)mNB+^FmuUL`b1JVp2&;n_?G5M<88I;s=%0BqCuvSGKKsm=`9EeRq_vatm1xi@^H zcYI>ElwnvEUIeivay2iE+6}_uZ3xxwtVt9_>9OdF*=+<{NR&X3FfQ?8nG?|a(v7vN zWT&A{Z{^=!($jkdh55?l%#$CF(OpJmey`N8>sffZs!`Xy$vvI^!#o3C0 HttpResponse: +@login_required +def index(request: HttpRequest) -> HttpResponse: """View function for the home page of the site.""" num_drivers = Driver.objects.count() diff --git a/taxi_service/settings.py b/taxi_service/settings.py index 4706af52..a4ef2fd3 100644 --- a/taxi_service/settings.py +++ b/taxi_service/settings.py @@ -12,8 +12,6 @@ from pathlib import Path -from django.conf.global_settings import LOGIN_REDIRECT_URL - # Build paths inside the project like this: BASE_DIR / "subdir". BASE_DIR = Path(__file__).resolve().parent.parent