On Sun, Jul 19, 2009 at 1:53 PM, mrsource wrote:
>
> Ok, I noted the same thing the reverse('admin:view_tree') works,
> then need a pattern to be named when self.admin_site.admin_view()
> decorator is used?
>
I don't think the admin_view() wrapper has anything to do with
the
Ok, I noted the same thing the reverse('admin:view_tree') works,
then need a pattern to be named when self.admin_site.admin_view()
decorator is used?
On 19 Lug, 18:30, Alex Gaynor wrote:
> On Sun, Jul 19, 2009 at 6:03 AM, mrsource wrote:
>
> > I'm
On Sun, Jul 19, 2009 at 6:03 AM, mrsource wrote:
>
> I'm using the current trunk version and I have a similar issue with
> the reverse function:
>
> - I defined a get_urls() method for one of my models whose I have
> written a custom admin page.
> - From my view I try to
I'm using the current trunk version and I have a similar issue with
the reverse function:
- I defined a get_urls() method for one of my models whose I have
written a custom admin page.
- From my view I try to reverse one of this pattern with the "admin:"
prefix and it works but if I wrap the
Yeah, I was confused mostly about the stuff with the colon because I
didn't pay much attention when reading about namespaced urls the new
docs.
Thanks
On Fri, Jul 17, 2009 at 10:49 PM, Michael wrote:
> On Fri, Jul 17, 2009 at 4:27 PM, Vasil Vangelovski
On Fri, Jul 17, 2009 at 4:27 PM, Vasil Vangelovski
wrote:
>
> Sorry, it was probably my missunderstanding of some details in the
> docs. I changed the initialization of my admin site so it doesn't have
> a name and what I was trying to do works now. But anyway, if my admin
Sorry, it was probably my missunderstanding of some details in the
docs. I changed the initialization of my admin site so it doesn't have
a name and what I was trying to do works now. But anyway, if my admin
site was initialized like so site = MyAdminSite('admin') what code is
supposed to give me
Yes it does work, I've tried this with a brand new project in the same
virtualenv. Reverese resolution of urls for the AdminSite in
django.contrib.admin does work with the latest trunk revision.
Here's simplest situation where I'm having a problem:
I have an app called admin in my project which
On Fri, Jul 17, 2009 at 10:28 AM, Vasil Vangelovski
wrote:
>
> I'm using svn trunk version of django (rev. #11263). In my project I
> have only one admin site registered in the urlconf. This admin site is
> a subcalss of django.contrib.admin.sites.AdminSite and is
I'm using svn trunk version of django (rev. #11263). In my project I
have only one admin site registered in the urlconf. This admin site is
a subcalss of django.contrib.admin.sites.AdminSite and is instantiated
with the name 'admin'. I'm trying to use reverse url lookups for the
admin site as
10 matches
Mail list logo