It is related with Django's pagination...
The results per page value can be set with:
HAYSTACK_SEARCH_RESULTS_PER_PAGE = 20
in the settings.py.
I had found and defined this setting before but it wasn't working because I
had this in the HAYSTACK_CONNECTIONS dict (don't ask me why...).
I have incr
Hello,
I would like to know what its called and if there are resources available
in the web. A walkthrough tutorial would be a gem at my current skill set.
I would like to access data from another server, from another project and
from another app. Read access would be sufficient.
Thank you for
Thanks for the hint!
It seems to be related with Django's pagination:
with:
{{ page.paginator.count }}
and
{{ page.paginator.num_pages }}
I can see that I have 58 hits and 3 pages, which is correct.
I was getting maximal 2 pages with 20 pages each.
Now I have to check how pagination in Django works
Hi James,
I'm attaching the stacktrace as you requested.
The call to rs_template.save() is made from a django view. rs_template is
an instance of a class RSTemplate which is derived from STemplate.
STemplate is derived from PriorityItemType. PriorityItemType is derived
from ItemType. ItemType is
My apps
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'django.contrib.humanize',
'app.usuarios',
'
I know get this error:
(index):48 Connecting to ws://www.openchat.us/chat/stream/
reconnecting-websocket.min.js:1 WebSocket connection to
'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket
handshake: Invalid status line
open @ reconnecting-websocket.min.js:1
a @ reconnecting-web
Hello everyone,
I am working on designing a user interface for a legacy database.
Using python manage.py inspectdb I got the following models:
class Columnnames(models.Model):
id = models.BigAutoField(primary_key=True)
Did you compile Python from source? If so, you need to use this option:
./configure --enable-loadable-sqlite-extensions before running "make
install".
On Wednesday, May 24, 2017 at 2:27:22 AM UTC-4, Antonis Christofides wrote:
>
> Hi,
>
> This is the error message I get when I run "./manage.py t
it sounds like elastic is paginating, did you check that?
On Tue, May 23, 2017 at 12:41 AM, Nick Gilmour wrote:
> Hi all,
>
>
>
> I'm following an example to setup Django with Haystack and ES from here:
>
> https://krzysztofzuraw.com/blog/2016/haystack-elasticsearch-part-one.html
>
>
> Everythin
take a look at the postgres fulltext search capabilities, I can't make any
promises for your old postgres version
another common approach is to index the search into elasticsearch and
querying elasticsearch for the searches, it should handles misspellings and
return the search results fast, but yo
Thank you, Todor. I'll try.
вторник, 23 мая 2017 г., 3:27:00 UTC+5 пользователь Todor Velichkov написал:
>
> Hello, Дмитрий,
> you can try this one, but w/o further optimizations it may be a very slow
> query.
>
> qs = Product.objects.filter(
> #Where score is greater or equal
> #to the 4
On Tue, May 23, 2017 at 3:44 PM, wrote:
> I have a model class, 'A_base', and a 2nd model class, 'A_derived'. When I
> save an object of A_derived, I want the data from both my base and derived
> class to be saved.
>
> Example code looks like this:
>
> class A_base(models.model):
> na
On Tue, May 23, 2017 at 6:40 PM, Bernd Wechner
wrote:
> James,
>
> Thanks for the quick look, the tips and more. I am using Django 1.11 and
> given your notes a huge suspect because:
>
>1. This slow down is very recent
>2. very recently I upgraded to 1.11 specifically because I needed a
>
13 matches
Mail list logo