Added initial traveller and common apps

This commit is contained in:
st01765
2026-02-04 15:56:50 +11:00
parent e86a842e69
commit ad4fd19cc7
15 changed files with 39 additions and 1 deletions
+3 -1
View File
@@ -44,7 +44,9 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'import_export',
'rangefilter',
'transport'
'common',
'transport',
'traveller'
]
if platform.system() == "Linux":
View File
+3
View File
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class CommonConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'common'
+3
View File
@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+3
View File
@@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.
View File
+3
View File
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class TravellerConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'traveller'
+3
View File
@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+3
View File
@@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.