First commercial site with django

Let create your first commercial site with django! In this lesson we will create a fictional website of beauty salon.
4.0 (5 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
281 students enrolled
$19
$20
5% off
Take This Course
  • Lectures 56
  • Length 8 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 6/2014 English

Course Description

Thank you for visiting First commercial site with django.

In this lesson, You can learn how to use Mac terminal. If you want to create web site or web application, sometimes you have to use terminal. In this lesson, we will teach basic important commands of terminal. And you can also learn some basic syntax of Python.

After you learn some basic knowledges, let create your first commercial site with django! In this lesson we will create a fictional website of beauty salon. You are able to learn how to create simple booking system. And also you can create a photo gallery to show your some products. Take it easy! Enjoy learning!

What are the requirements?

  • Computer which Python is installed (If you have Mac, you can use Python on your Mac)
  • The basic skills of computer

What am I going to get from this course?

  • Study some basic commands for Mac terminal
  • Study some basic syntaxes of Python
  • Handle the template system of django
  • Create a booking system
  • Learn how to upload an image
  • Try to deploy a django project on the server

What is the target audience?

  • The person who have never use Mac terminal.
  • The person who want to learn Python from the beginning.
  • The person who want to learn django from beginning.
  • The person who want to create a website with django and Bootstrap.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Learn Mac terminal
04:21

You can learn how to run a terminal on Mac. And also learn how to change the appearance of terminal.

08:17

Learn two command in this section. First one is ls command. Second command is cd. You can look inside directory with ls command, and move to other directory with cd command.

09:32

Learn mkdir command in this section. Mkdir command can create a directory.

07:23

mv command can move a file or a directory to another place. And also can modify a those name.

06:29

You can learn touch command to create a file. And also learn how to delete a file or directory with rm,rmdir command.

Section 2: Learn Python
03:34

Learn how to run Python on the terminal.

03:41

Learn Print method to display a string on the terminal.

07:10

Learn how to use a variable with Python. And also learn how to combine some strings.

04:46

Learn how to use` while syntax`. You can repeat a program using `while syntax`.

03:52

Learn how to use` for syntax`. You can repeat a program according to the number of elements.

05:28

Learn how to use list. You can store some value to a list.

06:55

You can handle your program using conditional judgment with `if syntax`.

04:17

Learn how to compare a strings using ` if syntax`.

Section 3: Create a project
07:41

We create a django project, and do some root settings.
01:36

Try activate the administration page of this django project. We can manage this project in easy.

03:54

Create a top page for this beauty salon. You can learn how to connect a template with a definition of views.py.

06:57

Create a base template file of this salon page with Twitter Bootstrap.

13:48

We will edit the top page using Bootstrap's template.

05:40

Place an image to the top page as background image.

14:09

Add some informations in the top page.

10:43

Use font awesome for this salon page. It is one of famous web font. You can add a fantastic icon in easy.

05:28

Change the color of some elements by adding new class.

Section 4: Create a lesson page
07:18

Create a lessons application, and check a connection between the lesson page and that URL.

19:54

Create a lesson page with grid system of Bootstrap.

05:21

Add link to the lesson page. You can add it using URL tag of django.

Section 5: Create a booking page
07:56

We create an application for booking system.

10:57

Create a price list in salon page.

04:15

Create a model to store a customer name and other information for booking system.

05:14

Create an admin.py to handle Book model from administration page. You can arrange an information by this admin.py.

21:13
We will create a form for booking system to generate booking form automatically.
17:22

Create a function to received some data which is delivered by the booking form.

07:21

We will use south to add new filed into Book model. South help us to sync new filed with current database.

11:20

Create a function to send a notification email to a customer when a customer submit.

22:32

Create an authentication page. We can login and logout via these pages.

14:30

Create a booking list page. An owner only can access to this page.

05:21

Create a button to the booking list page.

12:44

Add new field to Book model for asking the time.

20:56

Let create a calendar for current day using datatime and Calendar methods.

11:12

Create a function to display a booking status on the calendar.

05:57

We can place same calendar on the booking list page using "include".

11:12

Create a page to edit a booking data.

10:18

You can create a form to edit a booking using django system.

08:04

Create views.py to edit a booking data using some informations which is delivered from the editing form.

06:50

Add a button for deleting a booking data, and create views.py to delete it.

Section 6: Create a gallery page
06:53

Let create an application for submitting image.

04:39

Create StyleImage model which will store a description or an image.

12:13

We will create a from for StyleImage model.

05:02

Create a views.py to process submitted image or description.

12:19
Display an image using MEDIA_URL on the gallery page.
08:24

Create a function to delete an image.

Section 7: Deploy
04:06

We will create a website, and register a domain. And also create an application of django.

01:35

Try to install FileZilla to transfer the data to the web server of webfaction.

02:11

Do settings of webfaction's DNS to the website which is managing your domain.

11:45

Connect the webfaction database and this django project.

07:36

After we transfer the data, we will sync for creating an administrator account.

08:46

We will store static file to static-only directory using "collect static" command.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Takafumi Kawai, A web developer from Tokyo, Japan.

Thank you for visiting my profile page.

I started my programming career learning Flash for a small website that I wanted to introduce my hobby. After 3 years, I learned the skills of Illustrator and Photoshop,After Effect. And also learned about HTML and CSS. When I graduate from the high school, I was able to master those skills.

After that, I have created some web sites for my friends and customer. A website of a beauty salon which I created was able to gather many customers from other country.

It is still getting new customer. And also the owner of beauty salon was able to find many students who want to learn a skill from her via that website.

I learned the information science after I entered the university. I was able to learn these subjects (Python,Django, MySQL, jQuery,Ajax). After that, I developed a small social networking service to enhance the communication between a professor and a students in university. This webservice has a lot of function to support their life.

I have a bachelor of engineering and a master of engineering. After I graduate from the university, I started to create a webservice to support the people who want to realize idea. If you want to create something, you need many skills (Programming, Design, Photography, Animation). I'm going to teach you how to make it . And also teach how to integrate it.

Ready to start learning?
Take This Course