Skip to content

Commit 029cfaf

Browse files
renzonrenzon
authored andcommitted
Changed app name from mailchimp to email_marketing
hold #1783
1 parent 44257d9 commit 029cfaf

8 files changed

Lines changed: 7 additions & 7 deletions

File tree

pythonpro/domain/user_facade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from pythonpro.cohorts import facade as _cohorts_facade
1313
from pythonpro.core import facade as _core_facade
1414
from pythonpro.core.models import User as _User
15-
from pythonpro.mailchimp import facade as _mailchimp_facade
15+
from pythonpro.email_marketing import facade as _mailchimp_facade
1616
from pythonpro.payments import facade as _payments_facade
1717

1818
UserCreationException = _core_facade.UserCreationException # exposing exception on Facade
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
class MailchimpConfig(AppConfig):
5-
name = 'pythonpro.mailchimp'
5+
name = 'pythonpro.email_marketing'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import pytest
44
import responses
55

6-
from pythonpro.mailchimp import facade
7-
from pythonpro.mailchimp.facade import tag_as
6+
from pythonpro.email_marketing import facade
7+
from pythonpro.email_marketing.facade import tag_as
88

99
roles_to_ids = {facade._LEAD: 'lead_id', facade._CLIENT: 'client_id', facade._MEMBER: 'member_id'}
1010

pythonpro/launch/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from pythonpro.cohorts.facade import find_most_recent_cohort
1010
from pythonpro.domain import user_facade
1111
from pythonpro.launch.forms import LeadForm
12-
from pythonpro.mailchimp import facade as mailchimp_facade
12+
from pythonpro.email_marketing import facade as mailchimp_facade
1313

1414
LAUNCH_STATUS_PPL = 0
1515
LAUNCH_STATUS_CPL1 = 1

pythonpro/modules/modules_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from django.contrib.auth.decorators import login_required
22
from django.shortcuts import render
33

4-
from pythonpro.mailchimp.facade import tag_as
4+
from pythonpro.email_marketing.facade import tag_as
55
from pythonpro.modules.facade import get_all_modules, get_module_with_contents
66

77

pythonpro/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
'pythonpro.promos',
6868
'pythonpro.payments',
6969
'pythonpro.cohorts',
70-
'pythonpro.mailchimp',
70+
'pythonpro.email_marketing',
7171
'pythonpro.dashboard',
7272
'pythonpro.launch',
7373
'pythonpro.analytics',

0 commit comments

Comments
 (0)