tickets: 672
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
672 | 2005-10-21 00:30:17 | 2006-08-05 23:29:39 | 2022-03-06 03:21:23.190560 | Unreviewed | closed | contrib.syndication | enhancement | minor | dev | fixed | get_absolute_url isn't nice | now by this I mean the application should not be required to know where it is installed. get_absolute_url forces the object to know the URL path it is coming in on. what might be nicer would be a get_relative_url which would return the part of the URL that the app is resposible for. so take this URL for an example http://www.lawrence.com/news/2005/oct/15/serenity/ I'm guessing that there is a 'news' app configured here with a 'story' table inside of it. what would be nice is if the 'story' could return '/2005/oct/15/serenity/' and have the framework 'know' that it should be prefixing that with '/news'. It could get this information out of the URL pattern couldn't it? regards and thanks for writing django Ian | adrian | ian@holsman.net | 0 | 0 | 0 | 0 | 0 |