Basic aldryn setup

This commit is contained in:
Iacopo Spalletti 2016-06-03 00:05:49 +02:00
parent caf2db608b
commit 7c6abbfd34
No known key found for this signature in database
GPG key ID: BDCBC2EB289F60C6
3 changed files with 30 additions and 0 deletions

14
addon.json Normal file
View file

@ -0,0 +1,14 @@
{
"package-name": "djangocms_blog",
"installed-apps": [
"filer",
"easy_thumbnails",
"aldryn_apphooks_config",
"cmsplugin_filer_image",
"parler",
"taggit",
"taggit_autosuggest",
"meta",
"djangocms_blog"
]
}

8
aldryn_config.py Normal file
View file

@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
from aldryn_client import forms
class Form(forms.BaseForm):
def to_settings(self, data, settings):
settings['ADDON_URLS'].append('djangocms_blog.taggit_urls')
return settings

View file

@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
from django.conf.urls import include, url
urlpatterns = [
url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
]