Skip to content

linhyo/poll-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Project Documentation

via https://docs.djangoproject.com/en/1.7/intro/tutorial01/

1. Writing your first Django app, part 1

    1.1. Creating a project
    
        1.1.1. Database setup
        
        1.1.2. The development server
        
    1.2. Creating models
    
    1.3. Activating models
    
    1.4. Playing with the API

via https://docs.djangoproject.com/en/1.7/intro/tutorial02/

2. Writing your first Django app, part 2

    2.1. Creating an admin user
    
    2.2. Start the development server
    
    2.3. Enter the admin site
    
    2.4. Make the poll app modifiable in the admin
    
    2.5. Explore the free admin functionality
    
    2.6. Customize the admin form
    
    2.7. Adding related objects
    
    2.8. Customize the admin change list
    
    2.9. Customize the admin look and feel
    
        2.9.1. Customizing your project’s templates
        
        2.9.2.Customizing your application’s templates
        
    2.10. Customize the admin index page

via https://docs.djangoproject.com/en/1.7/intro/tutorial03/

3. Writing your first Django app, part 3

    3.1. Philosophy
    
    3.2. Write your first view
    
        3.2.1. url() argument: regex
        
        3.2.2. url() argument: view
        
        3.2.3. url() argument: kwargs
        
        3.2.4. url() argument: name
        
    3.3. Writing more views
    
    3.4. Write views that actually do something
    
        3.4.1. A shortcut: render()
        
    3.5. Raising a 404 error
    
        3.5.1. A shortcut: get_object_or_404()
        
    3.6. Use the template system
    
    3.7. Removing hardcoded URLs in templates
            
    3.8. Namespacing URL names

via https://docs.djangoproject.com/en/1.7/intro/tutorial04/

4. Writing your first Django app, part 4

    4.1. Write a simple form
    
    4.2. Use generic views: Less code is better
    
        4.2.1. Amend URLconf
        
        4.2.2. Amend views

via https://docs.djangoproject.com/en/1.7/intro/tutorial05/

5. Writing your first Django app, part 5

    5.1. Introducing automated testing
    
        5.1.1. What are automated tests?
        
        5.1.2. Why you need to create tests
        
    5.2. Basic testing strategies
    
    5.3. Writing our first test
    
        5.3.1. We identify a bug
        
        5.3.2. Create a test to expose the bug
        
        5.3.3. Running tests
        
        5.3.4. Fixing the bug
        
        5.3.5. More comprehensive tests
        
    5.4. Test a view
    
        5.4.1. A test for a view
        
        5.4.2. The Django test client
        
        5.4.3. Improving our view
        
        5.4.4. Testing our new view
        
        5.4.5. Testing the DetailView
        
        5.4.6. Ideas for more tests
        
    5.5. When testing, more is better
    
    5.6. Further testing

via https://docs.djangoproject.com/en/1.7/intro/tutorial06/

6. Writing your first Django app, part 6

    6.1. Customize your app’s look and feel
    
    6.2. Adding a background-image

About

[Python - Django] Building a simple Web-poll application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors