-
Notifications
You must be signed in to change notification settings - Fork 112
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
f9a19e0
commit c7db11e
Showing
65 changed files
with
238 additions
and
71 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
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,2 +1,2 @@ | ||
FeinCMS>=1.9,<1.10 | ||
FeinCMS>=1.9,<1.11 | ||
django-tinymce>=1.5.3 |
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
1 change: 1 addition & 0 deletions
1
examples/simple/runserver-bootstrap3-theme-django-1-7-djangocms_integration.sh
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 @@ | ||
./manage.py runserver 0.0.0.0:8000 --traceback -v 3 --settings=settings_bootstrap3_theme_django_1_7_djangocms --traceback -v 3 |
1 change: 0 additions & 1 deletion
1
examples/simple/runserver-bootstrap3-theme-django-1-7-feincms_integration.sh
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,2 +1 @@ | ||
#workon fobi | ||
./manage.py runserver 0.0.0.0:8000 --traceback -v 3 --settings=settings_bootstrap3_theme_django_1_7_feincms --traceback -v 3 |
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
68 changes: 68 additions & 0 deletions
68
examples/simple/settings_bootstrap3_theme_django_1_7_djangocms.py
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,68 @@ | ||
from settings import * | ||
|
||
INSTALLED_APPS = list(INSTALLED_APPS) | ||
INSTALLED_APPS += [ | ||
'cms', # DjangoCMS | ||
'mptt', | ||
'menus', | ||
'sekizai', | ||
#'djangocms_admin_style', | ||
|
||
# Some plugins | ||
'djangocms_picture', | ||
'djangocms_snippet', | ||
|
||
'fobi.contrib.apps.djangocms_integration', # Fobi DjangoCMS app | ||
|
||
#'djangocms_page', # Example | ||
] | ||
|
||
try: | ||
INSTALLED_APPS.remove('south') if 'south' in INSTALLED_APPS else None | ||
#INSTALLED_APPS.remove('admin_tools') \ | ||
# if 'admin_tools' in INSTALLED_APPS else None | ||
#INSTALLED_APPS.remove('admin_tools.menu') \ | ||
# if 'admin_tools.menu' in INSTALLED_APPS else None | ||
INSTALLED_APPS.remove('admin_tools.dashboard') \ | ||
if 'admin_tools.dashboard' in INSTALLED_APPS else None | ||
except Exception as e: | ||
pass | ||
|
||
MIDDLEWARE_CLASSES = list(MIDDLEWARE_CLASSES) | ||
MIDDLEWARE_CLASSES += [ | ||
#'django.middleware.cache.UpdateCacheMiddleware', | ||
'cms.middleware.page.CurrentPageMiddleware', | ||
'cms.middleware.user.CurrentUserMiddleware', | ||
'cms.middleware.toolbar.ToolbarMiddleware', | ||
'cms.middleware.language.LanguageCookieMiddleware', | ||
#'django.middleware.cache.FetchFromCacheMiddleware', | ||
] | ||
|
||
TEMPLATE_CONTEXT_PROCESSORS = list(TEMPLATE_CONTEXT_PROCESSORS) | ||
TEMPLATE_CONTEXT_PROCESSORS += [ | ||
'cms.context_processors.media', | ||
'sekizai.context_processors.sekizai', | ||
'cms.context_processors.cms_settings', | ||
] | ||
|
||
FOBI_DEFAULT_THEME = 'bootstrap3' | ||
#FOBI_DEFAULT_THEME = 'foundation5' | ||
#FOBI_DEFAULT_THEME = 'simple' | ||
|
||
CMS_TEMPLATES = ( | ||
('cms_page/{0}/page_with_sidebar.html'.format(FOBI_DEFAULT_THEME), | ||
'General template with sidebar for {0}'.format(FOBI_DEFAULT_THEME)), | ||
('cms_page/{0}/page_without_sidebar.html'.format(FOBI_DEFAULT_THEME), | ||
'General template without sidebar for {0}'.format(FOBI_DEFAULT_THEME)), | ||
) | ||
|
||
MIGRATION_MODULES = { | ||
'cms': 'cms.migrations_django', | ||
'menus': 'menus.migrations_django', | ||
} | ||
|
||
LANGUAGE_CODE = 'en' | ||
|
||
#FEINCMS_RICHTEXT_INIT_CONTEXT = { | ||
# 'TINYMCE_JS_URL': STATIC_URL + 'tiny_mce/tiny_mce.js', | ||
#} |
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,9 @@ | ||
pip install -r examples/requirements_django_1_7.txt | ||
pip install -r examples/requirements_djangocms.txt | ||
python setup.py install | ||
mkdir -p examples/logs examples/db examples/media examples/media/static examples/media/fobi_plugins/content_image | ||
mkdir -p examples/media/fobi_plugins/file | ||
python examples/simple/manage.py collectstatic --noinput --settings=settings_bootstrap3_theme_django_1_7_djangocms --traceback -v 3 | ||
python examples/simple/manage.py syncdb --noinput --settings=settings_bootstrap3_theme_django_1_7_djangocms --traceback -v 3 | ||
python examples/simple/manage.py migrate --noinput --settings=settings_bootstrap3_theme_django_1_7_djangocms --traceback -v 3 | ||
python examples/simple/manage.py fobi_create_test_data --settings=settings_bootstrap3_theme_django_1_7_djangocms --traceback -v 3 |
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,9 @@ | ||
pip install -r examples/requirements_django_1_7.txt | ||
pip install -r examples/requirements_feincms.txt | ||
python setup.py install | ||
mkdir -p examples/logs examples/db examples/media examples/media/static examples/media/fobi_plugins/content_image | ||
mkdir -p examples/media/fobi_plugins/file | ||
python examples/simple/manage.py collectstatic --noinput --settings=settings_bootstrap3_theme_django_1_7_feincms --traceback -v 3 | ||
python examples/simple/manage.py syncdb --noinput --settings=settings_bootstrap3_theme_django_1_7_feincms --traceback -v 3 | ||
python examples/simple/manage.py migrate --noinput --settings=settings_bootstrap3_theme_django_1_7_feincms --traceback -v 3 | ||
python examples/simple/manage.py fobi_create_test_data --settings=settings_bootstrap3_theme_django_1_7_feincms --traceback -v 3 |
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,3 @@ | ||
reset | ||
./scripts/uninstall.sh | ||
./scripts/install_django_1_7_djangocms.sh |
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,3 @@ | ||
reset | ||
./scripts/uninstall.sh | ||
./scripts/install_django_1_7_feincms.sh |
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
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,14 +1,15 @@ | ||
__title__ = 'fobi.contrib.apps.djangocms_integration.apps' | ||
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>' | ||
__copyright__ = 'Copyright (c) 2014 Artur Barseghyan' | ||
__copyright__ = 'Copyright (c) 2014-2015 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('Config',) | ||
|
||
try: | ||
from django.apps import AppConfig | ||
|
||
class Config(AppConfig): | ||
name = label = 'fobi.contrib.apps.djangocms_integration' | ||
name = 'fobi.contrib.apps.djangocms_integration' | ||
label = 'fobi_contrib_apps_djangocms_integration' | ||
|
||
except ImportError: | ||
pass |
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,14 +1,15 @@ | ||
__title__ = 'fobi.contrib.apps.feincms_integration.apps' | ||
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>' | ||
__copyright__ = 'Copyright (c) 2014 Artur Barseghyan' | ||
__copyright__ = 'Copyright (c) 2014-2015 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('Config',) | ||
|
||
try: | ||
from django.apps import AppConfig | ||
|
||
class Config(AppConfig): | ||
name = label = 'fobi.contrib.apps.feincms_integration' | ||
name = 'fobi.contrib.apps.feincms_integration' | ||
label = 'fobi_contrib_apps_feincms_integration' | ||
|
||
except ImportError: | ||
pass |
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,14 +1,15 @@ | ||
__title__ = 'fobi.contrib.apps.mezzanine_integration.apps' | ||
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>' | ||
__copyright__ = 'Copyright (c) 2014 Artur Barseghyan' | ||
__copyright__ = 'Copyright (c) 2014-2015 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('Config',) | ||
|
||
try: | ||
from django.apps import AppConfig | ||
|
||
class Config(AppConfig): | ||
name = label = 'fobi.contrib.apps.mezzanine_integration' | ||
name = 'fobi.contrib.apps.mezzanine_integration' | ||
label = 'fobi_contrib_apps_mezzanine_integration' | ||
|
||
except ImportError: | ||
pass |
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
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
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
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
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
Oops, something went wrong.