This repository has been archived by the owner on Jan 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff6aa92
commit de0385f
Showing
6 changed files
with
161 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,4 @@ | ||
{ | ||
"name": "Aldryn Segmentation", | ||
"description": "Provides market segmentation to Aldryn!", | ||
"url": "https://github.com/aldryn/aldryn-segmentation", | ||
"package-name": "aldryn-segmentation", | ||
"installed-apps": [ | ||
"aldryn_segmentation" | ||
], | ||
"author": { | ||
"name": "Divio", | ||
"url": "https://www.aldryn.com" | ||
}, | ||
"license": { | ||
"name": "BSD" | ||
} | ||
} | ||
"installed-apps": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
from aldryn_client import forms | ||
|
||
|
||
class Form(forms.BaseForm): | ||
|
||
def to_settings(self, data, settings): | ||
# from functools import partial | ||
# from aldryn_addons.utils import boolean_ish, djsenv | ||
# env = partial(djsenv, settings=settings) | ||
|
||
settings['INSTALLED_APPS'].extend([ | ||
'aldryn_segmentation', | ||
]) | ||
return settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('aldryn_segmentation', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='authenticatedsegmentpluginmodel', | ||
name='cmsplugin_ptr', | ||
field=models.OneToOneField(parent_link=True, related_name='aldryn_segmentation_authenticatedsegmentpluginmodel', auto_created=True, primary_key=True, serialize=False, to='cms.CMSPlugin'), | ||
), | ||
migrations.AlterField( | ||
model_name='cookiesegmentpluginmodel', | ||
name='cmsplugin_ptr', | ||
field=models.OneToOneField(parent_link=True, related_name='aldryn_segmentation_cookiesegmentpluginmodel', auto_created=True, primary_key=True, serialize=False, to='cms.CMSPlugin'), | ||
), | ||
migrations.AlterField( | ||
model_name='fallbacksegmentpluginmodel', | ||
name='cmsplugin_ptr', | ||
field=models.OneToOneField(parent_link=True, related_name='aldryn_segmentation_fallbacksegmentpluginmodel', auto_created=True, primary_key=True, serialize=False, to='cms.CMSPlugin'), | ||
), | ||
migrations.AlterField( | ||
model_name='segmentlimitpluginmodel', | ||
name='cmsplugin_ptr', | ||
field=models.OneToOneField(parent_link=True, related_name='aldryn_segmentation_segmentlimitpluginmodel', auto_created=True, primary_key=True, serialize=False, to='cms.CMSPlugin'), | ||
), | ||
migrations.AlterField( | ||
model_name='switchsegmentpluginmodel', | ||
name='cmsplugin_ptr', | ||
field=models.OneToOneField(parent_link=True, related_name='aldryn_segmentation_switchsegmentpluginmodel', auto_created=True, primary_key=True, serialize=False, to='cms.CMSPlugin'), | ||
), | ||
] |
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters