Creating Django Rest API Part-1
Today we will create a basic Rest API in Django. Suppose you have a project with products app. In this app, a model is given with the class name Product. The coding of the models.py is ok, now will create… Read moreCreating Django Rest API Part-1
Templates and Static Directory Setup in Django
A Django beginner sometimes faces to setup templates and static directories in their project. Since different youtube tutorials and blogs set up these directories in different ways, confusion arises accordingly. Today, I will show you a very easy way to… Read moreTemplates and Static Directory Setup in Django
Publish the Kivy app for android mobile
Step-1: Google Colab Step-2: Upload your app code to the Google Colab Step-3: Run the below commands using Google Colab notebook Step-4: You will get an Apk file located in the bin folder which will be run in any android… Read morePublish the Kivy app for android mobile
How to Create Database Seeder in Laravel 8/9
Database seeder is used for generating fake data for testing purpose. It helps to reduce the developer’s time by avoiding data insertion in the database table. Step-1: Create Model named Employee and Run Migration Step-2: Now go to the migtation… Read moreHow to Create Database Seeder in Laravel 8/9
Setup bootstrap in Laravel8
Step-1: Install Laravel UI Step-2: Install bootstrap using the below command Step-3: now install npm and run npm Step-4. create blade template file named test.blade.php under resources->views directory or location. Then put the below code for testing purpose in this… Read moreSetup bootstrap in Laravel8
HTTP Request for Form Data in Laravel8
Create a controller named “LoginController” Then create two function in LoginController Create a html file named “login.blade.php Here I have used bootstrap5 3. Now write the below command in routes file 4. Run the below code from command shell 5…. Read moreHTTP Request for Form Data in Laravel8