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
828c7215
authored
Jul 23, 2013
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall_gui: missing import json
parent
c50fc3e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
firewall_gui/views.py
+2
-0
No files found.
firewall_gui/views.py
View file @
828c7215
...
@@ -6,6 +6,8 @@ from django.contrib.auth.models import User
...
@@ -6,6 +6,8 @@ from django.contrib.auth.models import User
from
firewall.fw
import
*
from
firewall.fw
import
*
from
firewall.models
import
*
from
firewall.models
import
*
import
json
def
req_staff
(
user
):
def
req_staff
(
user
):
''' decorator function for user permission checking '''
''' decorator function for user permission checking '''
return
user
.
is_staff
return
user
.
is_staff
...
...
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