feat: add import app boilerplate

This commit is contained in:
Herculino Trotta
2025-01-16 14:09:33 -03:00
parent f7c3a2f320
commit 8992cd98b5
8 changed files with 19 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ INSTALLED_APPS = [
"apps.accounts.apps.AccountsConfig",
"apps.common.apps.CommonConfig",
"apps.net_worth.apps.NetWorthConfig",
"apps.import.apps.ImportConfig",
"apps.api.apps.ApiConfig",
"cachalot",
"rest_framework",

View File

3
app/apps/import/admin.py Normal file
View File

@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

6
app/apps/import/apps.py Normal file
View File

@@ -0,0 +1,6 @@
from django.apps import AppConfig
class ImportConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "apps.import"

View File

View File

@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
app/apps/import/tests.py Normal file
View File

@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
app/apps/import/views.py Normal file
View File

@@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.