Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
9875c841
authored
Dec 03, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
occi: make occi optional
parent
b0eb77fb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
circle/circle/settings/base.py
+5
-1
circle/circle/urls.py
+8
-1
No files found.
circle/circle/settings/base.py
View file @
9875c841
...
@@ -359,9 +359,13 @@ LOCAL_APPS = (
...
@@ -359,9 +359,13 @@ LOCAL_APPS = (
'manager'
,
'manager'
,
'acl'
,
'acl'
,
'monitor'
,
'monitor'
,
)
if
get_env_variable
(
'OCCI'
,
'FALSE'
)
==
'TRUE'
:
LOCAL_APPS
+=
(
'voms'
,
'voms'
,
'occi'
,
'occi'
,
)
)
# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
INSTALLED_APPS
=
DJANGO_APPS
+
THIRD_PARTY_APPS
+
LOCAL_APPS
INSTALLED_APPS
=
DJANGO_APPS
+
THIRD_PARTY_APPS
+
LOCAL_APPS
...
...
circle/circle/urls.py
View file @
9875c841
...
@@ -70,7 +70,6 @@ urlpatterns = patterns(
...
@@ -70,7 +70,6 @@ urlpatterns = patterns(
url
(
r'^info/support/$'
,
url
(
r'^info/support/$'
,
TemplateView
.
as_view
(
template_name
=
"info/support.html"
),
TemplateView
.
as_view
(
template_name
=
"info/support.html"
),
name
=
"info.support"
),
name
=
"info.support"
),
url
(
r'^'
,
include
(
'occi.urls'
)),
# this seems silly
)
)
...
@@ -87,4 +86,12 @@ if get_env_variable('DJANGO_SAML', 'FALSE') == 'TRUE':
...
@@ -87,4 +86,12 @@ if get_env_variable('DJANGO_SAML', 'FALSE') == 'TRUE':
(
r'^saml2/'
,
include
(
'djangosaml2.urls'
)),
(
r'^saml2/'
,
include
(
'djangosaml2.urls'
)),
)
)
if
get_env_variable
(
'OCCI'
,
'FALSE'
)
==
'TRUE'
:
urlpatterns
=
patterns
(
''
,
url
(
r'^'
,
include
(
'occi.urls'
)),
# this seems silly
)
handler500
=
'common.views.handler500'
handler500
=
'common.views.handler500'
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