change: change apps folder

This commit is contained in:
behruz-dev
2025-08-28 14:20:44 +05:00
parent 8ac8fd8787
commit ccfe0d6c18
11 changed files with 19 additions and 13 deletions

View File

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

View File

View File

@@ -3,4 +3,4 @@ from django.apps import AppConfig
class SharedConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'shared'
name = 'core.apps.shared'

View File

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

View File

View File

@@ -0,0 +1,12 @@
import uuid
from django.db import models
class BaseModel(models.Model):
id = models.UUIDField(primary_key=True, editable=False, unique=True, default=uuid.uuid4)
created_at = models.DateTimeField(auto_created=True)
class Meta:
abstract = True

View File

View File

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

6
core/apps/shared/urls.py Normal file
View File

@@ -0,0 +1,6 @@
from django.urls import path, include
urlpatterns = [
]

View File

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

View File