On 12/6/05, hugo <[EMAIL PROTECTED]> wrote:
> One problem I see: the Admin URLs currently can rely on being only
> two-level. When the listed changes are in, an app that sit's in
> cms.apps.cms will have models in cms.apps.cms.models - so will the URL
> be /cms/apps/cms/pages for the Page model? If yes, it won't be as easy
> to do relative URLs for those pages and so it might be problematic to
> make the admin location-independend like it is now.

Yeah, we'll have to be smart about the relative URLs. It'll still
work, though, with a little initial hassle figuring it out.

> All this will be a rather large change in API - generic views that
> currently use app_label and module_name for example might need changes,
> get_module (using the same app_label, module_name stuff) and maybe even
> things like the comments stuff (as that references the contenttypes).
> Do we want to provide a transition path where the "old" magic stuff
> will be kept working for some time?

Right -- the generic view infodict will change, and content types will
change as well. It's a big change, but it's important to make.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to