Re: why i cant always

2017-04-05 Thread fabrixxm
have you installed django-secretballot ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send e

Re: What's the best way to create a reusable pagination template?

2017-02-28 Thread fabrixxm
Yep. My solution is a custom template tag from django.template.defaulttags import register from urllib.parse import urlencode @register.simple_tag(takes_context=True) def querystringmod(context, *args): """Modify current querystring: {% querystringmod name value [name value [...]] %}

Re: Sorl thumbnails VS Google

2012-06-04 Thread fabrixxm
On 4 Giu, 12:32, kooliah wrote: > So i can't understand if i want to have a better ranking, it is better > to not use sorl for this kind of images and use > > height="{{ pic.picture.height }}" /> > > that gives > width="187" height="280" /> > from a user perspective, I think is much wors load

Re: Referring to same model records as a parent

2011-11-29 Thread fabrixxm
On 28 Nov, 20:25, Swaroop Shankar V wrote: > Hi, > I am trying to implement a menu system for my project which would enable > the admin to create menu's that will be displayed on the webpage. So i > should be able to create sub-menus which will have a parent menu. https://docs.djangoproject.com/e

Re: search db & if sequences

2010-01-25 Thread fabrixxm
On Jan 24, 11:23 pm, mehdi0016 wrote: > but in my dynamic field searching issue, exact field name used by > filter method. even dictionary of fields not help there. > > tables = {"Author": Author, "Book": Book,} > fields = {"Author":Author().first_name, "Book":Book().title} > > if requst.GET['tabl