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/complex/__init__.py Normal file
View File

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

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

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

@@ -0,0 +1,6 @@
from django.apps import AppConfig
class ComplexConfig(AppConfig):
name = "apps.complex"
verbose_name = "楼盘管理"

View File

View File

View File

View File

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

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

View File

View File

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

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

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

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