Merge remote-tracking branch 'origin/guanghongwei' into guanghongwei

Conflicts:
	jperm/models.py
This commit is contained in:
guanghongwei
2015-03-11 18:00:55 +08:00
15 changed files with 221 additions and 66 deletions

View File

@@ -42,6 +42,8 @@ def perm_add(request):
if request.method == 'GET':
user_groups = UserGroup.objects.filter(id__gt=2)
asset_groups = BisGroup.objects.all()
users = User.objects.all()
assets = Asset.objects.all()
else:
name = request.POST.get('name', '')