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.
(*) still weirdness that the plugin needs to be rendered in new style rendering (with separate structure rendering). I'm unsure why this is the case. - Not longer supporting django CMS<3.5 - Dropped Django<1.8 support.
- Loading branch information
1 parent
ff6aa92
commit e5bfa9a
Showing
10 changed files
with
86 additions
and
330 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
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,11 @@ | ||
# -*- coding: utf-8 -*- | ||
from aldryn_client import forms | ||
|
||
|
||
class Form(forms.BaseForm): | ||
|
||
def to_settings(self, data, 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
File renamed without changes.
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.
Oops, something went wrong.