Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
2866b4e3
authored
Sep 27, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install guardian
parent
c0ad4f0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
circle/circle/settings/base.py
+8
-0
requirements/base.txt
+1
-0
No files found.
circle/circle/settings/base.py
View file @
2866b4e3
...
@@ -223,6 +223,7 @@ THIRD_PARTY_APPS = (
...
@@ -223,6 +223,7 @@ THIRD_PARTY_APPS = (
'django_tables2'
,
'django_tables2'
,
'crispy_forms'
,
'crispy_forms'
,
'djcelery'
,
'djcelery'
,
'guardian'
,
'sizefield'
,
'sizefield'
,
)
)
...
@@ -303,3 +304,10 @@ VM_ACCESS_PROTOCOLS = loads(get_env_variable('DJANGO_VM_ACCESS_PROTOCOLS',
...
@@ -303,3 +304,10 @@ VM_ACCESS_PROTOCOLS = loads(get_env_variable('DJANGO_VM_ACCESS_PROTOCOLS',
"rdp": ["RDP", 3389, "tcp"],
"rdp": ["RDP", 3389, "tcp"],
"ssh": ["SSH", 22, "tcp"]}'''
))
"ssh": ["SSH", 22, "tcp"]}'''
))
VM_SCHEDULER
=
'manager.scheduler'
VM_SCHEDULER
=
'manager.scheduler'
# Enable Guardian
AUTHENTICATION_BACKENDS
=
(
'django.contrib.auth.backends.ModelBackend'
,
# django default
'guardian.backends.ObjectPermissionBackend'
,
)
ANONYMOUS_USER_ID
=
-
1
requirements/base.txt
View file @
2866b4e3
...
@@ -4,6 +4,7 @@ celery==3.0.23
...
@@ -4,6 +4,7 @@ celery==3.0.23
django-braces==1.2.2
django-braces==1.2.2
django-celery==3.0.23
django-celery==3.0.23
django-crispy-forms==1.4.0
django-crispy-forms==1.4.0
django-guardian==1.1.1
django-model-utils==1.4.0
django-model-utils==1.4.0
django-sizefield==0.4
django-sizefield==0.4
django-tables2==0.14.0
django-tables2==0.14.0
...
...
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