Commit d6dbaddd authored by Aurélien Bompard's avatar Aurélien Bompard

Advertise lists by default on the creation form

parent b2480c3d
......@@ -540,8 +540,10 @@ def list_new(request, template='postorius/lists/new.html'):
else:
messages.error(request, _('Please check the errors below'))
else:
form = ListNew(choosable_domains,
initial={'list_owner': request.user.email})
form = ListNew(choosable_domains, initial={
'list_owner': request.user.email,
'advertised': True,
})
return render(request, template, {'form': form})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment