Python Django Dev to Deployment.
Project based course it’s not a linear like documentation type video course with slides and
all that it’s a practical project that was given to us by fictional company by Real Estate
and they wanna us to build them a website or webapp where they can add their property
listings people search browse make enquiries and add their realtors stuff like that
So we are going from absolute scratch
Installing Python
Setting up a Virtual Enviorment
Setting up VS Code
Diving into Django
We are not going to build Bootstrap theme in this course
Because we are focusing on Django
Predefined package ready to implement on the project
Make sure you have that package theme
Building Theme from Scratch using Bootstrap and SAAS
Prerequisite:
Basic Html CSS and some programming principles like python Syntax
If statement, functions, list, dictionaries, indentation syntax
Django is not like a Flask framework which is a micro framework where you can do
things way you want Django is a very high level framework meaning there is one level to
do you have specific rules to follow which makes its little easier to learn
After this course you will gonna make your own Django app
Learn Setup template view methods url and routes forms models migration and much
more.
Using Postgres as a database
Deploying project to Digital Ocean using Unicorn Nginx for Proxy
Video…………….01
Project Overview : Application we are building
Front facing Website and the Admin Area
Homepage: Big Search box with some fields with functionality
Latest Listings whatever the latest three listings in the database those will be displayed or
placed first w are using postgres for database
Next we have Static Markups with some services icons
About page: Dynamic data
We have some about us text data with images and check boximages of seller of the month
so we can choose that in the admin area which will automatically show in here
down We have realtor’s sliders images so realtors get added in the admin area and so
automatically be show here
Listings Page:
currently showing six listing right now per page
if add more we have paginations down here
main image price some other data like click more info
takes to the single listings page where we have breadcrumb
page title address we have realtors images so realtors and listings related with listings
on a listings page we can access any of that particular realtors information we want the
idea here is each realtors will be assighned certain listings for example caio brown is
assighned for this listings we have main images that open up in the light box
we are using light box tool for this features and down we have data like square feet the lot
size Price description and a enquiry btton wich pop up the enquiry form modal window
if we register and logged in front facing websites the name and email will be auto
populated from the data base user info table
lets go to homepage big search box functionality
one field having label for search keywords like pool description so we search pool it
will takes us to search result page which already have that form of a homepage keeping
user to keep on searching and the result now if user clear out that search words and
search with a keyword like bedrooms so if choose 3 bedrooms it wil looks for any house
that has 3 bedrooms or less than equal to click submit we see that all of the search result
images home with three bedrooms
you can also search by price you can also search by state and city
the search is pretty simple not the most intuitive search in the world mazillo.com like
search or anything like that its shows you how to build query sets and how to filter oyur
data wen you are fetching from your database
Next we have a men bar with a link name register to registering account
So we have register page with register login form
After registering form send a successful registration message we will be using Django
messages format them with bootstrap and little bit of JavaScript so that it will disappears
after 3 seconds now logged with register user info it wil takes it to the dashboard tell us
we are logged in message disappears
Dashboard is basically the list of enquires we have made
Welcome with username logged in
Link changes when you logged in to the dashboard
Dash board will show all the enquires you have made
Featured listing Menu Links and select any one of those which we are interested make an
enquiry name and emails are already filled up you can also add phone and messages
that’s optional click send you get s success messages we will contact you soon or your
request has been submitted a realtor will get back to you soon if I try to make another
request in the same property showing an error message you have already made an enquiry
for this listing now if we get to the dashboard his selective listing will be shown here
Admin Side Functionality :You have to logged in as admin role not staff user
Logged in with admin user
Customize the color to match the branding
Added the logo
Groups and User – Django Functionality shows by default All your users and stuff like
that we have Realtors Listings and Contacts and enquires are made will be put in contacts
All of the listing are shown here you can also choose to unpublished them this is not
Django functionality we will add this field is published in the database
Forms : where you can build a relation between Realtors and Listings
Upload images
Realtors : MVP is checked to show in the about us page
Video 3: