How Can Upload Files/Images using Django Form

# Create your views here.

def html_view(request):

   if request.method == 'GET':

       return render(request, "form.html")

dd = request.FILES['image_url']

 dd2 = request.FILES['image_url2']

 dd3 = request.FILES['image_url3']

 dd4 = request.FILES['image_url4']

 images = [dd, dd2, dd3, dd4]

 for image in images:

   ProductImage.objects.create('product'=request.POST['product'], 'image_url': image)

return render(request, "form.html")

View More...

How can install anydesk on ubuntu/linux

Step1: Update Ubuntu System

>sudo su

>apt update

Step 2: Add AnyDesk repository

>wget -qO - | sudo apt-key add -

Step3: Then add AnyDesk repository content to your Ubuntu system.

>echo "deb all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list

Step 4: Install AnyDesk on Ubuntu

>apt update

>apt install anydesk

Step 5: Launch AnyDesk on Ubuntu


View More...

Get the Test/Production credentials MID, merchant key for PAYTM Payment Gateway

Step1: Login for Paytm Dashboard using our paytm credentioals


Step2:  Click on Test Mode enabled

       Hint: find text like below

                   "Test Mode enabled

                    You can try out the Dashboard in Test Mode"

Step3:  Generate Test API Keys 

           Hint: Click on "Generate now" button

Note: If you don't want to create PAYTM merchant account for payment gateway then you can skip and  use test credential  which are given below

MID: DIY12386817555501617

Merchant Key: bKMfNxPPf_QdZppa

WEBSITE: DIYtestingweb

Channel id: WEB

Industry type id: Retail

You can access our Merchant Panel for seeing your transaction history and performing other operations:


Username: DIYtesting

Password: Paytm@197

After successfully initiating a transaction request, you can login to the test Wallet below & complete sample transactions :

Mobile Number : 7777777777

Password : Paytm12345

OTP : 489871


Refer the link below to download the plugin and utility kit as per your requirement.

API documentation –

Mobile SDK documentation –

Redirection: Once the transaction is completed you will be redirected to :

You can perform a STATUS QUERY to know the status of your transactions:{“MID”:”xxxxxxxxxxxxxxxxxxx”,”ORDERID”:”xxxxxxxxxxxx”}


If Any Query ping on signal

View More...

First Previous 3 4 5 6 7 Next Last