Initial app Product

This commit is contained in:
evgeniy-st 2019-09-20 12:13:26 +03:00
parent 2a79018f76
commit d2075a1bf8
21 changed files with 8 additions and 15 deletions

7
apps/product/apps.py Normal file
View 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')

View File

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

View File

@ -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')

View File

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

View File

@ -1 +0,0 @@
# Create your views here.

View File

@ -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',