Re: Reversing URL for a view with namespaces

2009-11-01 Thread Russell Keith-Magee
On Mon, Nov 2, 2009 at 5:44 AM, Ivan Sagalaev wrote: > > Ivan Sagalaev wrote: >> Ahha! This is the catch I was missing. So in order for an app to place >> itself generally in the "namespace-aware" category it should define a >> function that will return a triple of (patterns, app_namespace, >> in

Re: Reversing URL for a view with namespaces

2009-11-01 Thread Ivan Sagalaev
Ivan Sagalaev wrote: > Ahha! This is the catch I was missing. So in order for an app to place > itself generally in the "namespace-aware" category it should define a > function that will return a triple of (patterns, app_namespace, > instance_namespace) and document it as the only way of includ

Re: Reversing URL for a view with namespaces

2009-11-01 Thread Ivan Sagalaev
Russell Keith-Magee wrote: > Apologies for taking so long to get back to you on this. No problem :-) Have busy schedule myself :-) > For this last case - building a new app that you want to be namespace > aware - I think the Django admin already implements the model that > needs to be followed h