3-Create Your First Django Application Using PyCharm

preview_player
Показать описание
# django #application #tutorial #setup
In 30 mins we will completely set up our project and create an application and explain it all, every step of the way.

Table of Contents:

00:32 Create New Project in PyCharm
02:10 Create New Project in PyCharm II
04:23 Activate/Deactivate virtual environment
05:39 Django Project Conceptual Drawing - CHART
10:08 Starting to Build our first application
10:14 Create an Application (project vs app)
11:36 Application configuration
16:38 What is a Django view
17:52 Content of a view
18:41 Create a basic view for our new application
19:50 URLS and Django overview
20:42 What does a URLconf actually do
21:28 Creating URL patterns to support or “home” view
24:51 Fire up our application
25:31 What is a template
27:27 Create your first template
27:39 Create an html file (aka your template)
28:36 Modify your “home” view
29:49 Fire up our application with the NEW template and view!

The Presentation and Code may be found at the link below:
Рекомендации по теме
Комментарии
Автор

I love the fact that you have a clear voice that is actually understandable. Thanks for getting these tutorials online.

rommelcevallos
Автор

I especially appreciated your inclusion of the conceptual drawing. It's very useful.

magnumkenn
Автор

hello im gary im literally just starting out. Ive found coding to be ultra difficult as ive only had a computer a few years, but this made so much sense to me, il watch this more times but il also view every other video youve done, it was absolutely brilliant thankyou so much.

CoolToBeClever
Автор

Great presentation! I truly appreciate your pace and detailed explanation of the material and context. I love that you are coding "later in life". I'm 46 and working towards my second career from behind a keyboard after 25 years in law enforcement. Thank you!

lb_RobotMonkey
Автор

Thanks, i was looking for something like this. No one takes time to explain all this. Much appreciated.

yusufrumi
Автор

great contents!! much easy to follow than any other tutorial! thanks!!

mtlantique
Автор

I love the way you explain everything!!

mob
Автор

Amazing, I really appreciate all the time and effort you have dedicated to this videos, INCOMING NEW SUBSCRIBER :D

augustomeza
Автор

Hi, I appreciate the tutorial!
Referencing the slide at 2:22 in your video... When I initially create a project in PyCharm (where you created the ImportantDates project), it automatically creates the subfolder by the same name with the settings, urls and wsgi files in it. Is it really necessary to create another project within that project using the command line (as you create the Dates project)?

Also, when creating a new Django project, under the More Settings tab, PyCharm gives you the option to provide an Application name. If you do, it also creates the additional application folder with the included files. Is there any benefit to creating these via the command line, as opposed to using the automatic process when creating the New Project?

Danny
Автор

may i know how to change directory ? let say i was at A, then i "cd B", now how do i access back to A ? thank you

nurakmal
Автор

following along but don't have the option to select a framework when creating a new project with latest pycharm community edition v2019.3

ottawadigs
Автор

Okay, first off this was extremely helpful!! although I had a question, I tried to follow your instructions to the T on my pycharm 2017 ver. 1.3, but first off I did not get the option to create a virtual environment on the same screen as you did, I had to click on settings on that dialogue box to create one. Secondly, I was unable to run the command Django-admin startproject Dates from anywhere beyond the screen @ 2:16. So I was left a little confused. perhaps you could help me out with that.

archmancometh
Автор

At 10:32 there isn't any "urls.py" file in date_track application folder, yet in 21:32 we're supposed to create a url pattern in a "urls.py" file which suddenly exists in the data_track application folder. How?

Gee_Pap
Автор

Great video! I had some trouble running the server from the terminal as i was in the wrong directory, but a bit of googling and it did the job.
Also, i'm not sure i understand what the virtualenviroment is, and what it's function is, could you elaborate i bit?

mizzlehd
Автор

I do not see a urls.py folder when I make the date_track app. I'm using Windows 7, Pycharm professional edition 2020.1 and Python 3.8

DanielPena-nvnj
Автор

you should specify whether it's on Mac or PC!

chentskooner
Автор

Also I do not see a bin file in my venu folder. Am I doing something wrong?

DanielPena-nvnj
Автор

Hello. I'm sorry but this tutorial is so confusing and extremely hard to follow. At the time of writing this comment, I was following along with the steps of the powerpoint to the letter and her pictures kept changing what her order of folders were, thus causing a lot of confusion. The naming of her files doesn't help the situation and quite frankly is irritating and makes things a lot harder than they have to be. I was so looking forward to learning Django through this tutorial but unfortunately, after spending over 3 hours trying to replicate the example shown in the powerpoint and having no luck, I'm going to have to find another tutorial that makes more sense to me.

strch