10👍
The notebook file can have its write permissions unset:
$ chmod -w notebook.ipynb
The notebook is still interactive, but the notebook file will not change.
6👍
There is also an notebook extension, Freeze which allows to lock (allow execution but not edit cell contents) or freeze (disables editing and execution) individual code cells or markdown blocks. This is important as order of execution for code cells matters while running notebook. This presentation at JupyterCon has more details on it.
- Find out what port Django instance is running on?
- Twitter bootstrap typeahead custom keypress ENTER function
-1👍
just try eval this line in your browser console:
Jupyter.notebook.writable = false;
this will make current jupyter notebook file not writable, so any changes would not be allowed.
- Using a custom form in a modelformset factory?
- Django formset – show extra fields only when no initial data set?
- Set numbers of admin.TabularInline in django admin
Source:stackexchange.com