Changeset 1049 in main


Ignore:
Timestamp:
04/26/12 10:22:22 (7 years ago)
Author:
pcosquer
Message:

settings: mark most important settings with a "#XYZ:" comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/settings.py

    r1046 r1049  
    11#-!- coding:utf-8 -!- 
    22# Django settings for openPLM project. 
     3# settings that you may have to modify are marked with a #XYZ: comment 
     4 
    35 
    46import sys 
    57import os.path 
    68 
     9#XYZ: once your installation is ok, you should change this to False 
    710DEBUG = True 
    811TEMPLATE_DEBUG = DEBUG 
    912 
    1013ADMINS = ( 
     14    #XYZ: some error are notified to this address 
    1115    ('Your Name', 'your_email@domain.com'), 
    1216) 
     
    1721DATABASE_NAME = 'openplm'             # Or path to database file if using sqlite3. 
    1822DATABASE_USER = 'django'             # Not used with sqlite3. 
     23 
     24#XYZ: should be the password set by the postgresql command  
     25# "create role django with password 'MyPassword' login;" 
    1926DATABASE_PASSWORD = 'django#6'         # Not used with sqlite3. 
     27 
    2028DATABASE_HOST = 'localhost'             # Set to empty string for localhost. Not used with sqlite3. 
    2129DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3. 
    2230 
    23 # Local time zone for this installation. Choices can be found here: 
     31#XYZ: Local time zone for this installation. Choices can be found here: 
    2432# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name 
    2533# although not all choices may be available on all operating systems. 
     
    5361 
    5462# Make this unique, and don't share it with anybody. 
     63# XYZ: the script change_secret_key.py can do this for you 
    5564SECRET_KEY = '0ham7d#fh669-xi@wxf1wcpbhn6tbbegtv_cml()_wcboyw&u&' 
    5665 
     
    101110    'openPLM.plmapp', 
    102111    'openPLM.pdfgen', # enable pdf generations 
    103     # you can add your application after this line 
     112    #XYZ: you can add your application after this line 
    104113    'openPLM.cad', 
    105114    'openPLM.computer', 
     
    120129    "openPLM.plmapp.mail.do_send_histories_mail" : {"queue" : "mails"}, 
    121130    "openPLM.plmapp.mail.do_send_mail" : {"queue" : "mails"}, 
    122     # uncomment this line if you enable document3D 
     131    #XYZ: uncomment this line if you enable document3D 
    123132    # "openPLM.document3d.models.handle_step_file": {"queue": "step"}, 
    124133    # "openPLM.document3d.decomposer.decomposer_all": {"queue": "step"}, 
     
    126135} 
    127136 
     137#XYZ: EMAIL settings 
     138# https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-EMAIL_HOST 
    128139EMAIL_HOST = 'localhost' 
    129140EMAIL_PORT = 1025 
    130  
    131 ###################### 
    132 # openPLM's settings # 
    133 ###################### 
    134141 
    135142#: directory that stores documents. Make sure to use a trailing slash. 
     
    153160 
    154161 
    155  
     162#XYZ: 
    156163#: expeditor's mail used when sending notification emails 
    157164EMAIL_OPENPLM = "no-reply@openplm.example.com" 
     
    176183BROKER_PORT = 5672 
    177184BROKER_USER = "openplm" 
     185 
     186#XYZ: you will have to change this password 
     187# it must be the same as the one set by the command ``rabbitmqctl add_user openplm 'secret'`` 
    178188BROKER_PASSWORD = "secret" 
    179189BROKER_VHOST = "openplm" 
    180  
    181190 
    182191#Gestion native 
Note: See TracChangeset for help on using the changeset viewer.