Re: Ovreeride django mptt admin queryset

2014-11-21 Thread Collin Anderson
Hi, Try using get_queryset() instead of queryset(). Collin On Tuesday, November 18, 2014 8:02:12 AM UTC-5, Neeraj Sharma wrote: > > Hi, > > I want to override django mptt admin queryset, i want to filter the the > queryset. > I also tried the following method in admin.py b

Override Django Mptt Admin Queryset

2014-11-18 Thread Neeraj Sharma
Hi, I want to override django mptt admin queryset, i want to filter the the queryset. I also tried the following method in admin.py but its not working. def queryset(self, request): qs = super(DataField_NEWAdmin, self).queryset(request) return qs.filter(game_event__id=10

Ovreeride django mptt admin queryset

2014-11-18 Thread Neeraj Sharma
Hi, I want to override django mptt admin queryset, i want to filter the the queryset. I also tried the following method in admin.py but its not working. def queryset(self, request): qs = super(DataField_NEWAdmin, self).queryset(request) return qs.filter(game_event__id=10

override django mptt admin querset

2014-11-18 Thread Neeraj Sharma
Hi, I want to override django mptt admin queryset, i want to filter the the queryset. I also tried the following method in admin.py but its not working. def queryset(self, request): qs = super(DataField_NEWAdmin, self).queryset(request) qs.filter(game_event__id

Re: Django MPTT Admin

2014-11-11 Thread Neeraj Sharma
Thanx for your quick response Matthias Kestenholz, but i actually i want to use MPTT Admin as an inline form, code you have written will work as a normal admin form On Thursday, 26 February 2009 15:12:15 UTC+5:30, Matthias Kestenholz wrote: > > Hey, > > A topic which comes up on this list from

Re: Django MPTT Admin

2014-11-11 Thread Neeraj Sharma
Thanx for your quick response Matthias Kestenholz, but i actually i want to use MPTT Admin as an inline form, code you have written will work as a normal admin. On Thursday, 26 February 2009 15:12:15 UTC+5:30, Matthias Kestenholz wrote: > > Hey, > > A topic which comes up on this list from time

Re: Django MPTT Admin

2014-11-11 Thread Neeraj Sharma
*How to use Django Mttp Admin as an Inline in admin.py* *?* On Thursday, 26 February 2009 15:12:15 UTC+5:30, Matthias Kestenholz wrote: > > Hey, > > A topic which comes up on this list from time to time is an automatic > admin interface for django-mptt. I'd like to advertise a piece of code > we

Re: Django MPTT Admin

2009-02-26 Thread Antoni Aloy
2009/2/26 Matthias Kestenholz : > > Hey, > > A topic which comes up on this list from time to time is an automatic > admin interface for django-mptt. I'd like to advertise a piece of code > we have written at our company a little bit, and I'd also like to invite >

Django MPTT Admin

2009-02-26 Thread Matthias Kestenholz
Hey, A topic which comes up on this list from time to time is an automatic admin interface for django-mptt. I'd like to advertise a piece of code we have written at our company a little bit, and I'd also like to invite everyone to give comments and feedbacks. I do have many more ideas floating