Try Django 1.10 | Create a URL Shortening Service
4.4 (87 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.
11,990 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Try Django 1.10 | Create a URL Shortening Service to your Wishlist.

Add to Wishlist

Try Django 1.10 | Create a URL Shortening Service

Django is a powerful web framework that makes it easy to build web applications it's why it's the #1 Python library
4.4 (87 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.
11,990 students enrolled
Created by Justin Mitchel
Last updated 10/2016
English
Curiosity Sale
Current price: $10 Original price: $50 Discount: 80% off
30-Day Money-Back Guarantee
Includes:
  • 5.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Django Basics & Django version 1.10
  • Build a URL Shortening Service Identical to http://kirr.co (as of 10-22-2016)
  • Django Models, Managers, and Save Methods
  • Generating Random Shortcodes
  • Launching a live project (on Heroku.com)
  • Bootstrap Integration
  • Template Inheritance
  • Django-hosts (for controlling subdomains)
  • Setup a Domain name to your hosting server
  • Much more!
View Curriculum
Requirements
  • Grit & Perseverance
  • Python/Django installed (we show you how; see setup video which is free)
  • Basic knowledge of HTML/CSS a plus
  • Basic knowledge of Python (like our 30 Days of Python) a plus
Description

Try Django 1.10 is an introduction to Django version 1.10 by creating a simple, yet robust, URL Shortening Service. This series covers a variety of Django basics as well as Django 1.10 specific material. 

Generally the topics will include:

- How we made the Kirr url shortening service
- Django Project Setup
- Class Based Views (& some Function Based Views)
- Models, Model Forms, Forms, Form Validation
- Overriding Model Save Method
- Launching on a Live Server (via Heroku)
- Custom Validation directly on Django Fields
- And More

What Technology you'll learn in the Build a Try Django 1.10 URL Shortening series: 
 -- Django Framework (version 1.10): a powerful backend framework used by top sites like Instagram and Pinterest. Django makes it easier to have a powerful web application to use for all types of projects. Django is written in Python (and is one of the most popular Python libraries in the world).
-- Bootstrap (version 3.3): a powerful front-end framework used by thousands of sites around the world. Bootstrap makes it easier to have a responsive web application so it looks awesome on any mobile device and any desktop computer.
-- Python 3: One of the top programming languages in the world. Powerful enough for the experts, easy enough for beginners. Why? It uses spaces and line breaks with minimal special characters (like !@#$;*) which means it's closer to English than most programming languages. 

All of our tutorials have a simple goal in mind: get you building something real and quickly through step-by-step training.

Who is the target audience?
  • Anyone Interested in learn to code
  • Python-ers and people looking to learn Django
  • Anyone who wants to build web applications since we go step-by-step
  • Do you want to be a part of the future? Learn to code and this course will get you on that path
Students Who Viewed This Course Also Viewed
Curriculum For This Course
40 Lectures
05:27:04
+
Welcome
2 Lectures 02:28

Welcome to Try Django 1.10

Preview 00:36

Walkthrough of the final product

Preview 01:52
+
Setup & Getting Started
6 Lectures 27:04

Setup your system!

Preview 04:53

Working with Django & Virtualenv

Preview 07:59

Start the Django Project

Preview 06:45

Using Github

Preview 02:36

Ensure video quality and speed are at a comfortable level

Preview 02:22

A preview of what service we are emulating. 

Preview 02:29
+
Build the Kirr service
24 Lectures 03:51:48

Start our first Django app

Preview 07:03

Discuss and implement the models concept!

Preview 07:31

How to make changes to models

Preview 13:03

Handle Migration issues

Preview 07:16

Saving items through the Python Shell (either Python 2 or 3 is okay to use!)

Saving in the Python Shell
08:16

Update how Django Models save

Override the Save Method
07:37

Create a utility function for creating and saving the shortcode

Dynamic Shortcode Generator
10:52

Use a model manager to make convenience methods for creating models

Model Manager & Refresh Shortcodes
11:47

Create custom django management commands

Custom Django Management Commands
11:18

Using Class Based Views, Function Based Views, and setting up URLS

CB Views, FB Views, and URLs
09:14

Adding Parameters from Django settings

Using Parameters from Django Settings
05:19

Understanding arguments in URLs

URL Keyword Arguments
08:38

Query the database with shortcodes

Query the Database with the Shortcode
10:55

Using redirects and understanding how the url ordering pattern works

HttpRepsonse Redirect & URL Ordering
07:38

Setup your local system on how to test a domain name.

Locally Testing a Domain Name
03:41

Using Django Hosts for handling subdomains

Preview 16:59

Creating a view for your templates

Home View & In App Templates
09:06

Using HTML forms to understand how the data is being passed

HTML Forms
07:22

Using Django forms for built-in validation

Django Forms
05:20

Create custom data validation

Form Validation & Custom Validators
16:53

Rendering new templates and context within them.

Rending New Templates and Context
05:32

Reverse-ing urls and creating our short url

Reverse and Short URL
10:12

Add a way to monitor how often an link has been clicked.

Analytics App
14:51

Integrate Bootstrap to improve the look/feel of the site.

Integrate Bootstrap
15:25
+
Project Clean Up
2 Lectures 17:11

Clean up the project's functionality.

Part 1
11:59

Clean up the project's functionality.

Part 2
05:12
+
Heroku & Going Live
5 Lectures 47:44

Launch your web application on the free tier of Heroku

Preview 05:05

Launch your web application on the free tier of Heroku

Heroku Part 2
07:59

Launch your web application on the free tier of Heroku

Heroku Part 3
06:13

Launch your web application on the free tier of Heroku

Heroku Part 4
14:32

Launch your web application on the free tier of Heroku

Heroku Part 5
13:55
+
Final Section
1 Lecture 00:49

Thanks for watching!

Thank you & Next Steps
00:49
About the Instructor
Justin Mitchel
4.4 Average rating
5,022 Reviews
267,404 Students
21 Courses
Coding Entrepreneur & Teacher

It all started with an idea. I wanted freedom... badly. Freedom from work, freedom from boredom, and, most of all, the freedom to choose. This simple idea grew to define me; it made me become an entrepreneur.

As I strived to gain freedom, overtime I realized that with everything that you do you can either (1) convince someone, somehow, to do it with you or (2) figure out how to do it yourself.

Due to a lack of financial resources (and probably the ability to convince people to do high quality work for free), I decided to learn. Then learn some more. Then some more. My path of learning website design started a long time ago. And yes, it was out of need not desire. I believed I needed a website for a company that I started. So I learned how to do it. The company died, my skills lived on... and got better and better.

It took me a while after learning web design (html/css) to actually start learning programming (web application, storing "data", user logins, etc). I tinkered with Wordpress, believing it could be a "user" site, but I was mistaken. Sure there are/were hacks for that, but they were hacks/work-arounds and simply not-what-wordpress-was-indended-to-be. Wordpress is for blogs/content. Plain and simple.

I wanted more. I had a web application idea that I thought would change the way restaurants hire their service staff. I tested it with my basic html/css skills, had great initial results, and found a technical (programmer) cofounder as a result. He was awesome. We were featured on CNN. Things looked great.

Until... cash-flow was a no-flow. Business? I think not. More like an avid hobby. We had the idea for a business just no business. Naturally, my partner had to find a means of income so I was left with the idea on its own.

Remember how I said everything we do has 2 choices. Well I tried the convincing. Now it was time to try the learning. I opted to learn and haven't looked back since. I tried almost every language out there: PHP, Ruby on Rails, SQL, Objective C, C++, Java, Javascript. I was lost.

Then, I tried Python. I was hooked. It was so easy. So simple. So elegant.

Then, I tried Django. Even more hooked. Made from python & made for web applications. It powers Instagram & Pinterest (two of the hottest web apps right now?).

Then, I tried Bootstrap. Simple and easy front-end design (html & css) that is super easy to use, mobile-ready, and overall... incredible.

Python, Django, and Bootstrap are truly changing the way the world builds web applications. I believe it's because of the simplicity to learn, the sheer power behind them, and, most of all, the plethora of resources to aid anyone in building their web projects (from packages to tutorials to q&a sites).

I relaunched my original venture with my new found skills. That wasn't enough. It didn't compel me as it once had. I started imagining all the possibilities of all the ideas I've always wanted to implement. Now I could. Which one to start with? There were so many good ideas...

Then another idea, a new & fresh idea, started brewing. I started to believe in the power of learning these skills. What would it mean if other non-technical entrepreneurs could learn? What would it mean if ideas were executed quickly, revenue models proven, all prior to approaching the highly sought-after programmers? What would it mean if entrepreneurs became coders?

And so. Coding for Entrepreneurs was born.

Here are some bio highlights:

  • Adjunct Professor of Entrepreneurship at the Lloyd Greif Center for Entrepreneurial Studies in the Marshall School of Business at the University of Southern California
  • Bestselling instructor on Udemy
  • Funded creator on Kickstarter
  • Founder of Coding For Entrepreneurs
  • Cohost of Backer Radio