title
Python Django Tutorial 2018 for Beginners Part 1 - How to Create a Project

description
Join the VIP waitlist for my upcoming flagship Python Django course called The Profitable Programmer... http://cleverprogrammer.io/first-client-with-python Enroll for exercises, tutorials, courses, and projects... https://cleverprogrammer.com?utm_source=youtube&utm_medium=yt-description In this video, we are going to cover the Python Django docs part 1 of writing your first app. This video will show you how to create a project, manage your virtual environments, and which text editor you should use. We'll be covering web development with the Python Django framework in 2018. Enroll in Learn Python™ course https://cleverprogrammer.com?utm_source=youtube&utm_medium=yt-description ================================================== Connect With Me! Website ► https://cleverprogrammer.com?utm_source=youtube&utm_medium=yt-description Facebook ► http://cleverprogrammer.io/facebook Twitter ► http://cleverprogrammer.io/twitter Instagram ► http://cleverprogrammer.io/instagram Snapchat ► Rafeh1 iTunes Podcast ► http://cleverprogrammer.io/podcast Google Podcast ► http://cleverprogrammer.io/google-podcast Support (Patreon) ► http://cleverprogrammer.io/patreon Youtube ► https://www.youtube.com/c/CleverProgrammer Github (Code) ► http://cleverprogrammer.io/github Biz / Sponsorships 👉 https://www.cleverprogrammer.com/partnerships

detail
{'title': 'Python Django Tutorial 2018 for Beginners Part 1 - How to Create a Project', 'heatmap': [{'end': 584.966, 'start': 517.39, 'weight': 0.884}, {'end': 669.951, 'start': 642.581, 'weight': 0.8}], 'summary': 'Tutorial series covers django documentation, model design basics, python and django installation, anaconda setup, ide terminal usage, setting up a django development server, creating and managing python apps, web development, and configuring url conf in django, emphasizing rapid development and hosting applications online.', 'chapters': [{'end': 134.566, 'segs': [{'end': 53.106, 'src': 'embed', 'start': 28.405, 'weight': 1, 'content': [{'end': 34.089, 'text': "like everybody who starts learning Django, this is the first place you're gonna go to, like the docs,", 'start': 28.405, 'duration': 5.684}, {'end': 39.994, 'text': 'the Django official documentation that shows you how to do their getting started guide.', 'start': 34.089, 'duration': 5.905}, {'end': 43.056, 'text': 'And so I just wanna kinda cover that in this series.', 'start': 40.554, 'duration': 2.502}, {'end': 50.164, 'text': "This first video, we're gonna do part one, and then every video after that, we're gonna just cover one part.", 'start': 44.759, 'duration': 5.405}, {'end': 53.106, 'text': "So like the second video, we'll cover part two of the documentation.", 'start': 50.184, 'duration': 2.922}], 'summary': 'A series covering django documentation for beginners, with one part per video.', 'duration': 24.701, 'max_score': 28.405, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS028405.jpg'}, {'end': 110.745, 'src': 'embed', 'start': 74.042, 'weight': 0, 'content': [{'end': 80.187, 'text': 'Like, for example, one of the awesome things about Django compared to any other framework, even like node JS right?,', 'start': 74.042, 'duration': 6.145}, {'end': 84.39, 'text': "Which is very popular and it's a great, great, great framework for JavaScript.", 'start': 80.227, 'duration': 4.163}, {'end': 91.035, 'text': 'But what makes Django really cool is that it comes with a built in and very robust admin interface.', 'start': 84.71, 'duration': 6.325}, {'end': 97.411, 'text': "So if you're building an app for your client where, like, let's say, you want to build a blogging app for somebody, right?", 'start': 91.336, 'duration': 6.075}, {'end': 99.798, 'text': 'Or e-commerce app for somebody in Python.', 'start': 97.512, 'duration': 2.286}, {'end': 107.182, 'text': 'If you build it using Django, it gives them an admin interface so they can just go in there and do stuff from there.', 'start': 101.098, 'duration': 6.084}, {'end': 110.745, 'text': 'Or you can manage the app for them from the admin interface.', 'start': 107.263, 'duration': 3.482}], 'summary': 'Django offers a robust admin interface, making app management easier for clients, e.g., blogging or e-commerce in python.', 'duration': 36.703, 'max_score': 74.042, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS074042.jpg'}], 'start': 0.149, 'title': 'Django documentation', 'summary': 'Introduces the importance of django official documentation for beginners, emphasizing its advantages in facilitating fast web development tasks and featuring a robust admin interface, which can save time and impress clients.', 'chapters': [{'end': 134.566, 'start': 0.149, 'title': 'Intro to django documentation', 'summary': "Introduces the django official documentation, emphasizing its importance for beginners and highlighting django's advantages, such as its ability to facilitate web development tasks in a fast way and its built-in robust admin interface, which can save development time and impress clients.", 'duration': 134.417, 'highlights': ['Django allows for fast web development tasks and comes with a built-in and robust admin interface, saving development time and impressing clients.', 'The tutorial series will cover the most commonly referenced Django documentation in a conversational style, with each video focusing on different parts of the documentation.', "Django's admin interface can be used for building apps like blogging or e-commerce, allowing clients to manage the app or allowing developers to manage it for them.", 'The chapter emphasizes the importance of the Django official documentation for beginners and the lack of video resources covering it.']}], 'duration': 134.417, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0149.jpg', 'highlights': ['Django allows for fast web development tasks and comes with a built-in and robust admin interface, saving development time and impressing clients.', 'The tutorial series will cover the most commonly referenced Django documentation in a conversational style, with each video focusing on different parts of the documentation.', "Django's admin interface can be used for building apps like blogging or e-commerce, allowing clients to manage the app or allowing developers to manage it for them.", 'The chapter emphasizes the importance of the Django official documentation for beginners and the lack of video resources covering it.']}, {'end': 377.352, 'segs': [{'end': 193.19, 'src': 'embed', 'start': 134.566, 'weight': 0, 'content': [{'end': 136.267, 'text': "okay? And you're just gonna follow me along.", 'start': 134.566, 'duration': 1.701}, {'end': 142.528, 'text': "All right, so I'm gonna cover this kind of touch on this.", 'start': 137.987, 'duration': 4.541}, {'end': 145.268, 'text': 'So if you have some experience with it, it will make a little bit of sense.', 'start': 142.548, 'duration': 2.72}, {'end': 146.569, 'text': 'So designing your models.', 'start': 145.288, 'duration': 1.281}, {'end': 151.269, 'text': 'So in Django, you can kind of design your database and models like this.', 'start': 146.769, 'duration': 4.5}, {'end': 156.25, 'text': "You don't need to type in raw SQL queries or mess with too many ORMs.", 'start': 151.329, 'duration': 4.921}, {'end': 157.831, 'text': "It's just simply classes.", 'start': 156.47, 'duration': 1.361}, {'end': 165.172, 'text': "So it's literally like Python and object-oriented programming and boom, you have stuff populating your database, which is pretty cool.", 'start': 158.251, 'duration': 6.921}, {'end': 169.565, 'text': 'It also has a built in kind of API.', 'start': 167.024, 'duration': 2.541}, {'end': 176.048, 'text': 'So it says, you know, as soon as your models are done, the API is created on the fly, no code generation necessary.', 'start': 169.665, 'duration': 6.383}, {'end': 186.193, 'text': "Okay, so here you can see that if you create a model like, let's say that you're creating an app, right, it has reporters and your app has articles,", 'start': 176.288, 'duration': 9.905}, {'end': 186.453, 'text': 'you know.', 'start': 186.193, 'duration': 0.26}, {'end': 193.19, 'text': "Well, what you can just do is just be like hey, reporter.objects.all, and it'll tell you how many reporters are there.", 'start': 187.406, 'duration': 5.784}], 'summary': 'Django simplifies model design with classes, no need for raw sql queries, and auto-generated api.', 'duration': 58.624, 'max_score': 134.566, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0134566.jpg'}, {'end': 305.42, 'src': 'embed', 'start': 262.383, 'weight': 2, 'content': [{'end': 269.348, 'text': "Kinda like when you guys go to Shopify stores or YouTube and type in a video's name and even if you're off, they'll still find it.", 'start': 262.383, 'duration': 6.965}, {'end': 274.131, 'text': "It's using this contained search mechanism which Django comes built in with.", 'start': 269.388, 'duration': 4.743}, {'end': 280.695, 'text': 'Another thing I wanna touch on is yeah, so if you have your model,', 'start': 275.832, 'duration': 4.863}, {'end': 287.037, 'text': 'you can register them in the admin interface with just a simple line that says admin.site.register.', 'start': 280.695, 'duration': 6.342}, {'end': 293.238, 'text': "And then that model, let's say you create the article model, you can now register it in the admin interface.", 'start': 287.537, 'duration': 5.701}, {'end': 299.839, 'text': 'So then you can go and point and click in admin interface and then delete or create new articles or whatnot, right?', 'start': 293.258, 'duration': 6.581}, {'end': 305.42, 'text': 'For example, when you have a WordPress blog, you know how you have an admin interface there.', 'start': 299.879, 'duration': 5.541}], 'summary': 'Django has a built-in search mechanism and allows easy registration of models in the admin interface, similar to wordpress blog.', 'duration': 43.037, 'max_score': 262.383, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0262383.jpg'}, {'end': 360.717, 'src': 'embed', 'start': 329.386, 'weight': 1, 'content': [{'end': 334.794, 'text': 'slash articles, slash the year, followed by whatever, right?', 'start': 329.386, 'duration': 5.408}, {'end': 339.937, 'text': 'So you can create your own URL parameters and whatever.', 'start': 334.834, 'duration': 5.103}, {'end': 341.738, 'text': 'So this is pretty standard.', 'start': 339.957, 'duration': 1.781}, {'end': 349.463, 'text': 'But it look Django lets you do it in a really clean way, especially with Django 2.0, their new latest release.', 'start': 342.058, 'duration': 7.405}, {'end': 355.172, 'text': 'Alright, so writing your views is also pretty easy.', 'start': 350.363, 'duration': 4.809}, {'end': 360.717, 'text': 'You can have it just like return HTTP response or HTML file you made.', 'start': 355.212, 'duration': 5.505}], 'summary': 'Django 2.0 allows clean creation of url parameters and easy view writing.', 'duration': 31.331, 'max_score': 329.386, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0329386.jpg'}], 'start': 134.566, 'title': 'Django model design basics and interface', 'summary': 'Covers the basics of designing models in django using python classes and automatic api generation, with examples. it also discusses the ease of interface and search functionality, admin interface registration, url design, and view creation in django.', 'chapters': [{'end': 217.097, 'start': 134.566, 'title': 'Django model design basics', 'summary': 'Covers the basics of designing models in django, emphasizing the simplicity of creating database models using python classes and the automatic generation of apis, with examples illustrating the ease of querying and populating the database.', 'duration': 82.531, 'highlights': ['Django allows designing database models using Python classes, eliminating the need for raw SQL queries or extensive use of ORMs, making it simple and intuitive.', 'The framework automatically generates APIs as soon as the models are created, without requiring any code generation, streamlining the development process.', 'Illustrative examples, such as querying the number of reporters or fighters in an app, demonstrate the ease of interacting with the database and populating it with data.']}, {'end': 377.352, 'start': 217.097, 'title': 'Django interface and administration', 'summary': 'Discusses the ease of interface and search functionality in django, including the admin interface registration, url design, and view creation, highlighting its user-friendly and powerful features.', 'duration': 160.255, 'highlights': ['Django contains a user-friendly search mechanism allowing users to search with specific parameters like name start or contain, enhancing usability.', 'Registration of models in the admin interface enables easy point-and-click management of data, providing full CRUD functionality similar to WordPress blog admin interface.', 'Django allows for easy customization of URLs and clean URL parameter creation, particularly seamless with the latest release, Django 2.0.', 'Creating views in Django is simplified, enabling the return of HTTP response or specific HTML files, contributing to the user-friendly design and functionality of the framework.']}], 'duration': 242.786, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0134566.jpg', 'highlights': ['Django automatically generates APIs as soon as the models are created, streamlining the development process.', 'Django allows for easy customization of URLs and clean URL parameter creation, particularly seamless with the latest release, Django 2.0.', 'Registration of models in the admin interface enables easy point-and-click management of data, providing full CRUD functionality similar to WordPress blog admin interface.', 'Creating views in Django is simplified, enabling the return of HTTP response or specific HTML files, contributing to the user-friendly design and functionality of the framework.', 'Django contains a user-friendly search mechanism allowing users to search with specific parameters like name start or contain, enhancing usability.', 'Django allows designing database models using Python classes, eliminating the need for raw SQL queries or extensive use of ORMs, making it simple and intuitive.', 'Illustrative examples, such as querying the number of reporters or fighters in an app, demonstrate the ease of interacting with the database and populating it with data.']}, {'end': 669.951, 'segs': [{'end': 491.691, 'src': 'embed', 'start': 378.192, 'weight': 0, 'content': [{'end': 382.836, 'text': 'If this part is just not making any sense, skip a little bit ahead to the part where we jump into the tutorial.', 'start': 378.192, 'duration': 4.644}, {'end': 390.542, 'text': 'This is just for people who are maybe coming from other frameworks and they wanna grasp how Python and Django is working.', 'start': 383.176, 'duration': 7.366}, {'end': 395.086, 'text': "okay?. So you do need some experience to understand what I'm talking about here.", 'start': 390.542, 'duration': 4.544}, {'end': 403.021, 'text': "And then yeah, templates are using, it's using Django templates, which is kind of like Jinja.", 'start': 396.857, 'duration': 6.164}, {'end': 405.683, 'text': "I'll go into this later.", 'start': 404.062, 'duration': 1.621}, {'end': 407.845, 'text': "So at this point, like, let's just get started.", 'start': 405.863, 'duration': 1.982}, {'end': 415.53, 'text': 'All right, so for your installation, all you really need to do is make sure you have Python installed.', 'start': 409.486, 'duration': 6.044}, {'end': 420.894, 'text': 'So for myself, I got Anaconda installed, which is what I would recommend for you.', 'start': 415.951, 'duration': 4.943}, {'end': 424.777, 'text': 'So if you do Anaconda download online, kind of install that.', 'start': 421.414, 'duration': 3.363}, {'end': 429.756, 'text': "And that's pretty much all you need to go on.", 'start': 426.355, 'duration': 3.401}, {'end': 439.42, 'text': "And then obviously install Django as well, which I'll show you in one second, okay? All right, and then you can go ahead and create a project.", 'start': 430.797, 'duration': 8.623}, {'end': 443.481, 'text': "So we're gonna just get started from scratch and follow along with this tutorial.", 'start': 439.44, 'duration': 4.041}, {'end': 444.921, 'text': "So let's get started.", 'start': 443.521, 'duration': 1.4}, {'end': 449.503, 'text': "Okay, so I'm gonna open up my command line here.", 'start': 445.502, 'duration': 4.001}, {'end': 451.263, 'text': "So I'm just gonna open up my terminal.", 'start': 449.763, 'duration': 1.5}, {'end': 454.445, 'text': "If you're watching this, you can open up your..", 'start': 451.844, 'duration': 2.601}, {'end': 464.813, 'text': 'you know, CMD on Windows, or what I recommend installing is CMDER on your Windows.', 'start': 456.769, 'duration': 8.044}, {'end': 471.919, 'text': 'And, Yeah, basically just see if you have Anaconda installed.', 'start': 466.674, 'duration': 5.245}, {'end': 478.763, 'text': "And if you do, and if you type in conda, this thing should come up, okay? If you don't have Anaconda installed, that's okay.", 'start': 471.979, 'duration': 6.784}, {'end': 480.404, 'text': 'You can still follow me along.', 'start': 478.803, 'duration': 1.601}, {'end': 483.206, 'text': "But what I'm doing here is kind of like for best practice.", 'start': 480.444, 'duration': 2.762}, {'end': 489.449, 'text': 'So if you wanna do it like the best practice way, then I recommend that you get conda installed here.', 'start': 483.906, 'duration': 5.543}, {'end': 491.691, 'text': 'Let me just make this a little bit smaller.', 'start': 489.509, 'duration': 2.182}], 'summary': 'Tutorial on python and django installation and project creation.', 'duration': 113.499, 'max_score': 378.192, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0378192.jpg'}, {'end': 584.966, 'src': 'heatmap', 'start': 517.39, 'weight': 0.884, 'content': [{'end': 522.972, 'text': 'So you can look up stuff like how to install Anaconda on Windows or how to install Anaconda on a Mac.', 'start': 517.39, 'duration': 5.582}, {'end': 528.893, 'text': "But I'm just gonna go ahead and do conda or first I'm gonna create this project.", 'start': 523.972, 'duration': 4.921}, {'end': 531.014, 'text': "So let's see, I'm gonna go to my GitHub.", 'start': 528.913, 'duration': 2.101}, {'end': 545.098, 'text': "All right, what I've also done is I have gone into preferences in my Atom and I have went in under install and I've installed terminal.", 'start': 531.694, 'duration': 13.404}, {'end': 550.446, 'text': "platform meal IDE terminal, and I've installed it.", 'start': 546.963, 'duration': 3.483}, {'end': 555.01, 'text': "So, then, the beauty of that is that when I'm coding right.", 'start': 551.026, 'duration': 3.984}, {'end': 561.135, 'text': "if I'm coding, I can just pop open my terminal right in here and I don't have to leave my add up.", 'start': 555.01, 'duration': 6.125}, {'end': 574.166, 'text': 'So I will do Django admin start project, my site like that, and then go into my site.', 'start': 561.275, 'duration': 12.891}, {'end': 584.966, 'text': "Okay And then I will come over here and I will open, I'll go to GitHub and then I'll go my site and then just click that.", 'start': 576.664, 'duration': 8.302}], 'summary': 'Demonstrating project setup and anaconda installation on windows and mac, using atom ide and github.', 'duration': 67.576, 'max_score': 517.39, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0517390.jpg'}, {'end': 574.166, 'src': 'embed', 'start': 546.963, 'weight': 6, 'content': [{'end': 550.446, 'text': "platform meal IDE terminal, and I've installed it.", 'start': 546.963, 'duration': 3.483}, {'end': 555.01, 'text': "So, then, the beauty of that is that when I'm coding right.", 'start': 551.026, 'duration': 3.984}, {'end': 561.135, 'text': "if I'm coding, I can just pop open my terminal right in here and I don't have to leave my add up.", 'start': 555.01, 'duration': 6.125}, {'end': 574.166, 'text': 'So I will do Django admin start project, my site like that, and then go into my site.', 'start': 561.275, 'duration': 12.891}], 'summary': 'Platform meal ide terminal allows coding without leaving the ide.', 'duration': 27.203, 'max_score': 546.963, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0546963.jpg'}, {'end': 669.951, 'src': 'heatmap', 'start': 642.581, 'weight': 0.8, 'content': [{'end': 659.526, 'text': "I'm gonna do conda create dash dash name, my sites, Python is equal to 3.6.", 'start': 642.581, 'duration': 16.945}, {'end': 661.887, 'text': 'And I will activate this environment.', 'start': 659.526, 'duration': 2.361}, {'end': 669.951, 'text': 'And now I will install Django.', 'start': 667.149, 'duration': 2.802}], 'summary': 'Creating a conda environment with python 3.6 and installing django.', 'duration': 27.37, 'max_score': 642.581, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0642581.jpg'}], 'start': 378.192, 'title': 'Python, django, anaconda, and ide terminal', 'summary': 'Covers python and django installation, anaconda setup on windows, and utilizing an ide terminal for coding, including github navigation and python server execution.', 'chapters': [{'end': 444.921, 'start': 378.192, 'title': 'Python and django tutorial', 'summary': 'Discusses the installation of python and django, recommending anaconda for python installation and briefly mentioning the use of django templates for creating a project.', 'duration': 66.729, 'highlights': ['The chapter outlines the installation process, recommending Anaconda as the preferred method, and briefly mentions the use of Django templates for creating a project.', 'The speaker suggests skipping ahead for those with prior experience in other frameworks, indicating a focus on Python and Django functionality.', 'The speaker emphasizes the need for some experience to comprehend the discussion, catering to individuals with familiarity in programming.']}, {'end': 545.098, 'start': 445.502, 'title': 'Setting up anaconda environment', 'summary': 'Illustrates the process of setting up an anaconda environment, emphasizing the use of conda and the installation of anaconda on windows.', 'duration': 99.596, 'highlights': ['The tutorial emphasizes the best practice of installing Anaconda using conda, while also ensuring it is suitable for those without Anaconda installed.', 'Recommendation to install CMDER on Windows for command line usage.', 'Emphasizing the importance of using conda for creating the project environment.', "Suggestion to refer to external resources for detailed instructions on installing Anaconda on Windows or Mac, indicating that the tutorial's scope does not cover these aspects."]}, {'end': 669.951, 'start': 546.963, 'title': 'Using ide terminal for coding', 'summary': 'Discusses the convenience of using an ide terminal for coding, demonstrating the process of creating a django project, navigating github, and running a python server within the ide environment.', 'duration': 122.988, 'highlights': ['Using IDE terminal within the platform for coding allows seamless access without leaving the IDE environment.', "Creating a Django project involves executing 'Django admin start project, my site' and navigating to GitHub to access the project.", "Activating a specific Python environment using 'conda create' and installing Django for the project are essential steps in the process."]}], 'duration': 291.759, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0378192.jpg', 'highlights': ['Anaconda is recommended for installation, with a brief mention of Django templates.', 'Prior experience in other frameworks is acknowledged, with a focus on Python and Django functionality.', 'Some experience in programming is emphasized for comprehending the discussion.', 'Best practice of installing Anaconda using conda is highlighted, suitable for those without Anaconda installed.', 'CMDER installation is recommended for command line usage on Windows.', 'Importance of using conda for creating the project environment is emphasized.', 'Seamless access to IDE terminal for coding within the platform is highlighted.', "Execution of 'Django admin start project, my site' and navigating to GitHub for project access is mentioned.", "Activating a specific Python environment using 'conda create' and installing Django for the project are essential steps."]}, {'end': 1233.133, 'segs': [{'end': 767.713, 'src': 'embed', 'start': 739.613, 'weight': 0, 'content': [{'end': 746.401, 'text': "And once we get it to a point where it's doing a lot of cool stuff, we'll develop it locally and then later on,", 'start': 739.613, 'duration': 6.788}, {'end': 748.564, 'text': 'what you can even do is then put it online.', 'start': 746.401, 'duration': 2.163}, {'end': 750.847, 'text': 'So then anybody in the world can use your Django app.', 'start': 748.704, 'duration': 2.143}, {'end': 759.209, 'text': "Let's go back and let's take a look at what the tutorial is telling us to do at this point.", 'start': 752.605, 'duration': 6.604}, {'end': 762.61, 'text': 'So it says that you should see this stuff and we do.', 'start': 759.829, 'duration': 2.781}, {'end': 767.713, 'text': 'And then it says ignore the warning about unapplied database migrations for now.', 'start': 763.471, 'duration': 4.242}], 'summary': 'Develop django app locally, then put it online for global use.', 'duration': 28.1, 'max_score': 739.613, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0739613.jpg'}, {'end': 875.243, 'src': 'embed', 'start': 852.223, 'weight': 1, 'content': [{'end': 861.311, 'text': 'The blog would be considered a Django app and your e-commerce store would actually be considered a different Django app, okay?', 'start': 852.223, 'duration': 9.088}, {'end': 864.574, 'text': "So there'd be two different apps that your web application is comprised of.", 'start': 861.331, 'duration': 3.243}, {'end': 867.136, 'text': "That's how Django handles the logic.", 'start': 865.074, 'duration': 2.062}, {'end': 875.243, 'text': "So basically it's one project that has multiple apps inside of it, okay? That's pretty much what they're saying here.", 'start': 868.537, 'duration': 6.706}], 'summary': 'Django organizes web applications into multiple apps within one project.', 'duration': 23.02, 'max_score': 852.223, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0852223.jpg'}, {'end': 921.463, 'src': 'embed', 'start': 897.927, 'weight': 2, 'content': [{'end': 905.532, 'text': "So you can have one app that you build for one project and you can actually have it in different projects that you're doing, which is really cool.", 'start': 897.927, 'duration': 7.605}, {'end': 907.774, 'text': "It's like plug and chug.", 'start': 906.713, 'duration': 1.061}, {'end': 910.716, 'text': 'Your apps can live anywhere on your Python path.', 'start': 908.234, 'duration': 2.482}, {'end': 912.097, 'text': 'In this tutorial,', 'start': 910.796, 'duration': 1.301}, {'end': 921.463, 'text': "we'll create our poll app right next to your manage.py file so that it can be imported as its own top level module rather than a sub module of my site.", 'start': 912.097, 'duration': 9.366}], 'summary': 'Create one app for multiple projects, living anywhere on python path, like plug and chug.', 'duration': 23.536, 'max_score': 897.927, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0897927.jpg'}, {'end': 998.325, 'src': 'embed', 'start': 977.477, 'weight': 4, 'content': [{'end': 988.522, 'text': "So polls comes with migrations in net.py, admin apps, models, tests, views there's a lot of things that polls comes up with automatically,", 'start': 977.477, 'duration': 11.045}, {'end': 989.402, 'text': 'which is really nice.', 'start': 988.522, 'duration': 0.88}, {'end': 993.463, 'text': 'But a lot of this stuff is, you know, just kind of empty.', 'start': 989.822, 'duration': 3.641}, {'end': 998.325, 'text': "The main things that you're going to be working with is models and views.", 'start': 994.884, 'duration': 3.441}], 'summary': 'Polls in net.py comes with migrations, admin apps, models, tests, and views, with main focus on models and views.', 'duration': 20.848, 'max_score': 977.477, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0977477.jpg'}, {'end': 1075.329, 'src': 'embed', 'start': 1016.312, 'weight': 3, 'content': [{'end': 1022.575, 'text': 'So when we keep making changes to your database with migrations, you can like roll forward to a certain time.', 'start': 1016.312, 'duration': 6.263}, {'end': 1028.617, 'text': "But let's say like things get really messed up, you can roll back to a previous point in time.", 'start': 1022.915, 'duration': 5.702}, {'end': 1036.993, 'text': 'Alright, so The disk directory structure will house the poll application.', 'start': 1030.439, 'duration': 6.554}, {'end': 1040.236, 'text': 'So this is the directory structure that we actually saw.', 'start': 1037.753, 'duration': 2.483}, {'end': 1043.839, 'text': 'And now they want us to write our first view.', 'start': 1041.077, 'duration': 2.762}, {'end': 1051.366, 'text': 'A view is what lets you go to a specific URL, and then it returns some kind of response.', 'start': 1044.78, 'duration': 6.586}, {'end': 1058.312, 'text': 'So for example, Django works off of something called MVT, which is called Model View Templates.', 'start': 1051.806, 'duration': 6.506}, {'end': 1067.469, 'text': 'your normal apps, Node.js or whatever, those frameworks work off of MVC, Model View Controller.', 'start': 1060.31, 'duration': 7.159}, {'end': 1075.329, 'text': 'So, to give you an example of this in real life, is when you go to google.com, slash.', 'start': 1068.928, 'duration': 6.401}], 'summary': 'Database migrations enable roll forward and roll back; django uses mvt, google uses mvc.', 'duration': 59.017, 'max_score': 1016.312, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS01016312.jpg'}, {'end': 1127.9, 'src': 'embed', 'start': 1102.92, 'weight': 7, 'content': [{'end': 1112.683, 'text': 'then it goes into the Google code base and then it finds this HTML file that says if somebody goes through this path, that says google.com.', 'start': 1102.92, 'duration': 9.763}, {'end': 1122.373, 'text': "then show them this HTML page that has Google's image on it, followed by a search bar, and then shows you that.", 'start': 1114.204, 'duration': 8.169}, {'end': 1124.896, 'text': 'So it returns a response.', 'start': 1122.393, 'duration': 2.503}, {'end': 1127.9, 'text': 'You request something and it returns a response.', 'start': 1125.597, 'duration': 2.303}], 'summary': "Google's code base directs users to google.com, displaying an html page with google's image and a search bar.", 'duration': 24.98, 'max_score': 1102.92, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS01102920.jpg'}, {'end': 1208.664, 'src': 'embed', 'start': 1172.889, 'weight': 8, 'content': [{'end': 1176.331, 'text': "So I'm in my polls, and I'm gonna go in my views.py.", 'start': 1172.889, 'duration': 3.442}, {'end': 1179.353, 'text': "So when they say it like this, polls slash views.py, that's what they mean.", 'start': 1176.391, 'duration': 2.962}, {'end': 1186.078, 'text': "And in here, I'm gonna say from django.http, import HTTP response.", 'start': 1180.234, 'duration': 5.844}, {'end': 1189.44, 'text': "right and then i'm going to go here.", 'start': 1187.78, 'duration': 1.66}, {'end': 1193.001, 'text': "i'll say define index request.", 'start': 1189.44, 'duration': 3.561}, {'end': 1208.664, 'text': "so take in a request and then return an http response and i will say hello world, you're at the.", 'start': 1193.001, 'duration': 15.663}], 'summary': "Creating a view to return 'hello world' at the index.", 'duration': 35.775, 'max_score': 1172.889, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS01172889.jpg'}], 'start': 678.554, 'title': 'Setting up django development server, creating and managing python apps, and web development', 'summary': 'Details setting up a django development server, creating python apps, managing directory structure, and compares model view templates (mvt) in django with model view controller (mvc) in other frameworks, providing insights into rapid development and hosting applications online.', 'chapters': [{'end': 894.774, 'start': 678.554, 'title': 'Setting up django development server', 'summary': 'Details the process of setting up a django development server, running the application locally, and the distinction between projects and apps, including the functionality and structure of each, with a focus on rapid development and the ability to host applications online.', 'duration': 216.22, 'highlights': ['The chapter details the process of setting up a Django development server, running the application locally, and the distinction between projects and apps. The tutorial guides through setting up a Django development server and explains the difference between projects and apps within Django.', 'The tutorial emphasizes the ability to host applications online and the focus on rapid development using Django. The tutorial highlights the capability of hosting Django applications online and the focus on rapid development with Django.', 'The tutorial explains that everything is considered an app in Django, with the ability to have multiple apps within a project. The tutorial explains that in Django, everything is considered an app, and a project can contain multiple apps, each serving a different functionality.']}, {'end': 1043.839, 'start': 897.927, 'title': 'Creating and managing python apps', 'summary': 'Explains how to create a python app, manage its directory structure, and highlights the main components such as models, views, tests, and migrations.', 'duration': 145.912, 'highlights': ['The main things to work with in the polls app are models and views, which are crucial for app development and testing.', 'The polls app comes with automatic migrations, admin, models, tests, and views, providing a comprehensive starting point for app development.', 'The directory structure of the poll application is discussed, emphasizing the importance of organizing the app and managing its components.', 'The flexibility of having one app that can be used in different projects is highlighted, showcasing the convenience and reusability of Python apps.']}, {'end': 1233.133, 'start': 1044.78, 'title': 'Web development: model view templates vs model view controller', 'summary': 'Explains the difference between model view templates (mvt) used in django and model view controller (mvc) used in other frameworks, and illustrates how urls are mapped to html files to return specific responses on websites like google.com and apple.com.', 'duration': 188.353, 'highlights': ['Django uses Model View Templates (MVT) as opposed to other frameworks like Node.js which use Model View Controller (MVC). Django works off of something called MVT, while other frameworks like Node.js work off of MVC.', "Illustration of how URLs like google.com and apple.com are mapped to HTML files to return specific responses. The explanation of how google.com and apple.com URLs are mapped to HTML files to return specific responses for the users' queries.", 'The process of creating a basic version of responses in Django by defining views in polls/views.py and returning an HTTP response with a specified message. The explanation of creating a basic version of responses in Django by defining views in polls/views.py and returning an HTTP response with a specified message.']}], 'duration': 554.579, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS0678554.jpg', 'highlights': ['The tutorial emphasizes the ability to host applications online and the focus on rapid development using Django.', 'The tutorial explains that everything is considered an app in Django, with the ability to have multiple apps within a project.', 'The flexibility of having one app that can be used in different projects is highlighted, showcasing the convenience and reusability of Python apps.', 'The directory structure of the poll application is discussed, emphasizing the importance of organizing the app and managing its components.', 'The main things to work with in the polls app are models and views, which are crucial for app development and testing.', 'The polls app comes with automatic migrations, admin, models, tests, and views, providing a comprehensive starting point for app development.', 'Django uses Model View Templates (MVT) as opposed to other frameworks like Node.js which use Model View Controller (MVC).', 'Illustration of how URLs like google.com and apple.com are mapped to HTML files to return specific responses.', 'The process of creating a basic version of responses in Django by defining views in polls/views.py and returning an HTTP response with a specified message.']}, {'end': 1669.876, 'segs': [{'end': 1376.35, 'src': 'embed', 'start': 1284.069, 'weight': 0, 'content': [{'end': 1293.851, 'text': 'Okay And now in our URLs dot p y, we got to add from Django dot URLs import path from Django dot URLs import path.', 'start': 1284.069, 'duration': 9.782}, {'end': 1298.332, 'text': "And then we're going to do from import views.", 'start': 1295.232, 'duration': 3.1}, {'end': 1302.233, 'text': "And then we're going to do URL patterns.", 'start': 1299.953, 'duration': 2.28}, {'end': 1315.253, 'text': 'So what you wanna do is try not to indent, but use four spaces instead, okay? One, two, three, four.', 'start': 1307.091, 'duration': 8.162}, {'end': 1317.434, 'text': "If it doesn't automatically bring you to the right place.", 'start': 1315.333, 'duration': 2.101}, {'end': 1319.294, 'text': 'All right.', 'start': 1319.054, 'duration': 0.24}, {'end': 1322.055, 'text': 'And I wanna do path.', 'start': 1320.814, 'duration': 1.241}, {'end': 1332.217, 'text': 'So if somebody goes to the empty path, then I want you to go into our views file and use the index function.', 'start': 1323.995, 'duration': 8.222}, {'end': 1335.718, 'text': "And we're gonna call give it a name, index, okay?", 'start': 1332.797, 'duration': 2.921}, {'end': 1338.826, 'text': 'So what does this mean?', 'start': 1337.785, 'duration': 1.041}, {'end': 1343.35, 'text': "If somebody goes to, let's say your website is called john.com.", 'start': 1338.986, 'duration': 4.364}, {'end': 1347.154, 'text': 'right?. Somebody goes to john.com, followed by nothing else.', 'start': 1343.35, 'duration': 3.804}, {'end': 1351.318, 'text': 'so not like john.com slash article, slash blog, none of that.', 'start': 1347.154, 'duration': 4.164}, {'end': 1353.46, 'text': "It's just john.com, your homepage.", 'start': 1351.398, 'duration': 2.062}, {'end': 1360.124, 'text': 'What happens? Well then we say, go into the views file and run the index function.', 'start': 1354.1, 'duration': 6.024}, {'end': 1364.906, 'text': "So in under views, this is index function, I'll run that we're naming it index.", 'start': 1360.164, 'duration': 4.742}, {'end': 1372.969, 'text': 'So then later, if we want to, from our templates or HTML, if we want to refer to this specific URL path,', 'start': 1364.926, 'duration': 8.043}, {'end': 1376.35, 'text': 'we can just call it by index and reference it.', 'start': 1372.969, 'duration': 3.381}], 'summary': 'Setting up url patterns and linking to views in django using four-space indentation.', 'duration': 92.281, 'max_score': 1284.069, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS01284069.jpg'}, {'end': 1510.049, 'src': 'embed', 'start': 1465.524, 'weight': 1, 'content': [{'end': 1469.365, 'text': "So anytime somebody goes to anything polls, it'll refer it to that file.", 'start': 1465.524, 'duration': 3.841}, {'end': 1470.226, 'text': 'that URLs file.', 'start': 1469.365, 'duration': 0.861}, {'end': 1474.656, 'text': "All right, this is what they're basically saying here.", 'start': 1471.894, 'duration': 2.762}, {'end': 1477.918, 'text': 'The include function allows referencing other URL confs.', 'start': 1474.776, 'duration': 3.142}, {'end': 1480.18, 'text': 'Whenever Django encounters include,', 'start': 1478.038, 'duration': 2.142}, {'end': 1487.425, 'text': 'it chops off whatever part of the URL matched up to that point and sends the remaining string to the included URL conf for further processing.', 'start': 1480.18, 'duration': 7.245}, {'end': 1491.267, 'text': 'The idea behind include is to make it easy to plug and play URLs.', 'start': 1487.905, 'duration': 3.362}, {'end': 1498.592, 'text': 'Since polls are in their own URL conf, they can be placed under or any path and the app will still work.', 'start': 1491.727, 'duration': 6.865}, {'end': 1510.049, 'text': 'Okay You have now wired, so now it says you should always include, you should always use include when you include other URL patterns.', 'start': 1500.654, 'duration': 9.395}], 'summary': 'The include function in django allows plug and play urls for polls, ensuring flexibility and easy inclusion of other url patterns.', 'duration': 44.525, 'max_score': 1465.524, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS01465524.jpg'}, {'end': 1638.129, 'src': 'embed', 'start': 1612.079, 'weight': 6, 'content': [{'end': 1616.52, 'text': "if you're more serious about you know becoming a web developer,", 'start': 1612.079, 'duration': 4.441}, {'end': 1626.662, 'text': 'learning Django more in depth and especially learning how to get clients with Django and Python and to start working as a developer,', 'start': 1616.52, 'duration': 10.142}, {'end': 1630.023, 'text': 'then definitely go to this page.', 'start': 1626.662, 'duration': 3.361}, {'end': 1632.165, 'text': 'this will put this link right over here.', 'start': 1630.023, 'duration': 2.142}, {'end': 1638.129, 'text': 'And basically, I want you to sign up and put your email for our VIP waitlist.', 'start': 1632.966, 'duration': 5.163}], 'summary': 'Learn django for web development, get clients with python, and sign up for vip waitlist', 'duration': 26.05, 'max_score': 1612.079, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS01612079.jpg'}], 'start': 1235.583, 'title': 'Creating and configuring url conf in django', 'summary': "Covers creating a url conf in django by adding a urls.py file, importing views, and mapping the view to a url path for the homepage, and explains how to configure the root url to point to the polls.urls module, utilize the include function to reference other url confs, and verify the index view, emphasizing the use of include for other url patterns and the purpose of the include function, with a mention of a course called 'profitable programmer' and a vip waitlist.", 'chapters': [{'end': 1376.35, 'start': 1235.583, 'title': 'Creating url conf in django', 'summary': 'Covers creating a url conf in django by adding a urls.py file, importing views, and mapping the view to a url path for the homepage, with emphasis on the index function.', 'duration': 140.767, 'highlights': ['To create a URL conf in the polls directory, create a file called urls.py.', 'Import views and define URL patterns to map the index function to the empty path for the homepage.', 'Emphasize using four spaces instead of tabs for indentation in the URLs.py file.', 'Explains the purpose of mapping the index function to the empty path for the homepage in Django, allowing easy reference from templates or HTML.']}, {'end': 1669.876, 'start': 1376.37, 'title': 'Configuring url and including patterns', 'summary': "Explains how to configure the root url to point to the polls.urls module, utilize the include function to reference other url confs, and verify the index view, emphasizing the use of include for other url patterns and the purpose of the include function, with a mention of a course called 'profitable programmer' and a vip waitlist.", 'duration': 293.506, 'highlights': ['The include function allows referencing other URL confs, making it easy to plug and play URLs, and since polls are in their own URL conf, they can be placed under any path and the app will still work. The purpose of the include function is to facilitate plugging and playing of URLs, enabling the polls app to work under any path, enhancing flexibility and reusability.', 'The chapter emphasizes always using include when including other URL patterns and highlights the importance of wiring an index view, subsequently prompting to run a command to verify its functionality. The chapter stresses the usage of include when including other URL patterns and verifies the functionality of a wired index view through a specified command.', "A course called 'Profitable Programmer' is mentioned, inviting viewers to sign up for a VIP waitlist and receive free resources, particularly aimed at those aspiring to become web developers and learn Django in depth. The tutorial introduces a course 'Profitable Programmer' and encourages viewers to join a VIP waitlist to gain access to valuable resources, particularly beneficial for individuals aspiring to excel as web developers."]}], 'duration': 434.293, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/I7WtoFivrS0/pics/I7WtoFivrS01235583.jpg', 'highlights': ['Import views and define URL patterns to map the index function to the empty path for the homepage.', 'The include function allows referencing other URL confs, making it easy to plug and play URLs.', 'Emphasize using four spaces instead of tabs for indentation in the URLs.py file.', 'The purpose of mapping the index function to the empty path for the homepage in Django, allowing easy reference from templates or HTML.', 'The purpose of the include function is to facilitate plugging and playing of URLs, enabling the polls app to work under any path, enhancing flexibility and reusability.', 'The chapter emphasizes always using include when including other URL patterns and highlights the importance of wiring an index view.', "A course called 'Profitable Programmer' is mentioned, inviting viewers to sign up for a VIP waitlist and receive free resources."]}], 'highlights': ['Django allows for fast web development tasks and comes with a built-in and robust admin interface, saving development time and impressing clients.', 'Django automatically generates APIs as soon as the models are created, streamlining the development process.', 'The tutorial series will cover the most commonly referenced Django documentation in a conversational style, with each video focusing on different parts of the documentation.', 'Django allows for easy customization of URLs and clean URL parameter creation, particularly seamless with the latest release, Django 2.0.', 'The tutorial emphasizes the ability to host applications online and the focus on rapid development using Django.', "Django's admin interface can be used for building apps like blogging or e-commerce, allowing clients to manage the app or allowing developers to manage it for them.", 'Registration of models in the admin interface enables easy point-and-click management of data, providing full CRUD functionality similar to WordPress blog admin interface.', 'The flexibility of having one app that can be used in different projects is highlighted, showcasing the convenience and reusability of Python apps.', 'Creating views in Django is simplified, enabling the return of HTTP response or specific HTML files, contributing to the user-friendly design and functionality of the framework.', 'Django contains a user-friendly search mechanism allowing users to search with specific parameters like name start or contain, enhancing usability.']}