
Learn to build a professional dental website using Python and Django, starting from tools setup and template integration, and applying the same skills to any industry template.
Check out my student Facebook Group...
It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...
Join Now!
https://www.facebook.com/groups/codemycom/
Set up a virtual environment to isolate Python dependencies and Django versions for the dental website project. Activate the environment to install Django and manage project files.
Install Django in a new virtual environment, verify via pip freeze, then create a dental Django project with django-admin startproject dental and locate manage.py.
Run the Django development server with python manage.py runserver to view your project at localhost:8000 on your local computer, and migrate the database to clear initial errors.
Create a new Django app named web site, add it to installed apps in settings.py, and begin building a basic dental website project using manage.py.
Create and wire up the urls.py file for the Django project, include the site's new urls module, and route the home page.
Download and unzip a dental website template, locate the bento template, save and extract files, and prepare for installation in a Django project while exploring free and paid template options.
Create the static directory in a django project, organize static files by app, and update settings with os.path to serve css, javascript, and images for your dental website.
Install the dental template by importing template files into the static and web site directories, dragging and dropping them with file explorer, and adjusting style files.
Apply static tags to all JavaScript, images, and CSS references across the template, then adjust CSX paths and style sheet references to recover proper image loading and styling.
Use Django links instead of regular links by referencing named URLs in urls.py, ensuring home and other pages update automatically for sites with thousands of pages.
Swap in the dentist's own images by resizing them to the correct dimensions and replacing the files in the static directory, then update the image paths and logo.
Replace the placeholder image with a YouTube embed code to play a video on your page. Use the video area to paste the code and save, then view the playback.
Update the contact page map by replacing the iframe src with a new Google Maps embed, adjust dimensions, and refresh address and breadcrumb links in a Django site.
Learn how to process a Django contact form by handling post requests, adding a CSRF token, retrieving form fields, and preparing to email the submitted data.
Pass data from the back end to the front end with a context dictionary in Django, render the contact page, and test form submission before wiring the Django email system.
Learn to send emails in Django by importing send_mail and calling it with subject, message, from_email, and recipient_list from the contact form, and adjust settings in settings.py.
Configure Django email settings in settings.py by specifying host, port, user, and password; enable TLS or SSL and use environment variables, and for Gmail toggle less secure apps.
Enhance the contact page by implementing a dynamic email response that displays a personalized confirmation after form submission using a message name variable and conditional rendering.
Sign up for GitHub, generate an SSH key, and create a repository to push your dental Django project, then commit changes and review history.
Learn to host a Django app with Heroku, push code from the terminal, and understand free versus paid tiers to scale a dentist website online.
Install the Heroku toolbelt to connect your terminal to Heroku, download the 64-bit installer for your operating system, add it to the path, restart the terminal, and verify the installation.
Install and configure production-ready modules for a Django app on Heroku, including gunicorn, django-heroku, whitenoise, Postgres, and a Procfile setup.
Import django-heroku, dj_database_url, and config from decouple in settings.py, then add White Noise middleware and static file storage settings, enabling deployment to Heroku.
Learn to connect your Heroku app to a domain by configuring a registrar like Namecheap, adding a CNAME for www that points to your Heroku URL, and understanding DNS propagation.
Learn to build a dental website with Django and Python, and explore a lifetime membership granting access to over 60 courses.
In this course you'll learn to build websites with Python and Django by building out a cool and professional Dentist website! Why a Dental website? Many coders want to become freelance web developers, and what better way to get gigs than by building websites for all the Dentists in your area!
In this course you'll learn to build websites fast using free HTML templates. We'll download a dental template for free and then customize it to suit our needs.
You'll learn to...
Install Python
Install The Sublime Text Editor and Git Bash Terminal
Set Up A Virtual Environment
Install Django and Start Our Project
Run the Django Server
Start a New Django App
Urls .py
Build our First Webpage
Download the Dental Template
Create Static DIRS
Install the Dental Template
Add Static Tags to The Template
Tweak Our Static Tags (part 1)
Tweak Our Static Tags (part 2)
Tweak Our Static Tags (part 3)
Building Django Links
Tweak The HTML Template
Add Custom Images
Add A Video
Contact Page
Change The Contact Page Map
Build The Contact Form
Build The Contact Form (part 2)
Send Email With Django
Send Email With Django (part 2)
Send Email With The Development Sendmail Server
Create an Email Response Page
Version Control With Git
Github . com
Intro To Heroku For Webhosting
Install The Heroku Toolbelt
Install Modules For Heroku
Settings .py Heroku Changes
Push Our Code To Heroku
Add A Domain Name
This is a really fun course with a cool project! When we're finished you'll have a nice website to add to your portfolio!
See you inside!
-John Elder