Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portails (En image !) #42

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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