diff --git a/backend/fleet_management/admin.py b/backend/fleet_management/admin.py
index 6adb123c..a16a8484 100644
--- a/backend/fleet_management/admin.py
+++ b/backend/fleet_management/admin.py
@@ -48,7 +48,7 @@ class Meta:
class DriveAdmin(ImportExportModelAdmin):
resource_class = DriveResource
list_filter = ("driver__country",)
- list_display = ("__str__", "country")
+ list_display = ("__str__", "country", "is_verified")
class CustomUserAdmin(UserAdmin):
diff --git a/backend/fleet_management/serializers.py b/backend/fleet_management/serializers.py
index 1fcaf111..c8df9448 100644
--- a/backend/fleet_management/serializers.py
+++ b/backend/fleet_management/serializers.py
@@ -90,6 +90,7 @@ class Meta:
"end_location",
"timestamp",
"signature",
+ "is_verified",
)
read_only_fields = ("is_verified",)
diff --git a/backend/pah_fm/settings.py b/backend/pah_fm/settings.py
index fffb7c9a..eec23b9a 100644
--- a/backend/pah_fm/settings.py
+++ b/backend/pah_fm/settings.py
@@ -28,12 +28,14 @@
DEBUG = os.environ.get('DEBUG', '0') == '1'
ALLOWED_HOSTS = [
- 'localhost',
- '127.0.0.1',
- '52.232.62.212',
- '.pahfm.codeforpoznan.pl',
- '.lemik.pl',
- ]
+ 'localhost',
+ '127.0.0.1',
+ '52.232.62.212',
+ '.pahfm.codeforpoznan.pl',
+]
+
+if DEBUG:
+ ALLOWED_HOSTS = ['*']
# Application definition
diff --git a/frontend/src/components/MainForm.vue b/frontend/src/components/MainForm.vue
index 266ec878..d8f86004 100644
--- a/frontend/src/components/MainForm.vue
+++ b/frontend/src/components/MainForm.vue
@@ -14,10 +14,11 @@
@reset.prevent="$emit('reset')"
>