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:
0
apps/complex/__init__.py
Normal file
0
apps/complex/__init__.py
Normal file
1
apps/complex/admin.py
Normal file
1
apps/complex/admin.py
Normal file
@@ -0,0 +1 @@
|
||||
from django.contrib import admin
|
||||
6
apps/complex/apps.py
Normal file
6
apps/complex/apps.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ComplexConfig(AppConfig):
|
||||
name = "apps.complex"
|
||||
verbose_name = "楼盘管理"
|
||||
0
apps/complex/models/.gitkeep
Normal file
0
apps/complex/models/.gitkeep
Normal file
0
apps/complex/models/__init__.py
Normal file
0
apps/complex/models/__init__.py
Normal file
0
apps/complex/services/.gitkeep
Normal file
0
apps/complex/services/.gitkeep
Normal file
0
apps/complex/services/__init__.py
Normal file
0
apps/complex/services/__init__.py
Normal file
6
apps/complex/tasks.py
Normal file
6
apps/complex/tasks.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from celery import shared_task
|
||||
|
||||
|
||||
@shared_task
|
||||
def sample_task() -> str:
|
||||
return "complex task placeholder"
|
||||
0
apps/complex/tests/.gitkeep
Normal file
0
apps/complex/tests/.gitkeep
Normal file
0
apps/complex/tests/__init__.py
Normal file
0
apps/complex/tests/__init__.py
Normal file
9
apps/complex/urls.py
Normal file
9
apps/complex/urls.py
Normal 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
5
apps/complex/views.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
|
||||
|
||||
def index(request: HttpRequest) -> HttpResponse:
|
||||
return HttpResponse("complex app placeholder")
|
||||
Reference in New Issue
Block a user