Make a website with Django: Difference between revisions

no edit summary
imported>Jesstess
(Created page with "== Project == Work through the official Django tutorial, where you'll create an interactive poll application. ==Goals== * Learn the basics of the Django web application fra...")
 
imported>Jesstess
No edit summary
Line 28:
 
The official Django tutorial walks you through creating an interactive polling application in 4 parts.
 
 
=== 1. Complete Part 1 of the tutorial ===
Line 33 ⟶ 34:
* Please visit https://docs.djangoproject.com/en/1.4/intro/tutorial01/ and complete part 1 of the tutorial.
 
In this part, you'll create a new project, learn how to run your development server, set up a database, and create some models for your polling app. Some of the setup that you are doing in this section will make more sense once you start actually using the code a bit later in the tutorial -- don't worry if the purpose of some of the steps you are going through is a bit unclear at first.
 
After you've completed part 1:<br />
<b>Check your understanding</b>: What does <code>api.GetSearch</code> return?
<b>Check your understanding</b>: What is the relationship between the classes in <code>models.py</code> and the database schema displayed when you run <code>python manage.py sql polls</code>.
 
This tutorial covered a lot of ground quickly. If you have any questions or want to learn more, wave over a staff member!
=== 1. Complete Part 2 of the tutorial ===
 
 
=== 12. Complete Part 2 of the tutorial ===
 
* Please visit https://docs.djangoproject.com/en/1.4/intro/tutorial02/ and complete part 2 of the tutorial.
Line 43 ⟶ 48:
<b>Check your understanding</b>: What does <code>api.GetSearch</code> return?
 
 
=== 13. Complete Part 3 of the tutorial ===
 
* Please visit https://docs.djangoproject.com/en/1.4/intro/tutorial03/ and complete part 3 of the tutorial.
Line 49 ⟶ 55:
<b>Check your understanding</b>: What does <code>api.GetSearch</code> return?
 
 
=== 14. Complete Part 4 of the tutorial ===
 
* Please visit https://docs.djangoproject.com/en/1.4/intro/tutorial04/ and complete part 4 of the tutorial.
 
<b>Check your understanding</b>: What does <code>api.GetSearch</code> return?
 
 
== Bonus exercises ==
 
If you have time, try out some of these extra exercises.
 
 
=== 1. Customize how tweets are printed by <code>search</code> ===
Anonymous user