diff options
author | supriya <supriya@dragbox.(none)> | 2012-09-26 15:49:52 +0530 |
---|---|---|
committer | supriya <supriya@dragbox.(none)> | 2012-09-26 15:49:52 +0530 |
commit | 94535d4adc3a4960795d22e3b229a8375de10b74 (patch) | |
tree | 8d77de86b443495d67360dcd40786f2b8208d334 /gstudio/views/groupadd.py | |
parent | cad11e2f7ed848cdfd7779451bb0f4f931e062c3 (diff) | |
download | gnowsys-94535d4adc3a4960795d22e3b229a8375de10b74.tar.gz |
all modules integrated
Diffstat (limited to 'gstudio/views/groupadd.py')
-rw-r--r-- | gstudio/views/groupadd.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gstudio/views/groupadd.py b/gstudio/views/groupadd.py index d0c7242..e32a101 100644 --- a/gstudio/views/groupadd.py +++ b/gstudio/views/groupadd.py @@ -30,6 +30,7 @@ def groupadd(request): stDate = (request.POST["stDate"]).split("/") endDate=(request.POST["endDate"]).split("/") hours1 = int(request.POST["hours1"]) + usr = request.POST.get("usr",'') minutes1 = int(request.POST["minutes1"]) hours2 = int(request.POST["hours2"]) minutes2 = int(request.POST["minutes2"]) @@ -38,9 +39,9 @@ def groupadd(request): if not errors: title=request.POST['subject'] - content=request.POST['message'] + content=unicode(request.POST['message']) idusr=request.POST['idusr'] - meetId = create_meeting(title,int(idusr),content) + meetId = create_meeting(title,int(idusr),content,usr) schedule_time(time1, time2, meetId) if meetId : return HttpResponseRedirect('/gstudio/group/gnowsys-grp/'+ str(meetId)) |