1 | | The docs for the `ABSOLUTE_URL_OVERRIDES` setting state that the keys in that dictionary should be of the form `app_label.modelname`, with the model name capitalized, but the code in `django/db/models/base.py` which curries `get_absolute_url` looks for `app_label.module_name`, and `module_name` is normalized to lower-case by that point. So, for example, the docs say to use `weblog.Entry` as a key in `ABSOLUTE_URL_OVERRIDES`, but `get_absolute_url` will actually look for `weblog.entry`. |
| 1 | The docs for the `ABSOLUTE_URL_OVERRIDES` setting state that the keys in that dictionary should be of the form `app_label.modelname`, with the model name capitalized, but the code in `django/db/models/base.py` which curries `get_absolute_url` looks for `app_label.module_name`, and `module_name` is normalized to lower-case by that point. |
| 2 | |
| 3 | So, for example, the docs say to use `weblog.Entry` as a key in `ABSOLUTE_URL_OVERRIDES`, but `get_absolute_url` will actually look for `weblog.entry`. |