Re: Needing explanation about "reverse admin" checkin

2009-01-18 Thread Alex Gaynor
On Thu, Jan 15, 2009 at 1:39 AM, Alex Gaynor wrote: > > > On Thu, Jan 15, 2009 at 1:35 AM, Malcolm Tredinnick < > malc...@pointy-stick.com> wrote: > >> >> On Thu, 2009-01-15 at 01:25 -0500, Alex Gaynor wrote: >> [...] >> > Ok, then perhaps using the namespace syntax you suggested would work >> >

Re: Needing explanation about "reverse admin" checkin

2009-01-14 Thread Alex Gaynor
On Thu, Jan 15, 2009 at 1:35 AM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Thu, 2009-01-15 at 01:25 -0500, Alex Gaynor wrote: > [...] > > Ok, then perhaps using the namespace syntax you suggested would work > > nicely > > > > {% url admin_site:"admin_logout" %} > > Ideally, the

Re: Needing explanation about "reverse admin" checkin

2009-01-14 Thread Malcolm Tredinnick
On Thu, 2009-01-15 at 01:25 -0500, Alex Gaynor wrote: [...] > Ok, then perhaps using the namespace syntax you suggested would work > nicely > > {% url admin_site:"admin_logout" %} Ideally, the url tag would operate on the names of things, rather than jamming objects and strings together like thi

Re: Needing explanation about "reverse admin" checkin

2009-01-14 Thread Alex Gaynor
On Thu, Jan 15, 2009 at 1:20 AM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Thu, 2009-01-15 at 00:49 -0500, Alex Gaynor wrote: > [...] > > Actually all we need to do is add a prefix argument to the url tag, > > and then just pass admin_site.name to prefix, all this kwarg has to d

Re: Needing explanation about "reverse admin" checkin

2009-01-14 Thread Malcolm Tredinnick
On Thu, 2009-01-15 at 00:49 -0500, Alex Gaynor wrote: [...] > Actually all we need to do is add a prefix argument to the url tag, > and then just pass admin_site.name to prefix, all this kwarg has to do > is add the string of the view name and the prefix together and > tada-namespaces. I think th

Re: Needing explanation about "reverse admin" checkin

2009-01-14 Thread Alex Gaynor
On Wed, Jan 14, 2009 at 11:45 PM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Wed, 2009-01-14 at 22:36 -0600, Jacob Kaplan-Moss wrote: > > Hey Malcolm -- > > > > Sorry if I missed some steps on this one; I've been working on it > > pretty hard for the past few days and thought it

Re: Needing explanation about "reverse admin" checkin

2009-01-14 Thread Malcolm Tredinnick
On Wed, 2009-01-14 at 22:36 -0600, Jacob Kaplan-Moss wrote: > Hey Malcolm -- > > Sorry if I missed some steps on this one; I've been working on it > pretty hard for the past few days and thought it was done (though I've > already noticed an oversight with the password change link... grr...). > >

Re: Needing explanation about "reverse admin" checkin

2009-01-14 Thread Jacob Kaplan-Moss
Hey Malcolm -- Sorry if I missed some steps on this one; I've been working on it pretty hard for the past few days and thought it was done (though I've already noticed an oversight with the password change link... grr...). I should point out that there is docs (http://docs.djangoproject.com/en/d

Re: Needing explanation about "reverse admin" checkin

2009-01-14 Thread Malcolm Tredinnick
On Wed, 2009-01-14 at 22:52 -0500, Alex Gaynor wrote: [...] > What this ticket allows is: > a) handling the admin site/model admin urls through the normal > resolver method > b) reversing these URLs > > The main problem you describe is that the multiple admin sites that > any url tags we make use

Re: Needing explanation about "reverse admin" checkin

2009-01-14 Thread Alex Gaynor
On Wed, Jan 14, 2009 at 10:38 PM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > I realise the confusion I'm about to cause here is predominantly my > fault for not working faster, but I thought I'd have a bit more time > than I did. So a massive mea culpa there. > > Anyway, I have some

Needing explanation about "reverse admin" checkin

2009-01-14 Thread Malcolm Tredinnick
I realise the confusion I'm about to cause here is predominantly my fault for not working faster, but I thought I'd have a bit more time than I did. So a massive mea culpa there. Anyway, I have some questions and concerns about r9739 that Jacob committed overnight (my time) that maybe can be clea