Adam Johnson

Results 320 issues of Adam Johnson

There are a number of best practices / common mistakes I've seen with django and mysql. A check command could be useful for comparing the codebases and schemas, or even...

help wanted
feature

Pretty much if you want to do random ordering efficiently you should have an indexed column holding random numbers that get updated frequently, like http://www.electrictoolbox.com/mysql-random-order-random-value/ or http://mysql.rjweb.org/doc.php/random . A RandomField...

feature

I want a repo to clone and run `vagrant up` in, which gives me a box running a specified django version + a specified database version (mysql 5.5/5.6/mariadb 5.5./...) with...

help wanted
feature

Afaik django only does subqueries for single `in` clauses e.g. `filter(x__in=queryset)`. But can the row-in-subquery pattern be done? https://mariadb.com/kb/en/mariadb/subqueries-row-subqueries/

question

By releasing as a [Python wheel](http://pythonwheels.com/) as well as a source distribution, you can speed up end user’s installs. After merging this command, to release you just need to run...

enhancement

GitHub releases are used for the changelog, but I don't see 2.2.1 there, or 2.1 which is what I'm upgrading from: https://github.com/syrusakbary/promise/releases . A consistent, complete changelog would be useful...

I'm upgrading from 0.9.6 to 0.10.0, but I can't find any kind of changelog/release notes. It would be useful if there was an obvious one so I would know if...

type: task

### Description Python defaults to interpreting naive datetimes as local time: https://blog.ganssle.io/articles/2022/04/naive-local-datetimes.html time-machine currently turns naive datetimes into UTC, *except* from naive datetiems parsed from strings with datetutil, which it...

python-dateutil is only used for the parsing of strings, which many users don't need. We should make python-dateutil an optional dependency in extras_require, to avoid dependency bloat.

It would offset the current time by the given amount, which would be pretty useful for some tests that check "X is true until N minutes in the future"