Skip to content

Commit

Permalink
Merge 91ddcc9 into 81fd369
Browse files Browse the repository at this point in the history
  • Loading branch information
Scriptodude committed Nov 2, 2016
2 parents 81fd369 + 91ddcc9 commit a2fa99d
Show file tree
Hide file tree
Showing 193 changed files with 131,518 additions and 153 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
.coverage
bin
develop-eggs
dist
py_env
downloads
env
eggs
parts
src/*.egg-info
Expand All @@ -15,7 +15,6 @@ django/*.db
*~
*.old
\#*#
*.db
*.sql
*.db
encefal_dev
Expand Down
5 changes: 5 additions & 0 deletions django/EnceFAL/conf.py.edit
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# -*- encoding: utf-8 -*-

import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

#Les ventes effectués au sein de l'application seront taxables (TPS = 5%, TVQ = 9.975%)
TAXABLES = True

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
Expand Down
7 changes: 3 additions & 4 deletions django/EnceFAL/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@

ALLOWED_HOSTS = []

# True => Taxes are calculated
# False => Taxes aren't calculated
TAXABLES = True

# Application definition
# The order is VERY important,
Expand Down Expand Up @@ -79,7 +76,7 @@
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.template.context_processors.request',
'django.template.context_processors.request',
'django.contrib.messages.context_processors.messages',
],
},
Expand Down Expand Up @@ -122,6 +119,8 @@
},
]

ALLOWED_HOSTS = [ "localhost" ]

# Internationalization
# https://docs.djangoproject.com/en/1.9/topics/i18n/

Expand Down
Loading

0 comments on commit a2fa99d

Please sign in to comment.