django disable a button programmatically using id code example Example: html button disabled <button type="button" disabled>This button is disabled</button>