Skip to content

Commit b501b04

Browse files
authored
Merge pull request #64 from ursais/frepple
[IMP] FrePPLe: Installed apps
2 parents 451a08d + 4314789 commit b501b04

File tree

1 file changed

+45
-1
lines changed

1 file changed

+45
-1
lines changed

frepple/6/templates/djangosettings.py.tmpl

+45-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,51 @@ MIDDLEWARE = (
181181
# Installed applications.
182182
# The order is important: urls, templates and menus of the earlier entries
183183
# take precedence over and override later entries.
184-
INSTALLED_APPS = {{ default .Env.FREPPLE_INSTALLED_APPS "('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.staticfiles', 'freppledb.boot', 'freppledb.wizard', 'freppledb.input', 'freppledb.output', 'freppledb.metrics', 'freppledb.execute', 'freppledb.common', 'django_filters', 'rest_framework', 'django_admin_bootstrapped', 'django.contrib.admin', 'freppledb.archive', 'freppledb.reportmanager', 'freppledb.executesql')" }}
184+
INSTALLED_APPS = (
185+
'django.contrib.auth',
186+
'django.contrib.contenttypes',
187+
'django.contrib.messages',
188+
'django.contrib.staticfiles',
189+
'freppledb.boot',
190+
{{ default .Env.FREPPLE_INSTALLED_APPS_CUSTOM "" }} << ADD YOUR CUSTOM EXTENSION APPS HERE
191+
'freppledb.wizard', << COMMENT IF MODEL BUILDING WIZARD ISN'T NEEDED
192+
'freppledb.quoting',
193+
{{ if .Env.FREPPLE_INSTALLED_APPS_FORECASTING }}
194+
'freppledb.demandhits',
195+
{{ end }}
196+
'freppledb.input',
197+
{{ if .Env.FREPPLE_INSTALLED_APPS_FORECASTING }}
198+
'freppledb.forecast', # << COMMENT IF YOU DON'T NEED THE FORECASTING MODULE
199+
{{ end }}
200+
{{ if .Env.FREPPLE_INSTALLED_APPS_INVENTORY }}
201+
'freppledb.inventoryplanning', # << COMMENT IF YOU DON'T NEED THE INVENTORY PLANNING MODULE
202+
{{ end }}
203+
{{ if .Env.FREPPLE_INSTALLED_APPS_ODOO }}
204+
'freppledb.odoo', # << UNCOMMENT TO ACTIVATE THE ODOO INTEGRATION
205+
{{ end }}
206+
{{ if .Env.FREPPLE_INSTALLED_APPS_ERP }}
207+
'freppledb.erpconnection', # << UNCOMMENT TO ACTIVATE THE GENERIC ERP INTEGRATION
208+
{{ end }}
209+
{{ if .Env.FREPPLE_INSTALLED_APPS_OPENBRAVO }}
210+
'freppledb.openbravo', # << UNCOMMENT TO ACTIVATE THE OPENBRAVO INTEGRATION
211+
{{ end }}
212+
'freppledb.planningboard',
213+
{{ if .Env.FREPPLE_INSTALLED_APPS_FORECASTING }}
214+
'freppledb.webservice', # << UNCOMMENT WHEN USING FORECASTING, QUOTING OR INVENTORY PLANNING APP
215+
{{ end }}
216+
'freppledb.metrics',
217+
'freppledb.output',
218+
'freppledb.execute',
219+
'freppledb.common',
220+
'django_filters',
221+
'rest_framework',
222+
'django_admin_bootstrapped',
223+
'django.contrib.admin',
224+
# The next two apps allow users to run their own SQL statements on
225+
# the database, using the SQL_ROLE configured above.
226+
'freppledb.reportmanager',
227+
'freppledb.executesql',
228+
)
185229

186230
# Custom attribute fields in the database
187231
# After each change of this setting, the following commands MUST be

0 commit comments

Comments
 (0)