-
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.
add info about django 1.8 support; add additional helpers scripts for…
… django 1.8; minor fixes; docs updated
- Loading branch information
1 parent
be257cd
commit bba1186
Showing
17 changed files
with
120 additions
and
89 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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
https://www.djangoproject.com/download/1.8a1/tarball/ | ||
|
||
Jinja2 | ||
MarkupSafe | ||
MySQL-python | ||
Sphinx | ||
django-autoslug==1.7.1 | ||
django-debug-toolbar==0.11.0 | ||
django-registration-redux>=1.1 | ||
docutils | ||
ipdb | ||
ipython | ||
ordereddict>=1.1 | ||
# Selenium shall always be upgraded | ||
selenium | ||
simple-timer>=0.2 | ||
tox |
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,2 @@ | ||
#workon fobi | ||
./manage.py runserver 0.0.0.0:8000 --traceback -v 3 --settings=settings_bootstrap3_theme_django18 --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,21 @@ | ||
from settings import * | ||
|
||
INSTALLED_APPS = list(INSTALLED_APPS) | ||
|
||
try: | ||
INSTALLED_APPS.remove('south') if 'south' in INSTALLED_APPS else None | ||
INSTALLED_APPS.remove('tinymce') if 'tinymce' in INSTALLED_APPS else None | ||
except Exception as e: | ||
pass | ||
|
||
try: | ||
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 | ||
|
||
SOUTH_DATABASE_ADAPTER = '' |
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,12 @@ | ||
#pip install -r examples/requirements.txt --allow-all-external --allow-unverified django-admin-tools | ||
#cd .. | ||
pip uninstall south -y | ||
pip install -r examples/requirements_django18.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_django17 --traceback -v 3 | ||
python examples/simple/manage.py syncdb --noinput --settings=settings_bootstrap3_theme_django17 --traceback -v 3 | ||
python examples/simple/manage.py migrate --noinput --settings=settings_bootstrap3_theme_django17 --traceback -v 3 | ||
python examples/simple/manage.py fobi_create_test_data --settings=settings_bootstrap3_theme_django17 --traceback -v 3 | ||
#cd scripts |
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_django18.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,6 +1,6 @@ | ||
reset | ||
./scripts/uninstall.sh | ||
./scripts/install.sh | ||
./scripts/install_django17.sh | ||
#cd .. | ||
python examples/simple/manage.py test fobi --settings=settings_bootstrap3_theme_django17 --traceback -v 3 | ||
#cd scripts |
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,6 @@ | ||
reset | ||
./scripts/uninstall.sh | ||
./scripts/install_django18.sh | ||
#cd .. | ||
python examples/simple/manage.py test fobi --settings=settings_bootstrap3_theme_django18 --traceback -v 3 | ||
#cd scripts |
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 was deleted.
Oops, something went wrong.
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