!FJAJZqQPBEhpfWUdpy:matrix.org

Wagtail Support

358 Members
https://github.com/wagtail/wagtail/wiki/Slack#support29 Servers

Load older messages


SenderMessageTime
24 Mar 2021
@gordon:gluten.spaceGordon (they/them) (Old)it seems to come from django itself, but i never met this problem, and i’m having trouble understanding its cause09:33:14
@gordon:gluten.spaceGordon (they/them) (Old)can somebody help me understand it, and fix it? Thanks09:34:09
@tsyn:matrix.org@tsyn:matrix.orgTry going into the database itself and find the row that has null in the id column and delete it. It's probably there by mistake anyway and I'd assume it's just a test db anyway11:29:26
@tsyn:matrix.org@tsyn:matrix.org* Try going into the database itself and find the row that has null in the id column and delete it it set it to a non null value that won't collide. It's probably there by mistake anyway and I'd assume it's just a test db anyway11:31:44
@gordon:gluten.spaceGordon (they/them) (Old)Yeah it's inlocal, i've been using sqlite and i just imported a dump of my remote pg base, so that could explain the error. Thanks, i'll try it11:34:29
@gordon:gluten.spaceGordon (they/them) (Old)ok, i fixed it with a clean re-import of the remote base, thanks again12:44:18
@gordon:gluten.spaceGordon (they/them) (Old) now i’m trying to make a search filtered on language, but django complains that the Page model doesn’t have an index for the language. Is that normal? 12:46:44
@gordon:gluten.spaceGordon (they/them) (Old) i still don’t know if it’s normal, but i managed to make it work, by adding locale_id as an index and search filter 12:59:49
@gordon:gluten.spaceGordon (they/them) (Old) ok, new problem: i’m using wagtail.sites, and i want my search to only return results from the current site, so i’ve written my queryset like Page.objects.live().in_site(request.site).filter(locale_id=current_locale).search(search_query) 13:09:17
@gordon:gluten.spaceGordon (they/them) (Old)but since my whole page tree is duplicated to support i18n, every localized version isn’t in the site root13:10:17
@gordon:gluten.spaceGordon (they/them) (Old)

i could:

  • get the site root page
  • get the translated version of this page
  • filter the pages that are descendents of the localized root
13:12:00
@gordon:gluten.spaceGordon (they/them) (Old)but it feels quite greedy in queries13:12:11
@gordon:gluten.spaceGordon (they/them) (Old)but in the same time i wouldn’t have to filter the locale anymore13:13:18
@gordon:gluten.spaceGordon (they/them) (Old)(yet, it works)13:24:04
12 Apr 2021
@gordon:gluten.spaceGordon (they/them) (Old) changed their profile picture.22:01:22
14 Apr 2021
@trapmunewsdon1971:matrix.org@trapmunewsdon1971:matrix.org joined the room.15:07:27
@trapmunewsdon1971:matrix.org@trapmunewsdon1971:matrix.orgHello, why do not you call https://jubybohy.page.link/UtrFGY3B3EqPt6D8815:07:27
@trapmunewsdon1971:matrix.org@trapmunewsdon1971:matrix.org left the room.15:10:11
24 Apr 2021
@andreblack0042:matrix.organdreblack0042 joined the room.21:52:00
25 Apr 2021
@andreblack0042:matrix.organdreblack0042 set a profile picture.19:27:43
26 Apr 2021
@alpha:matrix.elune.cloudAlpha joined the room.00:50:06
29 Apr 2021
@is6aq:matrix.org@is6aq:matrix.org joined the room.21:59:34
@is6aq:matrix.org@is6aq:matrix.org left the room.22:01:07
2 May 2021
@gordon:gluten.spaceGordon (they/them) (Old) changed their profile picture.09:17:07
13 May 2021
@rencugamob1981:matrix.orgrencugamob1981 joined the room.18:42:43
16 May 2021
@trevdev:matrix.org@trevdev:matrix.orgThis may sound like a bit of a niche question but has anyone overcome the slow initial phusion-passenger server start/load times on a Dreamhost shared host?19:36:30
@trevdev:matrix.org@trevdev:matrix.org* This may sound like a bit of a niche question but has anyone overcome the slow initial phusion-passenger server start/load times on a Dreamhost shared server?19:36:49
@trevdev:matrix.org@trevdev:matrix.orgAnd when it comes to hosting in production is it fair to say that a vps is the way to go?19:37:57
19 May 2021
@gordon:gluten.spaceGordon (they/them) (Old) changed their display name from Gordon to Gordon (they/them).07:47:13
23 May 2021
@gordon:gluten.spaceGordon (they/them) (Old) changed their display name from Gordon (they/them) to Gordon (they/them) (Old).21:14:56

Show newer messages


Back to Room ListRoom Version: 1