change: change apps folder
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
@@ -3,4 +3,4 @@ from django.apps import AppConfig
|
||||
|
||||
class AccountsConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'accounts'
|
||||
name = 'core.apps.accounts'
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
0
core/apps/accounts/models/__init__.py
Normal file
0
core/apps/accounts/models/__init__.py
Normal file
10
core/apps/accounts/models/user.py
Normal file
10
core/apps/accounts/models/user.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.db import models
|
||||
from django.contrib.auth.models import AbstractUser
|
||||
|
||||
from core.apps.shared.models.base import BaseModel
|
||||
|
||||
|
||||
class User(AbstractUser, BaseModel):
|
||||
pass
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
6
core/apps/accounts/urls.py
Normal file
6
core/apps/accounts/urls.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.urls import path, include
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
]
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
0
core/apps/orders/admin/__init__.py
Normal file
0
core/apps/orders/admin/__init__.py
Normal file
@@ -3,4 +3,4 @@ from django.apps import AppConfig
|
||||
|
||||
class OrdersConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'orders'
|
||||
name = 'core.apps.orders'
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
0
core/apps/orders/models/__init__.py
Normal file
0
core/apps/orders/models/__init__.py
Normal file
0
core/apps/orders/serializers/__init__.py
Normal file
0
core/apps/orders/serializers/__init__.py
Normal file
@@ -1,3 +0,0 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
6
core/apps/orders/urls.py
Normal file
6
core/apps/orders/urls.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.urls import path, include
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
]
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
0
core/apps/orders/views/__init__.py
Normal file
0
core/apps/orders/views/__init__.py
Normal file
@@ -1,3 +0,0 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
0
core/apps/products/admin/__init__.py
Normal file
0
core/apps/products/admin/__init__.py
Normal file
@@ -3,4 +3,4 @@ from django.apps import AppConfig
|
||||
|
||||
class ProductsConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'products'
|
||||
name = 'core.apps.products'
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
0
core/apps/products/models/__init__.py
Normal file
0
core/apps/products/models/__init__.py
Normal file
0
core/apps/products/serializers/__init__.py
Normal file
0
core/apps/products/serializers/__init__.py
Normal file
@@ -1,3 +0,0 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
6
core/apps/products/urls.py
Normal file
6
core/apps/products/urls.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.urls import path, include
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
]
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
0
core/apps/products/views/__init__.py
Normal file
0
core/apps/products/views/__init__.py
Normal file
Reference in New Issue
Block a user