Re: Proposal: local timezone-aware datetime fields in the admin site

2018-10-04 Thread Aymeric Augustin
Hello, > Do you know what OS/browser combination you were referring to with "Windows > (which, I'm afraid, has its own time zone name)"? At the system level, I'm not sure Windows is using (or was using) the timezone database (formerly known as the Olson database). I remember this being an issue

Re: Proposal: local timezone-aware datetime fields in the admin site

2018-10-04 Thread Paul Tiplady
Thanks Aymeric, A bit of digging gives: MacOS Chrome: "America/Los_Angeles" MacOS Firefox: "America/Los_Angeles" MacOS Safari: "America/Los_Angeles" Windows Edge: ""America/Los_Angeles" Do you know what OS/browser combination you were referring to with "Windows (which, I'm afraid, has its own t

Re: Content types shouldn't be created on post_migrate signal

2018-10-04 Thread Marcin Nowak
Hi Arthur. BTW: RunPython() is another thing, which can break your migrations, and should not be used (especially not by Django internally), because it relies on the application layer. How else can you do a data migration? There is no > `migrations.InsertIntoTable`, > You're right. That's w

Re: Content types shouldn't be created on post_migrate signal

2018-10-04 Thread Arthur Rio
BTW: RunPython() is another thing, which can break your migrations, and should not be used (especially not by Django internally), because it relies on the application layer. How else can you do a data migration? There is no `migrations.InsertIntoTable`, the only other way currently would be to run

Re: Content types shouldn't be created on post_migrate signal

2018-10-04 Thread Marcin Nowak
Hi Aymeric. Thank you for your reply. Unfortunately you wrote mostly about me or my writing style, not about the issue. I disagree with your opinion about my comments being passive or aggressive. I'm always writing about a piece of code, functionality, design/architecture or bug. I never crit

Re: Adding a database-agnostic JSONField into Django

2018-10-04 Thread Tom Forbes
I would also be very interested in helping out. I don’t know if this is useful, but I’ve had a brief look at the feature support compared to our current baseline Postgres features: MySQL: https://dev.mysql.com/doc/refman/8.0/en/json-search-functions.html - JSON_CONTAINS_PATH() can implement most o

Re: Content types shouldn't be created on post_migrate signal

2018-10-04 Thread Aymeric Augustin
Hello Marcin, I assume you're writing to this list because you would like other Django contributors to cooperate in order to fix this issue. Starting with "There is a huge issue with content types framework" isn't a good way to motivate them. Speaking for myself, I would be more eager to invest

Re: Adding a database-agnostic JSONField into Django

2018-10-04 Thread Adam Johnson
I'd be up for helping with a database-agnostic one. One thing to note about MySQL world is that MariaDB diverges more from MySQL here and I haven't found the time to fix the differences here in Django-MySQL's JSONField. I'd get on with it if I knew someone needed the work for a DB-agnostic field th

Re: Adding a database-agnostic JSONField into Django

2018-10-04 Thread Carlton Gibson
Sorry, what I meant was a Django field. (I wasn't clear enough.) Charles Leifer has good posts covering SQLite+JSON http://charlesleifer.com/ His Peewee ORM has a JSONField http://docs.peewee-orm.com/en/latest/peewee/sqlite_ext.html#sqlite-ext I was just wondering if someone knew if someone had

Re: Adding a database-agnostic JSONField into Django

2018-10-04 Thread Jon Dufresne
> Anyone know of an SQLite implementation? A quick search shows the JSON1 extensions exists: https://www.sqlite.org/json1.html According to the release history (https://sqlite.org/changes.html) this was added in version 3.9.0 (2015-10-14). But I have no direct experience working with it. On Thu

Re: Can we remove FILE_CHARSET?

2018-10-04 Thread Vasili Korol
I guess, my statement doesn't apply if FILE_CHARSET only affects Django text files, so disregard. My point was that non-UTF data is still actively used despite the fact that "the whole world moved to Unicode". -- You received this message because you are subscribed to the Google Groups "Django

Re: Adding a database-agnostic JSONField into Django

2018-10-04 Thread Carlton Gibson
This has come up again, with an example implementation for Oracle: https://code.djangoproject.com/ticket/29821 Anyone know of an SQLite implementation? -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. T