From 50b19b708cc4e4d059e09e4e5b731c034e121736 Mon Sep 17 00:00:00 2001 From: ferene Date: Tue, 25 Aug 2020 13:53:28 +0200 Subject: [PATCH] Add default_app_config --- emailtemplates/__init__.py | 2 ++ emailtemplates/apps.py | 8 ++++++++ setup.py | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 emailtemplates/apps.py diff --git a/emailtemplates/__init__.py b/emailtemplates/__init__.py index 03c5479..0d3ac7e 100644 --- a/emailtemplates/__init__.py +++ b/emailtemplates/__init__.py @@ -1,3 +1,5 @@ +default_app_config = 'emailtemplates.apps.EmailtempatesConfig' + VERSION = (0, 8, 0) # Dynamically calculate the version based on VERSION tuple diff --git a/emailtemplates/apps.py b/emailtemplates/apps.py new file mode 100644 index 0000000..ff609fd --- /dev/null +++ b/emailtemplates/apps.py @@ -0,0 +1,8 @@ +# -*- coding: utf-8 -*- +from django.apps import AppConfig +from django.utils.translation import ugettext_lazy as _ + + +class EmailtempatesConfig(AppConfig): + name = 'emailtemplates' + verbose_name = _('E-MAIL TEMPLATES') \ No newline at end of file diff --git a/setup.py b/setup.py index 7f0e4a0..10f1e81 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( name='django-emailtemplates', - version='1.1.4', + version='1.1.5', packages=find_packages(), include_package_data=True, license='MIT License',