Beginning Blog - Django Web Development with Python 6

Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=uI2KW8K_eks



Category:
Vlog
Duration: 8:56
108,893 views
918


In this sixth Django web development with Python tutorial, we're going to cover working with models in Django. Our plan is to add the final element of our website: a blog. So far, we've worked with views and a controller, but have not really done anything with models.

First off, what are models? Models contain "meta data" regarding your application's data. Generally, these models are used to describe just the elements in your database, but they can be built up to be much more than just that.

Second, we know we want to make a blog. Is this blog a part of our "personal" website, or would it make more sense to be its own app? It could be a part of our personal app, but it really ought to be its own entirely. Plus, chances are, we're going to want to incorporate a blog on other apps, so let's make a new app: python manage.py startapp blog.

We just added a new app. What is the first thing we should do? Right, install it!

text-based tutorial and sample code: https://pythonprogramming.net/blog-django-python-tutorial/

https://pythonprogramming.net
https://twitter.com/sentdex
https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex




Other Videos By sentdex


2016-03-04[See Description] Pipeline Tutorial - Python for Finance with Quantopian and Zipline 20
2016-03-02[See Description] Pipeline API Intro - Python for Finance with Quantopian and Zipline 19
2016-02-19SSL for HTTPS with Apache server - Flask web development with Python 35
2016-02-16SSL for HTTPS with nginx - Django Web Development with Python 12
2016-02-12Publishing to a Web Server - Django Web Development with Python 11
2016-02-08Data Analysis simplified with Ensmo.com
2016-02-08Individual blog pages - Django Web Development with Python 10
2016-02-01Admin - Django Web Development with Python 9
2016-01-30Database & Migrations - Django Web Development with Python 8
2016-01-28Blog View and Template - Django Web Development with Python 7
2016-01-26Beginning Blog - Django Web Development with Python 6
2016-01-24Passing variables from python to html - Django Web Development with Python 5
2016-01-22Bootstrap HTML CSS - Django Web Development with Python 4
2016-01-21Jinja Templating - Django Web Development with Python 3
2016-01-20Creating App - Django Web Development with Python 2
2016-01-19Introduction - Django Web Development with Python 1
2016-01-17UPDATE and DELETE - SQLite3 with Python 3 part 5
2016-01-17Graph from database table example - SQLite3 with Python 3 part 4
2016-01-17Read from (SELECT) Database table - SQLite3 with Python 3 part 3
2016-01-17Inserting variables to database table - SQLite3 with Python 3 part 2
2016-01-17Creating a database, table, and inserting - SQLite3 with Python 3 part 1



Tags:
Django Web Framework (Software)
Python (Programming Language)
Web Development (Interest)
website
create
develop
dev
tutorial
how-to
flask
web2py
app
webapp
web app
framework
paradigm
Web Application (Industry)
Blog (Industry)