POSTs that are not form data and technical_500.txt

2022-10-11 Thread f.holop
Hello, fishing for some ideas here. consider this scenario: ``` ... Subject: [Django] ERROR (EXTERNAL IP): Internal Server Error: /c/add/ ... Internal Server Error: /c/add/ UnboundLocalError at /c/add/ local variable 'model' referenced before assignment ... Traceback (most recent call last): ..

Re: database column order

2022-07-13 Thread f.holop
charettes - Tue, 12 July 2022 at 13:11:14 > If you add fields to one your existing models the migration framework will > add them at the end of your table as that's the most straightforward way of > doing so. Of the top of my head only MySQL supports a syntax to add a is it a correct takeaway,

database column order

2022-07-12 Thread f.holop
hello there, an interesting topic popped up on HN: Column order in PostgreSQL does matter https://news.ycombinator.com/item?id=32067473 I was wondering how django does this, so I looked at some of the sql generated by migrations in my apps (particularly initial ones) and if I read the SQL correc

Re: Proposal: django project name

2020-05-15 Thread f.holop
Christian González - Wed, 13 May 2020 at 22:13:34 > TL;DR: Django has no (builtin/explicit) settings variable like > PROJECT_NAME. Should have. 4 of those were comments (i wish the project templates stopped doing that) 3 of those were env variables which a deployment can override with an actual e

Re: Reverting Django 3.1. to Django 3.0.6 raises "binascii.Error: Incorrect padding".

2020-05-15 Thread f.holop
Adam Johnson - Fri, 15 May 2020 at 17:53:21 > At least two of the major database servers that Django supports, PostgreSQL > and MySQL, provide zero downgrade-ability. It's too hard for them to do. while this is now officially true for both MariaDB and MySQL, until recentlyish it was possible to do

Seamless Application Failover using libpq

2020-04-24 Thread f.holop
hello, i was wondering if there was any work done/planned/discussed about implementing support for this really useful feature of libpq: $ psql 'postgres://host1:5432,host2:5432,host3:5432/postgres?target_session_attrs=read-write' Psycopg claims to support all dsn parameters. https://paquier.x