Skip to main content

Posts

Showing posts from April, 2024

Django User Authentication to manage registration,login and logout operation | #django

 Django provide user authentication system to manage secure Login, Registration and Logout. Code of views.py from django.shortcuts import render,redirect from django.http import HttpResponse from . models import Register from django.contrib.auth.models import User from django.contrib.auth import authenticate from django.contrib.auth import logout,login def reg ( request ):     if request.method== 'POST' :                 user = User.objects.create_user(request.POST[ 'txtuser' ], request.POST[ 'txtemail' ],request.POST[ 'txtpass' ])         user.first_name=request.POST[ 'txtfirst' ]         user.last_name=request.POST[ 'txtlast' ]         user.save()         return render(request, "helloapp/reg.html" , { "key" : "data inserted successfully" })     else :         return render(reques...

Selenium with Python | How to write code of selenium web driver using Python Porgramming Language

Selenium with Python | How to write code of selenium web driver using Python Porgramming Language  What is selenium? It is automation based software system that is used to implement functional testing and regression testing operation for web application. selenium provide various component to pefrom testing operation using varius programming language. now the selenium 4 is the latest version of selenium. Selenium Component 1) Selenium IDE 1) Web Driver 3) Selenium GRID 4) Selenium Framework (Data driven, keyword driven, hybrid driven) python filename.py How to create selenium environment under windows for python programming language 1) install python (enable pip and configure python path) 2) open cmd and write  pip install selenium 3) create folder under any drive and open this folder using VS Code 4) create python file and write this script from selenium import webdriver driver = webdriver.Chrome() driver.get("https://www.google.com/") driver.quit() 5) open VS Code terminal a...

Best Data Analytics Training in Indore

 🚀 Level up your career with our Data Analytics Training! 📊 Are you ready to dive into the world of data analytics? Join our comprehensive training program designed to equip you with the skills and knowledge needed to excel in this rapidly growing field. 🔍 What You'll Learn: Fundamentals of data analysis Data visualization techniques Statistical analysis methods Hands-on experience with popular analytics tools like Python, R, and SQL Real-world case studies and projects 📅 Schedule: 08-04-2024 📍 Location: Palasia | Vijay nagar | Bhawarkua     Mode:  ONLINE/OFFLINE 💡 Why Choose Us: Experienced instructors with industry expertise Practical, hands-on learning approach Small class sizes for personalized attention Flexible learning options to suit your schedule Don't miss this opportunity to boost your career prospects and become a proficient data analyst! Reserve your spot now. For more information and registration, visit Our Office #DataAnalytics #Training #CareerD...