meshy / django-conman

NOT READY: Work in progress. A content management system for django
BSD 2-Clause "Simplified" License
3 stars 5 forks source link

Rename `Route.url` to `Route.path` #129

Open meshy opened 7 years ago

meshy commented 7 years ago
https://example.com/foo?bar
^^^^^^^^^^^^^^^^^^^^^^^^^^^ <- URL
^^^^^^^^                    <- protocol
        ^^^^^^^^^^^         <- hostname
                   ^^^^     <- path
                       ^^^^ <- query

What we're actually representing with the url field is actually a path. We should rename it.

Thanks to @ghickman for pointing this out, and for the ascii-art.