data not saved in database

data not saved in database. I can send you the whole code in your gmail.
Also, my git repo is : (Djangocode/COMPANY-PROJECT at main · rohittarang/Djangocode · GitHub)

What would be more helpful would be a complete description of the issue.

Edited

These are the main files. May be you can figure out what is going wrong here. I got no such errors. Just, my data is not saved in my database.

1. views.py

from django.core.checks import messages
from django.shortcuts import redirect, render
from .models import *
from random import randint

Create your views here.

def IndexPage(request):
return render(request,“companyapp/index.html”)

def SignupPage(request):
return render(request,“companyapp/signup.html”)

def RegisterCandidate(request):
if request.POST[‘role’]==“Candidate”:
role = request.POST[‘role’]
fname = request.POST[‘firstname’]
lname = request.POST[‘lastname’]
email = request.POST[‘email’]
password = request.POST[‘password’]
cpassword = request.POST[‘cpassword’]

    user = UserMaster.objects.filter(email=email)

    if user:
        message = "User Already Exists"
        return render(request,"companyapp/signup.html",{'msg':message})
    else:
        if password == cpassword:
            otp = randint(100000,999999)
            newuser = UserMaster.objects.create(role=role,otp=otp,email=email,password=password)
            newcand = Candidate.objects.create(user_id=newuser,firstname=fname,lastname=lname)
            return render(request,"companyapp/otpverify.html",{'email':email})
else:
    print("Company Registration Successfully")

def OtpPage(request):
return render(request,“companyapp/otpverify.html”)

def Otpverify(request):
email = request.POST[‘email’]
otp = int(request.POST[‘otp’])

user = UserMaster.objects.get(email=email)

if user:
    if user.otp == otp:
        message = "Otp Verify Successfully"
        return render(request,"companyapp/login.html",{'msg':message})
    else:
        message = "Otp is incorrect"
        return render(request,"companyapp/otpverify.html",{'msg':message})
else:
    message = "Registration Successfully"
    return render(request,"companyapp/signup.html",{'msg':message})

def LoginPage(request):
return render(request,“companyapp/login.html”)

def LoginUser(request):
if request.POST[‘role’]==“Candidate”:
email = request.POST[‘email’]
password = request.POST[‘password’]

    user = UserMaster.objects.get(email=email)
    if user:
        if user.password==password and user.role=="Candidate":
            can = Candidate.objects.get(user_id=user)
            request.session['id'] = user.id
            request.session['role'] = user.role
            request.session['firstname'] = can.firstname
            request.session['lastname'] = can.lastname
            request.session['email'] = user.email
            return redirect('index')
        else:
            message = "Password does not match"
            return render(request,"companyapp/login.html",{'msg':message})
    else:
        message = "User does not exist"
        return render(request,"companyapp/login.html",{'msg':message})

def ProfilePage(request,pk):
user = UserMaster.objects.get(id=pk)
can = Candidate.objects.get(user_id=user)
return render(request,“companyapp/profile.html”,{‘user’:user,‘can’:can})

def UpdateProfile(request,pk):
user = UserMaster.objects.get(id=pk)
if user.role == “Candidate”:
can = Candidate.objects.get(user_id=user)
can.contact = request.POST[‘contact’]
can.state = request.POST[‘state’]
can.city = request.POST[‘city’]
can.gender = request.POST[‘gender’]
can.profile_pic = request.FILES[‘profilepic’]
can.experience = request.POST[‘experience’]
can.highestedu = request.POST[‘highestedu’]
can.job_type = request.POST[‘jobtype’]
can.jobcategory = request.POST[‘jobcategory’]
can.jobdescription = request.POST[‘jobdescription’]
can.shift = request.POST[‘shift’]
can.website = request.POST[‘website’]
can.max_salary = request.POST[‘maxsalary’]
can.min_salary = request.POST[‘minsalary’]
can.save()
print(“Data Saved”)
url = f"/updateprofile/{pk}"
return redirect(url)

2. models.py

from django.db import models
from django.db.models.base import Model

Create your models here.

class UserMaster(models.Model):
email = models.EmailField(max_length=50)
password = models.CharField(max_length=50)
otp = models.IntegerField()
role = models.CharField(max_length=50)
is_active = models.BooleanField(default=True)
is_verified = models.BooleanField(default=False)
is_created = models.DateTimeField(auto_now_add=True)
is_updated = models.DateTimeField(auto_now_add=True)

class Candidate(models.Model):
user_id = models.ForeignKey(UserMaster,on_delete=models.CASCADE,default="")
firstname = models.CharField(max_length=50)
lastname = models.CharField(max_length=50)
contact = models.CharField(max_length=50)
state = models.CharField(max_length=50)
city = models.CharField(max_length=50)
gender = models.CharField(max_length=50)
min_salary = models.BigIntegerField(default="")
max_salary = models.BigIntegerField(default="")
job_type = models.CharField(max_length=50,default="")
jobcategory = models.CharField(max_length=50,default="")
highestedu = models.CharField(max_length=50,default="")
experience = models.CharField(max_length=50,default="")
website = models.CharField(max_length=50,default="")
shift = models.CharField(max_length=50,default="")
jobdescription = models.CharField(max_length=100,default="")
profile_pic = models.ImageField(upload_to=“companyapp/img/candidate”)

class Company(models.Model):
user_id = models.ForeignKey(UserMaster,on_delete=models.CASCADE)
firstname = models.CharField(max_length=50)
lastname = models.CharField(max_length=50)
company_name = models.CharField(max_length=150)
state = models.CharField(max_length=50)
city = models.CharField(max_length=50)
contact = models.CharField(max_length=50)
address = models.CharField(max_length=150)
logo_pic = models.ImageField(upload_to=“companyapp/img/company”)

3. urls.py

from django.urls import path, include
from . import views

urlpatterns = [
path("",views.IndexPage,name=“index”),
path(“signup/”,views.SignupPage,name=“signup”),
path(“register/”,views.RegisterCandidate,name=“register”),
path(“otppage/”,views.OtpPage,name=“otppage”),
path(“otp/”,views.Otpverify,name=“otp”),
path(“loginpage/”,views.LoginPage,name=“loginpage”),
path(“loginuser/”,views.LoginUser,name=“loginuser”),
path(“profile/int:pk”,views.ProfilePage,name=“profile”),
path(“updateprofile/int:pk”,views.UpdateProfile,name=“updateprofile”),
]

4. Header Footer File
{% load static %}

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>JOB PORTAL - ROHIT TARANG</title>

<meta name="description" content="" />

<meta name="keywords" content="" />

<meta name="author" content="Themesdesign" />

<link rel="shortcut icon" href="{% static '/images/favicon.ico' %}">

<!-- Bootstrap core CSS -->

<link rel="stylesheet" href="{% static '/css/bootstrap.min.css' %}" type="text/css">

<!--Material Icon -->

<link rel="stylesheet" type="text/css" href="{% static '/css/materialdesignicons.min.css' %}" />

<link rel="stylesheet" type="text/css" href="{% static '/css/fontawesome.css' %}" />

<!-- selectize css -->

<link rel="stylesheet" type="text/css" href="{% static '/css/selectize.css' %}" />

<link rel="stylesheet" type="text/css" href="{% static '/css/nice-select.css' %}" />

<!--Slider-->

<link rel="stylesheet" href="{% static '/css/owl.carousel.css' %}" />

<link rel="stylesheet" href="{% static '/css/owl.theme.css' %}" />

<link rel="stylesheet" href="{% static '/css/owl.transitions.css' %}" />

<!-- Custom  Css -->

<link rel="stylesheet" type="text/css" href="{% static '/css/style.css' %}" />
<!-- Loader -->

<div id="preloader">

    <div id="status">

        <div class="spinner">

            <div class="double-bounce1"></div>

            <div class="double-bounce2"></div>

        </div>

    </div>

</div>

<!-- Loader -->

<!-- Navigation Bar-->

<header id="topnav" class="defaultscroll scroll-active">

    <!-- Tagline STart -->

    <div class="tagline">

        <div class="container">

            <div class="float-left">

                <div class="phone">

                    <i class="mdi mdi-phone-classic"></i> +1 800 123 45 67

                </div>

                <div class="email">

                    <a href="#">

                        <i class="mdi mdi-email"></i> Support@mail.com

                    </a>

                </div>

            </div>

            <div class="float-right">

                <ul class="topbar-list list-unstyled d-flex" style="margin: 11px 0px;">

                    <li class="list-inline-item"><a href="javascript:void(0);"><i class="mdi mdi-account mr-2"></i>{{request.session.firstname}} {{request.session.lastname}}</a></li>

                    <li class="list-inline-item">

                        <select id="select-lang" class="demo-default">

                            <option value="">Language</option>

                            <option value="4">English</option>

                            <option value="1">Spanish</option>

                            <option value="3">French</option>

                            <option value="5">Hindi</option>

                        </select>

                    </li>

                </ul>

            </div>

            <div class="clearfix"></div>

        </div>

    </div>

    <!-- Tagline End -->

    <!-- Menu Start -->

    <div class="container">

        <!-- Logo container-->

        <div>

            <a href="index.html" class="logo">

                <img src="{% static '/images/logo-light.png' %}" alt="" class="logo-light" height="18" />

                <img src="{% static '/images/logo-dark.png' %}" alt="" class="logo-dark" height="18" />

            </a>

        </div>                

        <!-- <div class="buy-button">

            <a href="post-a-job.html" class="btn btn-primary"><i class="mdi mdi-cloud-upload"></i> Post a Job</a>

        </div>end login button -->

        <!-- End Logo container-->

        <div class="menu-extras">

            <div class="menu-item">

                <!-- Mobile menu toggle-->

                <a class="navbar-toggle">

                    <div class="lines">

                        <span></span>

                        <span></span>

                        <span></span>

                    </div>

                </a>

                <!-- End mobile menu toggle-->

            </div>

        </div>



        <div id="navigation">

            <!-- Navigation Menu-->  

            <ul class="navigation-menu">

                <li><a href="index.html">Home</a></li>

                <li class="has-submenu">

                    <a href="javascript:void(0)">Jobs</a><span class="menu-arrow"></span>

                    <ul class="submenu">

                        <li><a href="job-list.html">Job List</a></li>

                        <li><a href="job-grid.html">Job Grid</a></li>

                        <li><a href="job-details.html">Job Details</a></li>

                        <li><a href="job-details-2.html">Job Details-2</a></li>

                    </ul>

                </li>



                <li class="has-submenu">

                    <a href="javascript:void(0)">Pages</a><span class="menu-arrow"></span>

                    <ul class="submenu">

                        <li><a href="about.html">About us</a></li>

                        <li><a href="services.html">Services</a></li>

                        <li><a href="team.html">Team</a></li>

                        <li><a href="faq.html">Faqs</a></li>

                        <li><a href="pricing.html">Pricing plans</a></li>

                        <li class="has-submenu"><a href="javascript:void(0)"> Candidates</a><span class="submenu-arrow"></span>

                            <ul class="submenu">

                                <li><a href="candidates-listing.html">Candidates Listing</a></li>

                                <li><a href="candidates-profile.html">Candidates Profile</a></li>

                                <li><a href="create-resume.html">Create Resume</a></li>

                            </ul>  

                        </li>

                        <li class="has-submenu"><a href="javascript:void(0)"> Blog</a><span class="submenu-arrow"></span>

                            <ul class="submenu">

                                <li><a href="blog-grid.html">Blogs</a></li>

                                <li><a href="blog-sidebar.html">Blog Sidebar</a></li>

                                <li><a href="blog-details.html">Blog Details</a></li>

                            </ul>  

                        </li>

                        <li class="has-submenu"><a href="javascript:void(0)"> Employers</a><span class="submenu-arrow"></span>

                            <ul class="submenu">

                                <li><a href="employers-list.html">Employers List</a></li>

                                <li><a href="company-detail.html">Company Detail</a></li>

                            </ul>  

                        </li>

                        <li class="has-submenu"><a href="javascript:void(0)"> User Pages</a><span class="submenu-arrow"></span>

                            <ul class="submenu">

                                <li><a href="login.html">Login</a></li>

                                <li><a href="signup.html">Signup</a></li>

                                <li><a href="recovery_passward.html">Forgot Password</a></li>

                            </ul>  

                        </li>

                        <li><a href="components.html"> Components</a></li>

                    </ul>

                </li>

                <li>

                    <a href="contact.html">contact</a>

                </li>

                <li class="has-submenu">

                    <a href="javascript:void(0)">{{request.session.firstname}} {{request.session.lastname}}</a><span class="menu-arrow"></span>

                    <ul class="submenu">

                        <li><a href="{% url 'profile' pk=request.session.id %}">Profile</a></li>

                        <li><a href="job-grid.html">Logout</a></li>

                    </ul>

                </li>

            </ul><!--end navigation menu-->

        </div><!--end navigation-->

    </div><!--end container-->

    <!--end end-->

</header><!--end header-->

<!-- Navbar End -->

{% block content %}

{% endblock %}

<!-- footer start -->

<footer class="footer">

    <div class="container">

        <div class="row">

            <div class="col-lg-3 col-12 mb-0 mb-md-4 pb-0 pb-md-2">

                <a href="javascript:void(0)"><img src="{% static '/images/logo-light.png' %}" height="20" alt=""></a>

                <p class="mt-4">At vero eos et accusamus et iusto odio dignissim os ducimus qui blanditiis praesentium</p>

                <ul class="social-icon social list-inline mb-0">

                    <li class="list-inline-item"><a href="#" class="rounded"><i class="mdi mdi-facebook"></i></a></li>

                    <li class="list-inline-item"><a href="#" class="rounded"><i class="mdi mdi-twitter"></i></a></li>

                    <li class="list-inline-item"><a href="#" class="rounded"><i class="mdi mdi-instagram"></i></a></li>

                    <li class="list-inline-item"><a href="#" class="rounded"><i class="mdi mdi-google"></i></a></li>

                </ul>

            </div>

            <div class="col-lg-3 col-md-4 col-12 mt-4 mt-sm-0 pt-2 pt-sm-0">

                <p class="text-white mb-4 footer-list-title">Company</p>

                <ul class="list-unstyled footer-list">

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> About Us</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Media & Press</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Career</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Blog</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Pricing</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Marketing</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> CEOs </a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Agencies</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Our Apps</a></li>

                </ul>

            </div>

            <div class="col-lg-3 col-md-4 col-12 mt-4 mt-sm-0 pt-2 pt-sm-0">

                <p class="text-white mb-4 footer-list-title">Resources</p>

                <ul class="list-unstyled footer-list">

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Support</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Privacy Policy</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Terms</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Accounting </a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Billing</a></li>

                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> F.A.Q.</a></li>

                </ul>

            </div>

       

            <div class="col-lg-3 col-md-4 col-12 mt-4 mt-sm-0 pt-2 pt-sm-0">

                <p class="text-white mb-4 footer-list-title f-17">Business Hours</p>

                <ul class="list-unstyled text-foot mt-4 mb-0">

                    <li>Monday - Friday : 9:00 to 17:00</li>

                    <li class="mt-2">Saturday : 10:00 to 15:00</li>

                    <li class="mt-2">Sunday : Day Off (Holiday)</li>

                </ul>

            </div>

        </div>

    </div>

</footer>

<!-- footer end -->

<hr>

<footer class="footer footer-bar">

    <div class="container text-center">

        <div class="row justify-content-center">

            <div class="col-12">

                <div class="">

                    <p class="mb-0">© 2019 Jobya. Design with <i class="mdi mdi-heart text-danger"></i> by Themesdesign.</p>

                </div>

            </div>

        </div>

    </div><!--end container-->

</footer><!--end footer-->

<!-- Footer End -->

<!-- Back to top -->

<a href="#" class="back-to-top rounded text-center" id="back-to-top">

    <i class="mdi mdi-chevron-up d-block"> </i>

</a>

<!-- Back to top -->

<!-- javascript -->

<script src="{% static '/js/jquery.min.js' %}"></script>

<script src="{% static '/js/bootstrap.bundle.min.js' %}"></script>

<script src="{% static '/js/jquery.easing.min.js' %}"></script>

<script src="{% static '/js/plugins.js' %}"></script>

<!-- selectize js -->

<script src="{% static '/js/selectize.min.js' %}"></script>

<script src="{% static '/js/jquery.nice-select.min.js' %}"></script>

<script src="{% static '/js/owl.carousel.min.js' %}"></script>

<script src="{% static '/js/counter.int.js' %}"></script>

<script src="{% static '/js/app.js' %}"></script>

<script src="{% static '/js/home.js' %}"></script>

When posting code, enclose each file’s worth of code between lines of three backtick - ` characters. That means you’ll have a line of ```, then your code, then another line of ```. (The lines of ``` must be on lines by themselves.)

This forces the forum software to maintain the proper formatting of your code, which is critical with Python.

You don’t need to repost your code, you can edit your previous reply and surround each file with the appropriate lines.

Also, it’ll be most helpful if you post the complete view.

1. views.py

from django.core.checks import messages
from django.shortcuts import redirect, render
from .models import *
from random import randint

Create your views here.

def IndexPage(request):
return render(request,“companyapp/index.html”)

def SignupPage(request):
return render(request,“companyapp/signup.html”)

def RegisterCandidate(request):
if request.POST[‘role’]==“Candidate”:
role = request.POST[‘role’]
fname = request.POST[‘firstname’]
lname = request.POST[‘lastname’]
email = request.POST[‘email’]
password = request.POST[‘password’]
cpassword = request.POST[‘cpassword’]

    user = UserMaster.objects.filter(email=email)

    if user:
        message = "User Already Exists"
        return render(request,"companyapp/signup.html",{'msg':message})
    else:
        if password == cpassword:
            otp = randint(100000,999999)
            newuser = UserMaster.objects.create(role=role,otp=otp,email=email,password=password)
            newcand = Candidate.objects.create(user_id=newuser,firstname=fname,lastname=lname)
            return render(request,"companyapp/otpverify.html",{'email':email})
else:
    print("Company Registration Successfully")

def OtpPage(request):
return render(request,“companyapp/otpverify.html”)

def Otpverify(request):
email = request.POST[‘email’]
otp = int(request.POST[‘otp’])

user = UserMaster.objects.get(email=email)

if user:
    if user.otp == otp:
        message = "Otp Verify Successfully"
        return render(request,"companyapp/login.html",{'msg':message})
    else:
        message = "Otp is incorrect"
        return render(request,"companyapp/otpverify.html",{'msg':message})
else:
    message = "Registration Successfully"
    return render(request,"companyapp/signup.html",{'msg':message})

def LoginPage(request):
return render(request,“companyapp/login.html”)

def LoginUser(request):
if request.POST[‘role’]==“Candidate”:
email = request.POST[‘email’]
password = request.POST[‘password’]

    user = UserMaster.objects.get(email=email)
    if user:
        if user.password==password and user.role=="Candidate":
            can = Candidate.objects.get(user_id=user)
            request.session['id'] = user.id
            request.session['role'] = user.role
            request.session['firstname'] = can.firstname
            request.session['lastname'] = can.lastname
            request.session['email'] = user.email
            return redirect('index')
        else:
            message = "Password does not match"
            return render(request,"companyapp/login.html",{'msg':message})
    else:
        message = "User does not exist"
        return render(request,"companyapp/login.html",{'msg':message})

def ProfilePage(request,pk):
user = UserMaster.objects.get(id=pk)
can = Candidate.objects.get(user_id=user)
return render(request,“companyapp/profile.html”,{‘user’:user,‘can’:can})

def UpdateProfile(request,pk):
user = UserMaster.objects.get(id=pk)
if user.role == “Candidate”:
can = Candidate.objects.get(user_id=user)
can.contact = request.POST[‘contact’]
can.state = request.POST[‘state’]
can.city = request.POST[‘city’]
can.gender = request.POST[‘gender’]
can.profile_pic = request.FILES[‘profilepic’]
can.experience = request.POST[‘experience’]
can.highestedu = request.POST[‘highestedu’]
can.job_type = request.POST[‘jobtype’]
can.jobcategory = request.POST[‘jobcategory’]
can.jobdescription = request.POST[‘jobdescription’]
can.shift = request.POST[‘shift’]
can.website = request.POST[‘website’]
can.max_salary = request.POST[‘maxsalary’]
can.min_salary = request.POST[‘minsalary’]
can.save()
print(“Data Saved”)
url = f"/updateprofile/{pk}"
return redirect(url)

2. models.py

from django.db import models
from django.db.models.base import Model

Create your models here.

class UserMaster(models.Model):
email = models.EmailField(max_length=50)
password = models.CharField(max_length=50)
otp = models.IntegerField()
role = models.CharField(max_length=50)
is_active = models.BooleanField(default=True)
is_verified = models.BooleanField(default=False)
is_created = models.DateTimeField(auto_now_add=True)
is_updated = models.DateTimeField(auto_now_add=True)

class Candidate(models.Model):
user_id = models.ForeignKey(UserMaster,on_delete=models.CASCADE,default="")
firstname = models.CharField(max_length=50)
lastname = models.CharField(max_length=50)
contact = models.CharField(max_length=50)
state = models.CharField(max_length=50)
city = models.CharField(max_length=50)
gender = models.CharField(max_length=50)
min_salary = models.BigIntegerField(default="")
max_salary = models.BigIntegerField(default="")
job_type = models.CharField(max_length=50,default="")
jobcategory = models.CharField(max_length=50,default="")
highestedu = models.CharField(max_length=50,default="")
experience = models.CharField(max_length=50,default="")
website = models.CharField(max_length=50,default="")
shift = models.CharField(max_length=50,default="")
jobdescription = models.CharField(max_length=100,default="")
profile_pic = models.ImageField(upload_to=“companyapp/img/candidate”)

class Company(models.Model):
user_id = models.ForeignKey(UserMaster,on_delete=models.CASCADE)
firstname = models.CharField(max_length=50)
lastname = models.CharField(max_length=50)
company_name = models.CharField(max_length=150)
state = models.CharField(max_length=50)
city = models.CharField(max_length=50)
contact = models.CharField(max_length=50)
address = models.CharField(max_length=150)
logo_pic = models.ImageField(upload_to=“companyapp/img/company”)

3. urls.py

from django.urls import path, include
from . import views

urlpatterns = [
path("",views.IndexPage,name=“index”),
path(“signup/”,views.SignupPage,name=“signup”),
path(“register/”,views.RegisterCandidate,name=“register”),
path(“otppage/”,views.OtpPage,name=“otppage”),
path(“otp/”,views.Otpverify,name=“otp”),
path(“loginpage/”,views.LoginPage,name=“loginpage”),
path(“loginuser/”,views.LoginUser,name=“loginuser”),
path(“profile/int:pk”,views.ProfilePage,name=“profile”),
path(“updateprofile/int:pk”,views.UpdateProfile,name=“updateprofile”),
]

4. header footer

{% load static %}

JOB PORTAL - ROHIT TARANG
<link rel="shortcut icon" href="{% static '/images/favicon.ico' %}">

<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="{% static '/css/bootstrap.min.css' %}" type="text/css">

<!--Material Icon -->
<link rel="stylesheet" type="text/css" href="{% static '/css/materialdesignicons.min.css' %}" />

<link rel="stylesheet" type="text/css" href="{% static '/css/fontawesome.css' %}" />

<!-- selectize css -->
<link rel="stylesheet" type="text/css" href="{% static '/css/selectize.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static '/css/nice-select.css' %}" />

<!--Slider-->
<link rel="stylesheet" href="{% static '/css/owl.carousel.css' %}" />
<link rel="stylesheet" href="{% static '/css/owl.theme.css' %}" />
<link rel="stylesheet" href="{% static '/css/owl.transitions.css' %}" />

<!-- Custom  Css -->
<link rel="stylesheet" type="text/css" href="{% static '/css/style.css' %}" />
<!-- Navigation Bar-->
<header id="topnav" class="defaultscroll scroll-active">
    <!-- Tagline STart -->
    <div class="tagline">
        <div class="container">
            <div class="float-left">
                <div class="phone">
                    <i class="mdi mdi-phone-classic"></i> +1 800 123 45 67
                </div>
                <div class="email">
                    <a href="#">
                        <i class="mdi mdi-email"></i> Support@mail.com
                    </a>
                </div>
            </div>
            <div class="float-right">
                <ul class="topbar-list list-unstyled d-flex" style="margin: 11px 0px;">
                    <li class="list-inline-item"><a href="javascript:void(0);"><i class="mdi mdi-account mr-2"></i>{{request.session.firstname}} {{request.session.lastname}}</a></li>
                    <li class="list-inline-item">
                        <select id="select-lang" class="demo-default">
                            <option value="">Language</option>
                            <option value="4">English</option>
                            <option value="1">Spanish</option>
                            <option value="3">French</option>
                            <option value="5">Hindi</option>
                        </select>
                    </li>
                </ul>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
    <!-- Tagline End -->

    <!-- Menu Start -->
    <div class="container">
        <!-- Logo container-->
        <div>
            <a href="index.html" class="logo">
                <img src="{% static '/images/logo-light.png' %}" alt="" class="logo-light" height="18" />
                <img src="{% static '/images/logo-dark.png' %}" alt="" class="logo-dark" height="18" />
            </a>
        </div>                 
        <!-- <div class="buy-button">
            <a href="post-a-job.html" class="btn btn-primary"><i class="mdi mdi-cloud-upload"></i> Post a Job</a>
        </div>end login button -->
        <!-- End Logo container-->
        <div class="menu-extras">
            <div class="menu-item">
                <!-- Mobile menu toggle-->
                <a class="navbar-toggle">
                    <div class="lines">
                        <span></span>
                        <span></span>
                        <span></span>
                    </div>
                </a>
                <!-- End mobile menu toggle-->
            </div>
        </div>

        <div id="navigation">
            <!-- Navigation Menu-->   
            <ul class="navigation-menu">
                <li><a href="index.html">Home</a></li>
                <li class="has-submenu">
                    <a href="javascript:void(0)">Jobs</a><span class="menu-arrow"></span>
                    <ul class="submenu">
                        <li><a href="job-list.html">Job List</a></li>
                        <li><a href="job-grid.html">Job Grid</a></li>
                        <li><a href="job-details.html">Job Details</a></li>
                        <li><a href="job-details-2.html">Job Details-2</a></li>
                    </ul>
                </li>

                <li class="has-submenu">
                    <a href="javascript:void(0)">Pages</a><span class="menu-arrow"></span>
                    <ul class="submenu">
                        <li><a href="about.html">About us</a></li>
                        <li><a href="services.html">Services</a></li>
                        <li><a href="team.html">Team</a></li>
                        <li><a href="faq.html">Faqs</a></li>
                        <li><a href="pricing.html">Pricing plans</a></li>
                        <li class="has-submenu"><a href="javascript:void(0)"> Candidates</a><span class="submenu-arrow"></span>
                            <ul class="submenu">
                                <li><a href="candidates-listing.html">Candidates Listing</a></li>
                                <li><a href="candidates-profile.html">Candidates Profile</a></li>
                                <li><a href="create-resume.html">Create Resume</a></li>
                            </ul>  
                        </li>
                        <li class="has-submenu"><a href="javascript:void(0)"> Blog</a><span class="submenu-arrow"></span>
                            <ul class="submenu">
                                <li><a href="blog-grid.html">Blogs</a></li>
                                <li><a href="blog-sidebar.html">Blog Sidebar</a></li>
                                <li><a href="blog-details.html">Blog Details</a></li>
                            </ul>  
                        </li>
                        <li class="has-submenu"><a href="javascript:void(0)"> Employers</a><span class="submenu-arrow"></span>
                            <ul class="submenu">
                                <li><a href="employers-list.html">Employers List</a></li>
                                <li><a href="company-detail.html">Company Detail</a></li>
                            </ul>  
                        </li>
                        <li class="has-submenu"><a href="javascript:void(0)"> User Pages</a><span class="submenu-arrow"></span>
                            <ul class="submenu">
                                <li><a href="login.html">Login</a></li>
                                <li><a href="signup.html">Signup</a></li>
                                <li><a href="recovery_passward.html">Forgot Password</a></li>
                            </ul>  
                        </li>
                        <li><a href="components.html"> Components</a></li>
                    </ul>
                </li>
                <li>
                    <a href="contact.html">contact</a>
                </li>
                <li class="has-submenu">
                    <a href="javascript:void(0)">{{request.session.firstname}} {{request.session.lastname}}</a><span class="menu-arrow"></span>
                    <ul class="submenu">
                        <li><a href="{% url 'profile' pk=request.session.id %}">Profile</a></li>
                        <li><a href="job-grid.html">Logout</a></li>
                    </ul>
                </li>
            </ul><!--end navigation menu-->
        </div><!--end navigation-->
    </div><!--end container-->
    <!--end end-->
</header><!--end header-->
<!-- Navbar End -->

{% block content %}

{% endblock %}

<!-- footer start -->
<footer class="footer">
    <div class="container">
        <div class="row">
            <div class="col-lg-3 col-12 mb-0 mb-md-4 pb-0 pb-md-2">
                <a href="javascript:void(0)"><img src="{% static '/images/logo-light.png' %}" height="20" alt=""></a>
                <p class="mt-4">At vero eos et accusamus et iusto odio dignissim os ducimus qui blanditiis praesentium</p>
                <ul class="social-icon social list-inline mb-0">
                    <li class="list-inline-item"><a href="#" class="rounded"><i class="mdi mdi-facebook"></i></a></li>
                    <li class="list-inline-item"><a href="#" class="rounded"><i class="mdi mdi-twitter"></i></a></li>
                    <li class="list-inline-item"><a href="#" class="rounded"><i class="mdi mdi-instagram"></i></a></li>
                    <li class="list-inline-item"><a href="#" class="rounded"><i class="mdi mdi-google"></i></a></li>
                </ul>
            </div>
            <div class="col-lg-3 col-md-4 col-12 mt-4 mt-sm-0 pt-2 pt-sm-0">
                <p class="text-white mb-4 footer-list-title">Company</p>
                <ul class="list-unstyled footer-list">
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> About Us</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Media & Press</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Career</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Blog</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Pricing</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Marketing</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> CEOs </a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Agencies</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Our Apps</a></li>
                </ul>
            </div>
            <div class="col-lg-3 col-md-4 col-12 mt-4 mt-sm-0 pt-2 pt-sm-0">
                <p class="text-white mb-4 footer-list-title">Resources</p>
                <ul class="list-unstyled footer-list">
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Support</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Privacy Policy</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Terms</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Accounting </a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> Billing</a></li>
                    <li><a href="#" class="text-foot"><i class="mdi mdi-chevron-right"></i> F.A.Q.</a></li>
                </ul>
            </div>
        
            <div class="col-lg-3 col-md-4 col-12 mt-4 mt-sm-0 pt-2 pt-sm-0">
                <p class="text-white mb-4 footer-list-title f-17">Business Hours</p>
                <ul class="list-unstyled text-foot mt-4 mb-0">
                    <li>Monday - Friday : 9:00 to 17:00</li>
                    <li class="mt-2">Saturday : 10:00 to 15:00</li>
                    <li class="mt-2">Sunday : Day Off (Holiday)</li>
                </ul>
            </div>
        </div>
    </div>
</footer>
<!-- footer end -->
<hr>
<footer class="footer footer-bar">
    <div class="container text-center">
        <div class="row justify-content-center">
            <div class="col-12">
                <div class="">
                    <p class="mb-0">© 2019 Jobya. Design with <i class="mdi mdi-heart text-danger"></i> by Themesdesign.</p>
                </div>
            </div>
        </div>
    </div><!--end container-->
</footer><!--end footer-->
<!-- Footer End -->

<!-- Back to top -->
<a href="#" class="back-to-top rounded text-center" id="back-to-top"> 
    <i class="mdi mdi-chevron-up d-block"> </i> 
</a>
<!-- Back to top -->

<!-- javascript -->
<script src="{% static '/js/jquery.min.js' %}"></script>
<script src="{% static '/js/bootstrap.bundle.min.js' %}"></script>
<script src="{% static '/js/jquery.easing.min.js' %}"></script>
<script src="{% static '/js/plugins.js' %}"></script>

<!-- selectize js -->
<script src="{% static '/js/selectize.min.js' %}"></script>
<script src="{% static '/js/jquery.nice-select.min.js' %}"></script>

<script src="{% static '/js/owl.carousel.min.js' %}"></script>
<script src="{% static '/js/counter.int.js' %}"></script>

<script src="{% static '/js/app.js' %}"></script>
<script src="{% static '/js/home.js' %}"></script>