Useful Links
1. Introduction to Django
2. Getting Started
3. Models: The Data Layer
4. Views: The Logic Layer
5. Templates: The Presentation Layer
6. URL Routing
7. Forms
8. The Django Admin
9. Static and Media Files
10. Authentication and Authorization
11. Testing
12. Security
13. Advanced Topics
14. Deployment
15. Extending Django
  1. Computer Science
  2. Web Development

Django Framework

1. Introduction to Django
2. Getting Started
3. Models: The Data Layer
4. Views: The Logic Layer
5. Templates: The Presentation Layer
6. URL Routing
7. Forms
8. The Django Admin
9. Static and Media Files
10. Authentication and Authorization
11. Testing
12. Security
13. Advanced Topics
14. Deployment
15. Extending Django
  1. URL Routing
    1. The `urls.py` File
      1. Structure and Purpose
        1. Project-Level vs. App-Level URLs
          1. URL Configuration Module
          2. The `path()` Function
            1. Syntax and Parameters
              1. Route Patterns
                1. View Functions and Classes
                  1. Keyword Arguments
                  2. The `re_path()` Function
                    1. Regular Expression Patterns
                      1. Named Groups
                        1. Non-Capturing Groups
                        2. URL Converters
                          1. Built-in Converters
                            1. `str`
                              1. `int`
                                1. `slug`
                                  1. `uuid`
                                    1. `path`
                                    2. Custom Converters
                                      1. Creating Converter Classes
                                        1. Registering Converters
                                      2. Using `include()` to Organize URLs
                                        1. Modular URL Configuration
                                          1. Namespacing URLs
                                            1. Passing Extra Options
                                            2. Naming URL Patterns
                                              1. The `name` Argument
                                                1. Best Practices for Naming
                                                  1. URL Namespaces
                                                  2. Reverse URL Resolution
                                                    1. Using `reverse()`
                                                      1. Using `reverse_lazy()`
                                                        1. Using `{% url %}` in Templates
                                                          1. Resolving Namespaced URLs
                                                          2. Error Handling
                                                            1. 404 Error Handling
                                                              1. 500 Error Handling
                                                                1. Custom Error Views
                                                                  1. Debug Mode vs. Production

                                                                Previous

                                                                5. Templates: The Presentation Layer

                                                                Go to top

                                                                Next

                                                                7. Forms

                                                                © 2025 Useful Links. All rights reserved.

                                                                About•Bluesky•X.com