Why is the Assange extradition case not a good time to mention D-notices?
What D-Notices are is effectively a polite request not to publish certain sensitive information. Editors at newspapers can decide whether or not to comply with the request. Have a look here: https://www.dsma.uk/how-the-system-works/ and notice the explicit "DSMA notices have no legal standing". The very idea that this is a secret censorship conspiracy is laughable.
I think there is an interesting question arising from the Assange case as to who can claim to be a journalist and what protections this provides, but I do not think D-Notices fit anywhere in this. They're not even a law.