rticleAdmin:
> raw_id_fields = ['categories']
>
> Or as an inline:
> class CategoryInline(models.TabularInline):
> model = Article.categories.through
> extra = 0
> raw_id_fields = ['category']
>
> Collin
>
> On Wednesday, December 10, 201
I have a Category model that is m2m with an Article model and need to make
categories selectable in my article admin. So I'm using a filter_horizontal
and the problem is that I have thousands of categories and do not want to
load them all into the left hand side (lhs) of filter_horizontal.
Is t
rn reverse('editor_listview', kwargs={'page': self.page_number})
On Friday, September 12, 2014 12:23:52 PM UTC-10, James Y wrote:
>
> It must be more simple than the nothingness that searching google is
> showing me... how can I to get back to the last page (say page 2
It must be more simple than the nothingness that searching google is
showing me... how can I to get back to the last page (say page
2: http://127.0.0.1:8000/articlelist/2, which works) in a ListView after an
UpdateView.
I can go to a random page - 10 in the below UpdateView - but how do I
ca
4 matches
Mail list logo