Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering Django: Core

You're reading from   Mastering Django: Core The Complete Guide to Django 1.8 LTS

Arrow left icon
Product type Paperback
Published in Dec 2016
Publisher
ISBN-13 9781787281141
Length 694 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Nigel George Nigel George
Author Profile Icon Nigel George
Nigel George
Arrow right icon
View More author details
Toc

Table of Contents (33) Chapters Close

Mastering Django: Core
Credits
About the Author
www.PacktPub.com
Preface
1. Introduction to Django and Getting Started FREE CHAPTER 2. Views and URLconfs 3. Templates 4. Models 5. The Django Admin Site 6. Forms 7. Advanced Views and URLconfs 8. Advanced Templates 9. Advanced Models 10. Generic Views 11. User Authentication in Django 12. Testing in Django 13. Deploying Django 14. Generating Non-HTML Content 15. Django Sessions 16. Djangos Cache Framework 17. Django Middleware 18. Internationalization 19. Security in Django 20. More on Installing Django 21. Advanced Database Management Model Definition Reference Database API Reference Generic View Reference Settings Built-in Template Tags and Filters Request and Response Objects Developing Django with Visual Studio

Installing Visual Studio


Note

Before you start

Because it's still Microsoft, we can't get past the fact that VS is a big install.

To minimize the chances of grief, please:

  1. Turn off your antivirus for the duration of the install

  2. Make sure you have a good Internet connection. Wired is better than wireless

  3. Pause other memory/disk hogs like OneDrive and Dropbox

  4. Close every application that doesn't have to be open

Once you have taken careful note of the preceding warning, jump on to the Visual Studio website (https://www.visualstudio.com/) and download the free Visual Studio Community Edition 2015 (Figure G.1):

Figure G.1: Visual Studio Downloads

Launch the downloaded installer file, make sure the default install option is selected (Figure G.2) and click install:

Figure G.2: Visual Studio's default install

Now's the time to go make yourself a coffee. Or seven. Microsoft, remember-it's going to take a while. Depending on your Internet connection this can take anywhere from 15 minutes to more than an hour.

In a few rare cases it will fail. This is always (in my experience) either forgetting to turn antivirus off or a momentary dropout in your Internet connection. Luckily VS's recovery process is pretty robust and I have found rebooting and restarting the install after a failure works every time. VS will even remember where it's up to, so you don't have to start all over again.

Install PTVS and Web Essentials

Once you have installed VS, it's time to add Python Tools for Visual Studio (PTVS) and Visual Studio Web Essentials. From the top menu, select Tools > Extensions and Updates (Figure G.3):

Figure G.3: Install Visual Studio's extension

Once the Extensions and Updates window opens, select Online from the dropdown on the left to go to the VS online application gallery. Type python in the search box on the top right and the PTVS extension should appear on the top of the list (Figure G.4):

Figure G.4: Install PTVS extension

Repeat the same process for VS Web Essentials (Figure G.5). Note that, depending on the VS build and what extensions have been installed previously, Web Essentials may already be installed. If this is the case, the Download button will be replaced with a green tick icon:

Figure G.5: Install Web Essentials extension

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images