<commit_before># -*- coding: utf-8
import os
import decimal
PROJECT_PATH = os.path.realpath(os.path.dirname(__file__))

DEFAULT_CHARSET = 'utf-8'
DEBUG = False
TEMPLATE_DEBUG = DEBUG
DEBUG_TOOLBAR = False
DJANGO_EXTENSION = True
#TEMPLATE_STRING_IF_INVALID="INVALID"

#DEBUG_PROPAGATE_EXCEPTIONS= DEBUG

ADMINS = (
# ('toto', '<EMAIL>'),
)
#####################################
#config gsb
NB_JOURS_AFF = 30
TITRE = "20040701_django.gsb"
DEVISE_GENERALE = 'EUR'
ID_CPT_M = 1

#taux de cotisations sociales
#attention c'est un taux special estime
__TAUX_VERSEMENT_legal = 0.08 * 0.97
TAUX_VERSEMENT = 1 / (1 - __TAUX_VERSEMENT_legal) * __TAUX_VERSEMENT_legal
#id et cat des operation speciales
ID_CAT_COTISATION = 23
ID_TIERS_COTISATION = 727
ID_CAT_COTISATION=23
ID_TIERS_COTISATION=727
ID_CAT_OST=64
MD_CREDIT=6
MD_DEBIT=7
##################


MANAGERS = ADMINS

DATABASES = {
    'default':{
        'ENGINE':'django.db.backends.sqlite3',
        # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME':os.path.join(PROJECT_PATH, 'grisbi.db'), # Or path to database file if using sqlite3.
        'USER':'root', # Not used with sqlite3.
        'PASSWORD':'', # Not used with sqlite3.
        'HOST':'', # Set to empty string for localhost. Not used with sqlite3.
        'PORT':'', # Set to empty string for default. Not used with sqlite3.
    }
}
LOGIN_URL = "/login"
LOGIN_REDIRECT_URL = "/"

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# On Unix systems, a value of None will cause Django to use the same
# timezone as the operating system.
# If running in a Windows environment this must be set to the same as your<commit_msg>maj model config<commit_after># -*- coding: utf-8
import os
import decimal
PROJECT_PATH = os.path.realpath(os.path.dirname(__file__))

DEFAULT_CHARSET = 'utf-8'
DEBUG = False
TEMPLATE_DEBUG = DEBUG
DEBUG_TOOLBAR = False
DJANGO_EXTENSION = True
#TEMPLATE_STRING_IF_INVALID="INVALID"

#DEBUG_PROPAGATE_EXCEPTIONS= DEBUG

ADMINS = (
# ('toto', '<EMAIL>'),
)
#####################################
#config gsb
NB_JOURS_AFF = 30
TITRE = "20040701_django.gsb"
DEVISE_GENERALE = 'EUR'
ID_CPT_M = 1#cpt principal utlise si l'on ne rentre pas de compte

#taux de cotisations sociales
#attention c'est un taux special estime
__TAUX_VERSEMENT_legal = 0.08 * 0.97
TAUX_VERSEMENT = decimal.Decimal(str(1 / (1 - __TAUX_VERSEMENT_legal) * __TAUX_VERSEMENT_legal))
#id et cat des operation speciales
ID_CAT_COTISATION = 23
ID_TIERS_COTISATION = 727
ID_CAT_OST=64
MD_CREDIT=6
MD_DEBIT=7
##################

MANAGERS = ADMINS

DATABASES = {
    'default':{
        'ENGINE':'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME':os.path.join(PROJECT_PATH, 'grisbi.db'), # Or path to database file if using sqlite3.
        'USER':'root', # Not used with sqlite3.
        'PASSWORD':'', # Not used with sqlite3.
        'HOST':'', # Set to empty string for localhost. Not used with sqlite3.
        'PORT':'', # Set to empty string for default. Not used with sqlite3.
    }
}
LOGIN_URL = "/login"
LOGIN_REDIRECT_URL = "/"

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# On Unix systems, a value of None will cause Django to use the same
# timezone as the operating system.
# If running in a Windows environment this must be set to the same as your
{'fraction_non_alphanumeric': 0.1320393657736468, 'fraction_numerical': 0.02214324767632586, 'mean_word_length': 4.428783382789318, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1837822', 'n_tokens_mistral': 1371, 'n_tokens_neox': 1279, 'n_words': 372}