Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5d346bc2
authored
Apr 15, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
django: configure release dynamically
parent
cc5f5776
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
cloud/settings/base.py
+5
-1
No files found.
cloud/settings/base.py
View file @
5d346bc2
# coding=utf8
# coding=utf8
# Django base settings for cloud project.
# Django base settings for cloud project.
from
os.path
import
join
,
abspath
,
dirname
import
subprocess
from
django.core.exceptions
import
ImproperlyConfigured
DEBUG
=
True
DEBUG
=
True
TEMPLATE_DEBUG
=
DEBUG
TEMPLATE_DEBUG
=
DEBUG
...
@@ -250,7 +254,7 @@ firewall_settings = {
...
@@ -250,7 +254,7 @@ firewall_settings = {
EMAIL_HOST
=
'152.66.243.92'
# giccero ipv4
EMAIL_HOST
=
'152.66.243.92'
# giccero ipv4
CLOUD_URL
=
'https://cloud.ik.bme.hu/'
CLOUD_URL
=
'https://cloud.ik.bme.hu/'
RELEASE
=
'master'
RELEASE
=
subprocess
.
check_output
([
'git'
,
'rev-parse'
,
'--symbolic-full-name'
,
'--abbrev-ref'
,
'HEAD'
])
try
:
try
:
from
cloud.local_settings
import
*
from
cloud.local_settings
import
*
...
...
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