Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chris
flyers
Commits
a537acdb
Commit
a537acdb
authored
Aug 01, 2014
by
Christophe Siraut
Browse files
Execute cgis
parent
2c18e169
Changes
2
Hide whitespace changes
Inline
Side-by-side
example/.htaccess
View file @
a537acdb
Options
+ExecCGI
AddHandler
fcgid-script .fcgi
AddHandler
cgi-script .cgi
RewriteEngine
On
RewriteBase
/
RewriteCond
%{REQUEST_FILENAME} !-f
...
...
flyers/settings.py
View file @
a537acdb
...
...
@@ -97,21 +97,22 @@ TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
'flyers.general.context_processors.general'
,
)
LANGUAGE_CODE
=
'fr-be'
SITE_MULTILINGUAL
=
False
'''
LANGUAGES = (
('en', 'English'),
('fr', 'Français'),
('es', 'Español'),
('ca', 'Català'),
)
MODELTRANSLATION_TRANSLATION_REGISTRY
=
(
'flyer.translation'
,)
SITE_MULTILINGUAL
=
False
if
SITE_MULTILINGUAL
:
INSTALLED_APPS
+=
(
'modeltranslation'
,)
'''
try
:
from
local_settings
import
*
except
ImportError
,
e
:
pass
if
SITE_MULTILINGUAL
:
MODELTRANSLATION_TRANSLATION_REGISTRY
=
(
'flyer.translation'
,)
INSTALLED_APPS
+=
(
'modeltranslation'
,)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment