1. Introduction to Salesforce Definition : Salesforce is the #1 Cloud-based CRM (Customer Relationship Management) platform that helps businesses manage relationships with customers, automate business processes, and analyze performance. Founded : 1999 by Marc Benioff. Type : SaaS (Software as a Service). Tagline : "No Software" – because everything runs on the cloud, without local installations. 2. Why Salesforce? Traditional CRMs were expensive and required servers, installations, and IT staff. Salesforce revolutionized CRM by moving everything to the cloud . Benefits: 🚀 Faster implementation ☁️ Cloud-based (accessible anywhere) 🔄 Customizable without coding (point-and-click tools) 🤝 Strong ecosystem & AppExchange (marketplace like Google Play for Salesforce apps) 🔐 Security & scalability 3. Salesforce Products & Cloud Offerings Salesforce is not just CRM; it has multiple clouds (modules) for different busine...
1) code of views.py
from django.shortcuts import render
from django.http import HttpResponse
def swapform(request):
if request.method=='POST':
a = int(request.POST["t1"])
b = int(request.POST["t2"])
if request.POST["ope"]=="swap":
a = a + b
b = a - b
a = a - b
return render(request,"swapapp/swa.html",{'k1':a,'k2':b,'k3':'cyan'})
else:
c=a+b
return render(request,"swapapp/swa.html",{'k1':a,'k2':b,'k3':'orange','k4':c})
return render(request,"swapapp/swa.html")
2) Code of swa.html
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body bgcolor="{{k3}}">
<form action="#" method="POST">
{% csrf_token %}
ENTER 1ST no.<input type="text" name="t1" value="{{k1}}"><br>
ENTER 2ND no.<input type="text" name="t2" value="{{k2}}"><br><br>
<input type="radio" name="ope" value="swap">SWAP
<br>
<input type="radio" name="ope" value="Add">Add
<br>
<button type="submit" name="btn">Click Here For Swapping</button>
</form>
{{k4}}
</body>
</html>
Right away I am ready to do my breakfast, afterward having my
ReplyDeletebreakfast coming over again to read other news.