Skip to content

Commit

Permalink
fixed #14
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Pryz committed Oct 18, 2015
1 parent 1e431ac commit 1f6c576
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ docs/build/**
mysmile/static/vendor/**
!mysmile/static/jscolor
apps/**/migrations/**
#mysmile/db/mysmile.sqlite3

mysmile/db/mysmile.sqlite3
.idea
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Changelog
- New MySmile API v2 based on Django Rest Framework 3
- Updated docs

**2015-10-16 Version 0.7.1**
**2015-10-15 Version 0.7.1**
- Added IMAGE_AUTOSCALE preference to admin panel
- Protected admin login page from brute-force attack
- Added "view on site" button to admin panel
Expand Down
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,15 @@ syncdb:
# migrate - Run makemigrations & migrate command simultaneously
migrate:
python3 manage.py makemigrations --settings=mysmile.settings.local
python3 manage.py migrate --settings=mysmile.settings.local
python3 manage.py migrate --fake-initial --settings=mysmile.settings.local

# # onemigrate - Run makemigrations & migrate for one apps or table
# onemigrate:
# python3 manage.py makemigrations --settings=mysmile.settings.local
# python3 manage.py migrate preferences --settings=mysmile.settings.local



# newdb - Create new empty database with one page
newdb:
make syncdb
Expand Down
2 changes: 1 addition & 1 deletion PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: MySmile
Version: 0.7.1
Version: 0.8.0
Author: Andrii Pryz
Author-email: info@mysmile com ua
Home-page: http://mysmile.com.ua
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ MySmile is the lightweight open-source CMS based on Django. It helps to create w

* The official `project site <http://mysmile.com.ua>`_
* Try `demo version <http://demo.mysmile.com.ua>`_
* Read `documentation <http://http://mysmile.com.ua/en/documentation.html>`_
* Read `documentation <http://mysmile.com.ua/en/documentation.html>`_
* `Source code <https://github.com/MySmile/MySmile>`_ on GitHub

Dependencies
Expand Down
2 changes: 1 addition & 1 deletion config/mysmile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# MySmile settings
from apps.preferences.models import Preferences

MYSMILE_VERSION = '0.7.1'
MYSMILE_VERSION = '0.8.0'

try:
MYSMILE_THEME = Preferences.objects.filter(key='THEME').values_list('value', flat=True)[0]
Expand Down
4 changes: 2 additions & 2 deletions config/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
}
}

# for example: ALLOWED_HOSTS = ['mysite.com', 'www.mysite.com']
ALLOWED_HOSTS = ['demo.mysmile.com.ua', 'www.demo.mysmile.com.ua']
# for example: ALLOWED_HOSTS = ['mysite.com']
ALLOWED_HOSTS = ['demo.mysmile.com.ua']

# Enter path to media folder on server.
MEDIA_ROOT = ''
Expand Down
4 changes: 1 addition & 3 deletions docs/source/REST API/REST API v1/index.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
REST API v1
***********

This is version API based of Django.

.. and don't recommended for use. See :ref:`restapi2` instead of it.
This is version API based of Django and don't recommended for use. See :ref:`restapi2` instead of it.

.. toctree::
:maxdepth: 2
Expand Down
2 changes: 1 addition & 1 deletion docs/source/REST API/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ REST API
:titlesonly:

REST API v1/index
.. REST API v2/index
REST API v2/index
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
# built documents.
#
# The short X.Y version.
version = '0.7.1'
version = '0.8.0'
# The full version, including alpha/beta/rc tags.
release = '0.7.1'
release = '0.8.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
Empty file added mysmile/db/.gitignore
Empty file.
Binary file removed mysmile/db/mysmile.sqlite3
Binary file not shown.

0 comments on commit 1f6c576

Please sign in to comment.