We will connect our database in the framework and start performing CRUD operation. Before that,
How To Rename, Delete Branch in a Remote Git Repository?
Delete Remote Git Branch To delete a Remote Branch first you need to clone that
How to Write Modules in Python3?
Python modules are also another python files .py files that consist of Python code. Most of the modules are available at the Python Standard Library and they are installed during the python standard installation. Other packages can be installed via pip. We can also create custom modules which are as per our requirements. Even they are comprised of additional python .py files.
[Django Tutorial] Render Your First Django View.
The first route that is defined under urlpatterns is for django administrtion. You will be asked for your login credentials if you go to this url: http://127.0.0.1:8000/admin/
Second route which has a regex r’^$’ is defined for home. This denotes for an empty string. Therefore if the route is http://127.0.0.1:8000 it calls the home method and renders the view defined in that method.
[Django Tutorial] Create a New Django Application. Drillthrough of the Project Directory
A Django application is created within a Django Project. We have covered the creation of Django application on our previous blog. Go check it out for a detailed explanation. In order to create a new application we can do it by manage.py startapp command like shown below:
[Django Tutorial] Make Initial Migration, Create Superuser
Welcome to the Blog series “Python Django Tutorial for Beginners“. Till this blog we have
[Django Tutorial] Create requirements.txt file with pip freeze
In the earlier post we installed our first django framework project and installed bunch of
[Django Tutorial] How To Install Django Framework? HelloWorld Django!
Once the virtual environment is setup and enabled you can begin installing Django Framework which is yet another python module for developing Web application. On your command type the following command just to make sure that the Virtual environment that you activated is working:
Python Django Tutorial for Beginners
Welcome to the Tutorial Series on Django Framework Tutorial here at TheQuickBlog. This blog series is targeted to the beginners who either have some basic knowledge about earlier versions of Django Framework or the ones who are completely new on it.
[Django Tutorial] How to Activate Python Virtualenv / Virtual Environment in Linux?
Now our program is independent of the operating system and runs over every environment. For that we now need to install Virtualenv from our terminal. So in terminal (Ctrl + Alt + T) type the following command:sudo apt install virtualenv