Basic aldryn setup
This commit is contained in:
parent
caf2db608b
commit
7c6abbfd34
3 changed files with 30 additions and 0 deletions
14
addon.json
Normal file
14
addon.json
Normal 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
8
aldryn_config.py
Normal 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
|
8
djangocms_blog/taggit_urls.py
Normal file
8
djangocms_blog/taggit_urls.py
Normal 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')),
|
||||
]
|
Loading…
Reference in a new issue