resource in edit mode after resource creation
@@ -440,6 +440,9 @@ def check_resource_mode(request):
edit_resource = request.session.get('resource-mode', None) == 'edit'
if edit_resource:
del request.session['resource-mode']
+ else:
+ if request.session.get('just_created', False):
+ edit_resource = True
else:
edit_resource = request.GET.get('resource-mode', None) == 'edit'
else:
