P-47
This commit is contained in:
1 parent
11f45daf67
commit
41ec40fedb
9 files changed
+199
-101
No files matched your search
@@ -146,17 +146,25 @@ class MyEvents(APIView):
|
||||
# 'files':[]
|
||||
# })
|
||||
created=True
|
||||
|
||||
try:
|
||||
event = json.loads(request.data['event'])
|
||||
# event = json.loads(event)
|
||||
|
||||
filesadd = request.FILES.getlist('files')
|
||||
|
||||
# participant=request.POST['participant']
|
||||
participant= event['participant']
|
||||
|
||||
|
||||
|
||||
event['calendar']=Calendar(id=event['calendar'])
|
||||
participant = event['participant']
|
||||
|
||||
files = [x['id'] for x in event['files']]
|
||||
|
||||
del event['files']
|
||||
del event['participant']
|
||||
|
||||
|
||||
evnt=None
|
||||
if 'id' in event:
|
||||
|
||||
Reference in new issue
Block a user