Skip to content

Commit

Permalink
Improve documentation and command line tool
Browse files Browse the repository at this point in the history
  • Loading branch information
batiste committed Sep 3, 2016
1 parent 77bb8ed commit 4b5d47d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Release 1.9.4

Released the 2 of Semptember 2016.

* Changes in setup.py so dependecies can be installed with `pip install django-page-cms[full]`
* Changes in setup.py so dependecies can be installed with `pip install django-page-cms[full]

Release 1.9.3
=============
Expand Down
2 changes: 1 addition & 1 deletion doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Media directory
---------------

The django CMS come with some javascript and CSS files.
These files are standing in the ``pages/static/pages`` directory.
These files are standing in the ``pages/static/pages`` directory::

$ python manage.py collecstatic pages

Expand Down
5 changes: 4 additions & 1 deletion pages/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ def main():
if ret != 0:
return
print_green('Migration done')
_input = raw_input("Would you like to create a superuser to connect to the admin? [N/y]")
_input = raw_input("Would you like to create a superuser to connect to the admin? [N/y] ")
if _input.lower() == 'y':
call(['./manage.py'.format(args.create), 'createsuperuser'], cwd=absolute)
print_green('Creating demo pages')
call(['./manage.py'.format(args.create), 'pages_demo'], cwd=absolute)
print_green('Rebuild search index')
call(['./manage.py'.format(args.create), 'rebuild_index', '--noinput'], cwd=absolute)
print_green('Run webserver')
call(['./manage.py'.format(args.create), 'runserver'], cwd=absolute)
else:
parser.print_help()
Expand Down

0 comments on commit 4b5d47d

Please sign in to comment.