清空,重构
This commit is contained in:
@@ -1 +0,0 @@
|
||||
from django.contrib import admin
|
||||
@@ -1,6 +0,0 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class OrgConfig(AppConfig):
|
||||
name = "apps.org"
|
||||
verbose_name = "组织人事"
|
||||
@@ -1,6 +0,0 @@
|
||||
from celery import shared_task
|
||||
|
||||
|
||||
@shared_task
|
||||
def sample_task() -> str:
|
||||
return "org task placeholder"
|
||||
@@ -1,9 +0,0 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
app_name = "org"
|
||||
|
||||
urlpatterns = [
|
||||
path("", views.index, name="index"),
|
||||
]
|
||||
@@ -1,5 +0,0 @@
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
|
||||
|
||||
def index(request: HttpRequest) -> HttpResponse:
|
||||
return HttpResponse("org app placeholder")
|
||||
Reference in New Issue
Block a user