Initialize Fonrey Django multi-tenant project skeleton

Set up the required directory layout, app scaffolding, core settings, templates, static assets, and Docker/Tailwind tooling to establish a standardized development baseline.
This commit is contained in:
2026-04-26 17:12:09 +08:00
commit 4aba6dfa77
170 changed files with 1220 additions and 0 deletions

0
apps/org/__init__.py Normal file
View File

1
apps/org/admin.py Normal file
View File

@@ -0,0 +1 @@
from django.contrib import admin

6
apps/org/apps.py Normal file
View File

@@ -0,0 +1,6 @@
from django.apps import AppConfig
class OrgConfig(AppConfig):
name = "apps.org"
verbose_name = "组织人事"

0
apps/org/models/.gitkeep Normal file
View File

View File

View File

View File

6
apps/org/tasks.py Normal file
View File

@@ -0,0 +1,6 @@
from celery import shared_task
@shared_task
def sample_task() -> str:
return "org task placeholder"

0
apps/org/tests/.gitkeep Normal file
View File

View File

9
apps/org/urls.py Normal file
View File

@@ -0,0 +1,9 @@
from django.urls import path
from . import views
app_name = "org"
urlpatterns = [
path("", views.index, name="index"),
]

5
apps/org/views.py Normal file
View File

@@ -0,0 +1,5 @@
from django.http import HttpRequest, HttpResponse
def index(request: HttpRequest) -> HttpResponse:
return HttpResponse("org app placeholder")