Bug 239103 - [NEW PORT] www/py-urlman: Nicer way to do URLs for Django models
Summary: [NEW PORT] www/py-urlman: Nicer way to do URLs for Django models
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sunpoet Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-10 09:08 UTC by Alexander Sieg
Modified: 2019-07-10 15:44 UTC (History)
0 users

See Also:


Attachments
patch (1.16 KB, patch)
2019-07-10 09:08 UTC, Alexander Sieg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Sieg 2019-07-10 09:08:53 UTC
Replaces things like get_absolute_url with a .urls attribute that can reference
other URLs and build sensible trees of things, and can then be accessed using
instance.urls.name.


WWW: https://github.com/andrewgodwin/urlman
Comment 1 Alexander Sieg 2019-07-10 09:08:59 UTC
Created attachment 205649 [details]
patch