Initial app Product
This commit is contained in:
parent
2a79018f76
commit
d2075a1bf8
7
apps/product/apps.py
Normal file
7
apps/product/apps.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from django.apps import AppConfig
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
class ProductConfig(AppConfig):
|
||||
name = 'product'
|
||||
verbose_name = _('Product')
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
from django.apps import AppConfig
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
class ProductsConfig(AppConfig):
|
||||
"""Products model."""
|
||||
name = 'products'
|
||||
verbose_name = _('products')
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
|
|
@ -1 +0,0 @@
|
|||
# Create your views here.
|
||||
|
|
@ -63,6 +63,7 @@ PROJECT_APPS = [
|
|||
'news.apps.NewsConfig',
|
||||
'notification.apps.NotificationConfig',
|
||||
'partner.apps.PartnerConfig',
|
||||
'product.apps.ProductConfig',
|
||||
'recipe.apps.RecipeConfig',
|
||||
'search_indexes.apps.SearchIndexesConfig',
|
||||
'translation.apps.TranslationConfig',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user