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/account/__init__.py
Normal file
0
apps/account/__init__.py
Normal file
1
apps/account/admin.py
Normal file
1
apps/account/admin.py
Normal file
@@ -0,0 +1 @@
|
||||
from django.contrib import admin
|
||||
6
apps/account/apps.py
Normal file
6
apps/account/apps.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class AccountConfig(AppConfig):
|
||||
name = "apps.account"
|
||||
verbose_name = "登录认证"
|
||||
0
apps/account/models/.gitkeep
Normal file
0
apps/account/models/.gitkeep
Normal file
0
apps/account/models/__init__.py
Normal file
0
apps/account/models/__init__.py
Normal file
0
apps/account/services/.gitkeep
Normal file
0
apps/account/services/.gitkeep
Normal file
0
apps/account/services/__init__.py
Normal file
0
apps/account/services/__init__.py
Normal file
6
apps/account/tasks.py
Normal file
6
apps/account/tasks.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from celery import shared_task
|
||||
|
||||
|
||||
@shared_task
|
||||
def sample_task() -> str:
|
||||
return "account task placeholder"
|
||||
0
apps/account/tests/.gitkeep
Normal file
0
apps/account/tests/.gitkeep
Normal file
0
apps/account/tests/__init__.py
Normal file
0
apps/account/tests/__init__.py
Normal file
9
apps/account/urls.py
Normal file
9
apps/account/urls.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
app_name = "account"
|
||||
|
||||
urlpatterns = [
|
||||
path("", views.index, name="index"),
|
||||
]
|
||||
5
apps/account/views.py
Normal file
5
apps/account/views.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
|
||||
|
||||
def index(request: HttpRequest) -> HttpResponse:
|
||||
return HttpResponse("account app placeholder")
|
||||
Reference in New Issue
Block a user