How To Use IPython Jupyter Notebook To Develop Python Code

IPython is an enhanced Python interactive environment, you can run all Python source code in IPython. And it provides more features that make your development process easy. Jupyter notebook is a browser-server based website tool that can save your python source code in a .ipynb notebook file, and then when you submit the python source

How To Use IPython Jupyter Notebook To Develop Python Code Read More »

How To Retrieve Model Data Use get_list_or_404 And get_object_or_404 Shortcut Function

Django view is just a python function defined in the Django project / app_name / views.py file. The view function will receive and process user request ( generally get model data from backend database table ) and then return a HttpResponse object with a html template. The model data is passed back to the client

How To Retrieve Model Data Use get_list_or_404 And get_object_or_404 Shortcut Function Read More »