Quantcast

Proposal: django.contrib.mysql

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Proposal: django.contrib.mysql

Adam Johnson
The django.contrib.postgres docs state:

There is no fundamental reason why (for example) a contrib.mysql module does not exist

Well... over the past year and a bit I've been developing Django-MySQL. It has a ton of features specific to MySQL and/or MariaDB. For a quick tour of the features, see the exposition in the documentation: https://django-mysql.readthedocs.org/en/latest/exposition.html (it's not all suitable for Django core, some is kinda hacky (but well tested!))

At DUTH in November I talked with Josh Smeaton about posting a suggestion here for django.contrib.mysql. Since then, I've simply been lazy/forgetful, but now I'm here getting round to it.

I'm also a bit motivated by my recent completion of its JSONField for MySQL 5.7+ which is very similar to the contrib.postgres one, copying and adapting large parts of code from Marc Tamlyn's work. We all know how much everyone loves JSON these days. If anything, this could be a core field rather than a contrib one - Oracle and SQLite also have JSON capabilities now. JSON everywhere!

Anyway... what's the interest in django.contrib.mysql? And where woudl we go from here...

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Tim Graham-2
Nice work, Adam. What's your main motivation for wanting to include it in Django itself? Do you think that including it will simplify the code much? Do you hope to attract new contributors by including it in Django itself? It's a bit concerning to me that the project seems like a one man show as there are only 3 other contributors with 3 commits each to your 454 commits. Do you have a long term interesting in maintaining the module as part of Django itself?

Who else would step up to provide expertise here, especially if you have to step away for whatever reason?

On Thursday, March 3, 2016 at 6:09:00 PM UTC-5, Adam Johnson wrote:
The django.contrib.postgres docs state:

There is no fundamental reason why (for example) a contrib.mysql module does not exist

Well... over the past year and a bit I've been developing Django-MySQL. It has a ton of features specific to MySQL and/or MariaDB. For a quick tour of the features, see the exposition in the documentation: <a href="https://django-mysql.readthedocs.org/en/latest/exposition.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\46sa\75D\46sntz\0751\46usg\75AFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\46sa\75D\46sntz\0751\46usg\75AFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;">https://django-mysql.readthedocs.org/en/latest/exposition.html (it's not all suitable for Django core, some is kinda hacky (but well tested!))

At DUTH in November I talked with Josh Smeaton about posting a suggestion here for django.contrib.mysql. Since then, I've simply been lazy/forgetful, but now I'm here getting round to it.

I'm also a bit motivated by my recent completion of its JSONField for MySQL 5.7+ which is very similar to the contrib.postgres one, copying and adapting large parts of code from Marc Tamlyn's work. We all know how much everyone loves JSON these days. If anything, this could be a core field rather than a contrib one - Oracle and SQLite also have JSON capabilities now. JSON everywhere!

Anyway... what's the interest in django.contrib.mysql? And where woudl we go from here...

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/57f5059e-b49d-4d94-9938-2a7dc77540ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Aymeric Augustin
In reply to this post by Adam Johnson
Hi Adam,

django-mysql has a rather large API surface. I think the first step would be to make a list of the most stable and generally useful bits that are candidate for inclusion in Django and to write that list down in a DEP.

The fields, functions, lookups, and aggregates are good candidates. I’m less sure about the QuerySet extensions because we don’t have anything similar yet. We’d have to think about the implications.

Looking forwards, django-mysql could be an experimental ground for features. When they stabilize, the most common features could go into django.contrib.mysql.

Since making changes to public APIs is a pain, you only want to put code in Django when it’s done. To a lesser extent, we have Python’s “standard library is where modules go to die” problem.

It would obviously help if other community members expressed interest in django.contrib.mysql or, even better, intent to help maintain it in the future.

I hope this helps,

-- 
Aymeric.

PS: if this plan comes to fruition, most likely you’ll get commit access along the way ;-)


On 04 Mar 2016, at 00:09, Adam Johnson <[hidden email]> wrote:

The django.contrib.postgres docs state:

There is no fundamental reason why (for example) a contrib.mysql module does not exist

Well... over the past year and a bit I've been developing Django-MySQL. It has a ton of features specific to MySQL and/or MariaDB. For a quick tour of the features, see the exposition in the documentation: https://django-mysql.readthedocs.org/en/latest/exposition.html (it's not all suitable for Django core, some is kinda hacky (but well tested!))

At DUTH in November I talked with Josh Smeaton about posting a suggestion here for django.contrib.mysql. Since then, I've simply been lazy/forgetful, but now I'm here getting round to it.

I'm also a bit motivated by my recent completion of its JSONField for MySQL 5.7+ which is very similar to the contrib.postgres one, copying and adapting large parts of code from Marc Tamlyn's work. We all know how much everyone loves JSON these days. If anything, this could be a core field rather than a contrib one - Oracle and SQLite also have JSON capabilities now. JSON everywhere!

Anyway... what's the interest in django.contrib.mysql? And where woudl we go from here...

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/75F75DCA-C37E-4622-A87A-2FC6EAF7A283%40polytechnique.org.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Josh Smeaton
I agree regarding choosing the most most useful bits. When we discussed this at DUTH I did mention that there were some features that would be very difficult to get included in Django. I guess you'd have to consider whether or not you'd be willing to move features from django-mysql into contrib and how that might affect django-mysql in the longer term.  I really like the idea of having a contrib.mysql though, as it shows we're not just committed to moving postgres forward. Having a voice for mysql in the team would also be very helpful.

Cheers

On Friday, 4 March 2016 18:15:15 UTC+11, Aymeric Augustin wrote:
Hi Adam,

django-mysql has a rather large API surface. I think the first step would be to make a list of the most stable and generally useful bits that are candidate for inclusion in Django and to write that list down in a DEP.

The fields, functions, lookups, and aggregates are good candidates. I’m less sure about the QuerySet extensions because we don’t have anything similar yet. We’d have to think about the implications.

Looking forwards, django-mysql could be an experimental ground for features. When they stabilize, the most common features could go into django.contrib.mysql.

Since making changes to public APIs is a pain, you only want to put code in Django when it’s done. To a lesser extent, we have Python’s “standard library is where modules go to die” problem.

It would obviously help if other community members expressed interest in django.contrib.mysql or, even better, intent to help maintain it in the future.

I hope this helps,

-- 
Aymeric.

PS: if this plan comes to fruition, most likely you’ll get commit access along the way ;-)


On 04 Mar 2016, at 00:09, Adam Johnson <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="kQ1vzoWUCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">djch...@...> wrote:

The django.contrib.postgres docs state:

There is no fundamental reason why (for example) a contrib.mysql module does not exist

Well... over the past year and a bit I've been developing Django-MySQL. It has a ton of features specific to MySQL and/or MariaDB. For a quick tour of the features, see the exposition in the documentation: <a href="https://django-mysql.readthedocs.org/en/latest/exposition.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\46sa\75D\46sntz\0751\46usg\75AFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\46sa\75D\46sntz\0751\46usg\75AFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;">https://django-mysql.readthedocs.org/en/latest/exposition.html (it's not all suitable for Django core, some is kinda hacky (but well tested!))

At DUTH in November I talked with Josh Smeaton about posting a suggestion here for django.contrib.mysql. Since then, I've simply been lazy/forgetful, but now I'm here getting round to it.

I'm also a bit motivated by my recent completion of its JSONField for MySQL 5.7+ which is very similar to the contrib.postgres one, copying and adapting large parts of code from Marc Tamlyn's work. We all know how much everyone loves JSON these days. If anything, this could be a core field rather than a contrib one - Oracle and SQLite also have JSON capabilities now. JSON everywhere!

Anyway... what's the interest in django.contrib.mysql? And where woudl we go from here...

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="kQ1vzoWUCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">django-develop...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="kQ1vzoWUCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">django-d...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/django-developers" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;">https://groups.google.com/group/django-developers.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;">https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/562f8c3e-4bf1-47cf-9a98-1a6f9b171528%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Marc Tamlyn
One of the other reasons why contrib.postgres is in core is that it required some changes to internals of the ORM. It's possible that all of those we need are done now (except custom indexes) - is there anything about contrib.mysql which would benefit from this?

I'm happy for JSONField to be made a core field on the condition that it's underlying support is more than a text blob on all our main databases. It sounds like this will soon be the case.

Marc

On 4 March 2016 at 09:04, Josh Smeaton <[hidden email]> wrote:
I agree regarding choosing the most most useful bits. When we discussed this at DUTH I did mention that there were some features that would be very difficult to get included in Django. I guess you'd have to consider whether or not you'd be willing to move features from django-mysql into contrib and how that might affect django-mysql in the longer term.  I really like the idea of having a contrib.mysql though, as it shows we're not just committed to moving postgres forward. Having a voice for mysql in the team would also be very helpful.

Cheers

On Friday, 4 March 2016 18:15:15 UTC+11, Aymeric Augustin wrote:
Hi Adam,

django-mysql has a rather large API surface. I think the first step would be to make a list of the most stable and generally useful bits that are candidate for inclusion in Django and to write that list down in a DEP.

The fields, functions, lookups, and aggregates are good candidates. I’m less sure about the QuerySet extensions because we don’t have anything similar yet. We’d have to think about the implications.

Looking forwards, django-mysql could be an experimental ground for features. When they stabilize, the most common features could go into django.contrib.mysql.

Since making changes to public APIs is a pain, you only want to put code in Django when it’s done. To a lesser extent, we have Python’s “standard library is where modules go to die” problem.

It would obviously help if other community members expressed interest in django.contrib.mysql or, even better, intent to help maintain it in the future.

I hope this helps,

-- 
Aymeric.

PS: if this plan comes to fruition, most likely you’ll get commit access along the way ;-)


On 04 Mar 2016, at 00:09, Adam Johnson <[hidden email]> wrote:

The django.contrib.postgres docs state:

There is no fundamental reason why (for example) a contrib.mysql module does not exist

Well... over the past year and a bit I've been developing Django-MySQL. It has a ton of features specific to MySQL and/or MariaDB. For a quick tour of the features, see the exposition in the documentation: https://django-mysql.readthedocs.org/en/latest/exposition.html (it's not all suitable for Django core, some is kinda hacky (but well tested!))

At DUTH in November I talked with Josh Smeaton about posting a suggestion here for django.contrib.mysql. Since then, I've simply been lazy/forgetful, but now I'm here getting round to it.

I'm also a bit motivated by my recent completion of its JSONField for MySQL 5.7+ which is very similar to the contrib.postgres one, copying and adapting large parts of code from Marc Tamlyn's work. We all know how much everyone loves JSON these days. If anything, this could be a core field rather than a contrib one - Oracle and SQLite also have JSON capabilities now. JSON everywhere!

Anyway... what's the interest in django.contrib.mysql? And where woudl we go from here...

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/562f8c3e-4bf1-47cf-9a98-1a6f9b171528%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMwjO1F8SuREhrvbZDcMMepNdcPqLhgjun8JEC%3DsjUjzQcj0Lw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Adam Johnson
Wow I didn't reply for 11 days (sorry, company a bit crazy right now) and features are already being stolen merged! https://github.com/django/django/pull/6292/files :)
 
What's your main motivation for wanting to include it in Django itself? 

I want Django to work better on MySQL/MariaDB
 
Do you have a long term interesting in maintaining the module as part of Django itself?

I've worked with Django on MySQL for 3 years and don't see that ending any time soon.
 
we have Python’s “standard library is where modules go to die” problem

I'm aware of this, and as you suggest Aymeric, we could just merge the most stable bits. I was thinking anything that's similar to what contrib.postgres supplies is a good idea for inclusion - the fields, lookups, and aggregates are good ideas. Of the fields I think only the JSONField and maybe EnumField are worth it.

Also the migration operations for loading plugins might be useful, although they're mostly only useful on MariaDB.

For writing a DEP - I just make a PR to https://github.com/django/deps right?

I'm happy for JSONField to be made a core field on the condition that it's underlying support is more than a text blob on all our main databases. It sounds like this will soon be the case.

 Just a warning - I think this would be a very complex field, with lots of internal connection vendor switching. All the DB vendors have done it their own way, more or less :( 


On Friday, March 4, 2016 at 9:15:02 AM UTC, Marc Tamlyn wrote:
One of the other reasons why contrib.postgres is in core is that it required some changes to internals of the ORM. It's possible that all of those we need are done now (except custom indexes) - is there anything about contrib.mysql which would benefit from this?

I'm happy for JSONField to be made a core field on the condition that it's underlying support is more than a text blob on all our main databases. It sounds like this will soon be the case.

Marc

On 4 March 2016 at 09:04, Josh Smeaton <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Lr3zEw-bCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">josh.s...@...> wrote:
I agree regarding choosing the most most useful bits. When we discussed this at DUTH I did mention that there were some features that would be very difficult to get included in Django. I guess you'd have to consider whether or not you'd be willing to move features from django-mysql into contrib and how that might affect django-mysql in the longer term.  I really like the idea of having a contrib.mysql though, as it shows we're not just committed to moving postgres forward. Having a voice for mysql in the team would also be very helpful.

Cheers

On Friday, 4 March 2016 18:15:15 UTC+11, Aymeric Augustin wrote:
Hi Adam,

django-mysql has a rather large API surface. I think the first step would be to make a list of the most stable and generally useful bits that are candidate for inclusion in Django and to write that list down in a DEP.

The fields, functions, lookups, and aggregates are good candidates. I’m less sure about the QuerySet extensions because we don’t have anything similar yet. We’d have to think about the implications.

Looking forwards, django-mysql could be an experimental ground for features. When they stabilize, the most common features could go into django.contrib.mysql.

Since making changes to public APIs is a pain, you only want to put code in Django when it’s done. To a lesser extent, we have Python’s “standard library is where modules go to die” problem.

It would obviously help if other community members expressed interest in django.contrib.mysql or, even better, intent to help maintain it in the future.

I hope this helps,

-- 
Aymeric.

PS: if this plan comes to fruition, most likely you’ll get commit access along the way ;-)


On 04 Mar 2016, at 00:09, Adam Johnson <[hidden email]> wrote:

The django.contrib.postgres docs state:

There is no fundamental reason why (for example) a contrib.mysql module does not exist

Well... over the past year and a bit I've been developing Django-MySQL. It has a ton of features specific to MySQL and/or MariaDB. For a quick tour of the features, see the exposition in the documentation: <a href="https://django-mysql.readthedocs.org/en/latest/exposition.html" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\46sa\75D\46sntz\0751\46usg\75AFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\46sa\75D\46sntz\0751\46usg\75AFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;">https://django-mysql.readthedocs.org/en/latest/exposition.html (it's not all suitable for Django core, some is kinda hacky (but well tested!))

At DUTH in November I talked with Josh Smeaton about posting a suggestion here for django.contrib.mysql. Since then, I've simply been lazy/forgetful, but now I'm here getting round to it.

I'm also a bit motivated by my recent completion of its JSONField for MySQL 5.7+ which is very similar to the contrib.postgres one, copying and adapting large parts of code from Marc Tamlyn's work. We all know how much everyone loves JSON these days. If anything, this could be a core field rather than a contrib one - Oracle and SQLite also have JSON capabilities now. JSON everywhere!

Anyway... what's the interest in django.contrib.mysql? And where woudl we go from here...

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to [hidden email].
Visit this group at <a href="https://groups.google.com/group/django-developers" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;">https://groups.google.com/group/django-developers.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;">https://groups.google.com/d/msgid/django-developers/ed9245ea-f908-4c1c-91ad-cb94f0147959%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Lr3zEw-bCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">django-develop...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Lr3zEw-bCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">django-d...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/django-developers" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;">https://groups.google.com/group/django-developers.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/django-developers/562f8c3e-4bf1-47cf-9a98-1a6f9b171528%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/django-developers/562f8c3e-4bf1-47cf-9a98-1a6f9b171528%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/django-developers/562f8c3e-4bf1-47cf-9a98-1a6f9b171528%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;">https://groups.google.com/d/msgid/django-developers/562f8c3e-4bf1-47cf-9a98-1a6f9b171528%40googlegroups.com.

For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/67dde25c-f40b-4dc2-8971-65c1da0555a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Sérgio Basto
In reply to this post by Adam Johnson

IMHO Python Django  should support MySQL 5.7.x JSON fields , quickly .

Thanks


--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/9db3f169-4556-43e9-b185-1e0c76f2205d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

johannes mtwengi
In reply to this post by Adam Johnson
i would like to be part and start foundations coding giving back

On Friday, March 4, 2016 at 1:09:00 AM UTC+2, Adam Johnson wrote:
The django.contrib.postgres docs state:

There is no fundamental reason why (for example) a contrib.mysql module does not exist

Well... over the past year and a bit I've been developing Django-MySQL. It has a ton of features specific to MySQL and/or MariaDB. For a quick tour of the features, see the exposition in the documentation: <a href="https://django-mysql.readthedocs.org/en/latest/exposition.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;">https://django-mysql.readthedocs.org/en/latest/exposition.html (it's not all suitable for Django core, some is kinda hacky (but well tested!))

At DUTH in November I talked with Josh Smeaton about posting a suggestion here for django.contrib.mysql. Since then, I've simply been lazy/forgetful, but now I'm here getting round to it.

I'm also a bit motivated by my recent completion of its JSONField for MySQL 5.7+ which is very similar to the contrib.postgres one, copying and adapting large parts of code from Marc Tamlyn's work. We all know how much everyone loves JSON these days. If anything, this could be a core field rather than a contrib one - Oracle and SQLite also have JSON capabilities now. JSON everywhere!

Anyway... what's the interest in django.contrib.mysql? And where woudl we go from here...

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/274f0162-f345-4946-ad56-328c20bdafff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Adam Johnson-2
Update: I decided not to try merge django-mysql as django.contrib.mysql because I think it's an advantage to have it as a separate package. As it stands, it supports Django 1.8 to 1.11 for all features, so people who aren't on cutting edge Django can still use all its features. Contrast that with django.contrib.postgres, where new features are only available on new Django versions, with their fixed release cycle.

Sérgio, django-mysql already fully supports MySQL 5.7's JSON type with its JSONFieldhttps://django-mysql.readthedocs.io/en/latest/model_fields/json_field.html . Try that.

On 4 May 2017 at 18:41, johannes mtwengi <[hidden email]> wrote:
i would like to be part and start foundations coding giving back

On Friday, March 4, 2016 at 1:09:00 AM UTC+2, Adam Johnson wrote:
The django.contrib.postgres docs state:

There is no fundamental reason why (for example) a contrib.mysql module does not exist

Well... over the past year and a bit I've been developing Django-MySQL. It has a ton of features specific to MySQL and/or MariaDB. For a quick tour of the features, see the exposition in the documentation: https://django-mysql.readthedocs.org/en/latest/exposition.html (it's not all suitable for Django core, some is kinda hacky (but well tested!))

At DUTH in November I talked with Josh Smeaton about posting a suggestion here for django.contrib.mysql. Since then, I've simply been lazy/forgetful, but now I'm here getting round to it.

I'm also a bit motivated by my recent completion of its JSONField for MySQL 5.7+ which is very similar to the contrib.postgres one, copying and adapting large parts of code from Marc Tamlyn's work. We all know how much everyone loves JSON these days. If anything, this could be a core field rather than a contrib one - Oracle and SQLite also have JSON capabilities now. JSON everywhere!

Anyway... what's the interest in django.contrib.mysql? And where woudl we go from here...

--
You received this message because you are subscribed to a topic in the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-developers/sAgYOqBUvgI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/274f0162-f345-4946-ad56-328c20bdafff%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Adam

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM38mE4xiepXuFiR3cdmeqsXjyPZeZuvgibCyWtutkuDNA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Conor McGee
By the way, just wanted to say thanks for all the hard work on django-mysql - it's a great package.

On Monday, 8 May 2017 16:22:04 UTC+1, Adam Johnson wrote:
Update: I decided not to try merge django-mysql as django.contrib.mysql because I think it's an advantage to have it as a separate package. As it stands, it supports Django 1.8 to 1.11 for all features, so people who aren't on cutting edge Django can still use all its features. Contrast that with django.contrib.postgres, where new features are only available on new Django versions, with their fixed release cycle.

Sérgio, django-mysql already fully supports MySQL 5.7's JSON type with its JSONField: <a href="https://django-mysql.readthedocs.io/en/latest/model_fields/json_field.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.io%2Fen%2Flatest%2Fmodel_fields%2Fjson_field.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEiUOIFCkg5dOT2ANuQa_c0oFZsBw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.io%2Fen%2Flatest%2Fmodel_fields%2Fjson_field.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEiUOIFCkg5dOT2ANuQa_c0oFZsBw&#39;;return true;">https://django-mysql.readthedocs.io/en/latest/model_fields/json_field.html . Try that.

On 4 May 2017 at 18:41, johannes mtwengi <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="UVTzqBA4AwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">johanne...@...> wrote:
i would like to be part and start foundations coding giving back

On Friday, March 4, 2016 at 1:09:00 AM UTC+2, Adam Johnson wrote:
The django.contrib.postgres docs state:

There is no fundamental reason why (for example) a contrib.mysql module does not exist

Well... over the past year and a bit I've been developing Django-MySQL. It has a ton of features specific to MySQL and/or MariaDB. For a quick tour of the features, see the exposition in the documentation: <a href="https://django-mysql.readthedocs.org/en/latest/exposition.html" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;">https://django-mysql.readthedocs.org/en/latest/exposition.html (it's not all suitable for Django core, some is kinda hacky (but well tested!))

At DUTH in November I talked with Josh Smeaton about posting a suggestion here for django.contrib.mysql. Since then, I've simply been lazy/forgetful, but now I'm here getting round to it.

I'm also a bit motivated by my recent completion of its JSONField for MySQL 5.7+ which is very similar to the contrib.postgres one, copying and adapting large parts of code from Marc Tamlyn's work. We all know how much everyone loves JSON these days. If anything, this could be a core field rather than a contrib one - Oracle and SQLite also have JSON capabilities now. JSON everywhere!

Anyway... what's the interest in django.contrib.mysql? And where woudl we go from here...

--
You received this message because you are subscribed to a topic in the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/django-developers/sAgYOqBUvgI/unsubscribe" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/topic/django-developers/sAgYOqBUvgI/unsubscribe&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/topic/django-developers/sAgYOqBUvgI/unsubscribe&#39;;return true;">https://groups.google.com/d/topic/django-developers/sAgYOqBUvgI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="UVTzqBA4AwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">django-develop...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="UVTzqBA4AwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">django-d...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/django-developers" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;">https://groups.google.com/group/django-developers.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/django-developers/274f0162-f345-4946-ad56-328c20bdafff%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/django-developers/274f0162-f345-4946-ad56-328c20bdafff%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/django-developers/274f0162-f345-4946-ad56-328c20bdafff%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/django-developers/274f0162-f345-4946-ad56-328c20bdafff%40googlegroups.com.

For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Adam

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c3ef8fed-c422-4be6-ad90-fadcf351727b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Asif Saifuddin
In reply to this post by Adam Johnson-2
Hi Adam,

How about making the package official extension and bring under django org?

Thanks,

Asif

On Monday, May 8, 2017 at 9:22:04 PM UTC+6, Adam Johnson wrote:
Update: I decided not to try merge django-mysql as django.contrib.mysql because I think it's an advantage to have it as a separate package. As it stands, it supports Django 1.8 to 1.11 for all features, so people who aren't on cutting edge Django can still use all its features. Contrast that with django.contrib.postgres, where new features are only available on new Django versions, with their fixed release cycle.

Sérgio, django-mysql already fully supports MySQL 5.7's JSON type with its JSONField: <a href="https://django-mysql.readthedocs.io/en/latest/model_fields/json_field.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.io%2Fen%2Flatest%2Fmodel_fields%2Fjson_field.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEiUOIFCkg5dOT2ANuQa_c0oFZsBw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.io%2Fen%2Flatest%2Fmodel_fields%2Fjson_field.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEiUOIFCkg5dOT2ANuQa_c0oFZsBw&#39;;return true;">https://django-mysql.readthedocs.io/en/latest/model_fields/json_field.html . Try that.

On 4 May 2017 at 18:41, johannes mtwengi <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="UVTzqBA4AwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">johanne...@...> wrote:
i would like to be part and start foundations coding giving back

On Friday, March 4, 2016 at 1:09:00 AM UTC+2, Adam Johnson wrote:
The django.contrib.postgres docs state:

There is no fundamental reason why (for example) a contrib.mysql module does not exist

Well... over the past year and a bit I've been developing Django-MySQL. It has a ton of features specific to MySQL and/or MariaDB. For a quick tour of the features, see the exposition in the documentation: <a href="https://django-mysql.readthedocs.org/en/latest/exposition.html" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.org%2Fen%2Flatest%2Fexposition.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGUXJCk19dddx8Uc6w_QOfhSNWktQ&#39;;return true;">https://django-mysql.readthedocs.org/en/latest/exposition.html (it's not all suitable for Django core, some is kinda hacky (but well tested!))

At DUTH in November I talked with Josh Smeaton about posting a suggestion here for django.contrib.mysql. Since then, I've simply been lazy/forgetful, but now I'm here getting round to it.

I'm also a bit motivated by my recent completion of its JSONField for MySQL 5.7+ which is very similar to the contrib.postgres one, copying and adapting large parts of code from Marc Tamlyn's work. We all know how much everyone loves JSON these days. If anything, this could be a core field rather than a contrib one - Oracle and SQLite also have JSON capabilities now. JSON everywhere!

Anyway... what's the interest in django.contrib.mysql? And where woudl we go from here...

--
You received this message because you are subscribed to a topic in the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/django-developers/sAgYOqBUvgI/unsubscribe" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/topic/django-developers/sAgYOqBUvgI/unsubscribe&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/topic/django-developers/sAgYOqBUvgI/unsubscribe&#39;;return true;">https://groups.google.com/d/topic/django-developers/sAgYOqBUvgI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="UVTzqBA4AwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">django-develop...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="UVTzqBA4AwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">django-d...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/django-developers" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;">https://groups.google.com/group/django-developers.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/django-developers/274f0162-f345-4946-ad56-328c20bdafff%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/django-developers/274f0162-f345-4946-ad56-328c20bdafff%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/django-developers/274f0162-f345-4946-ad56-328c20bdafff%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/django-developers/274f0162-f345-4946-ad56-328c20bdafff%40googlegroups.com.

For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Adam

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/a296f932-9399-4907-92ed-8054215d087c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Sérgio Basto
In reply to this post by Adam Johnson-2


On Monday, May 8, 2017 at 4:22:04 PM UTC+1, Adam Johnson wrote:
Sérgio, django-mysql already fully supports MySQL 5.7's JSON type with its JSONField: <a href="https://django-mysql.readthedocs.io/en/latest/model_fields/json_field.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.io%2Fen%2Flatest%2Fmodel_fields%2Fjson_field.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEiUOIFCkg5dOT2ANuQa_c0oFZsBw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdjango-mysql.readthedocs.io%2Fen%2Flatest%2Fmodel_fields%2Fjson_field.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEiUOIFCkg5dOT2ANuQa_c0oFZsBw&#39;;return true;">https://django-mysql.readthedocs.io/en/latest/model_fields/json_field.html . Try that.

yes , I'm using it now and works great, many thanks .

BTW the serialize issue that I had (I don't know if I already mention here) is fixed in

Fix JSONField to work with Django's serializer framework commit in https://github.com/adamchainz/django-mysql/compare/v1.1.1...master
i.e is not yet released , maybe should be ...

Thanks
 

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/224650e0-efe3-4b69-bc62-d84d17e16298%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proposal: django.contrib.mysql

Adam Johnson-2
How about making the package official extension and bring under django org?

I thought about this, but a few parts of Django-MySQL are incredibly hacky and should probably not be "officially supported code".

On 10 May 2017 at 13:43, Sérgio Basto <[hidden email]> wrote:


On Monday, May 8, 2017 at 4:22:04 PM UTC+1, Adam Johnson wrote:
Sérgio, django-mysql already fully supports MySQL 5.7's JSON type with its JSONFieldhttps://django-mysql.readthedocs.io/en/latest/model_fields/json_field.html . Try that.

yes , I'm using it now and works great, many thanks .

BTW the serialize issue that I had (I don't know if I already mention here) is fixed in

Fix JSONField to work with Django's serializer framework commit in https://github.com/adamchainz/django-mysql/compare/v1.1.1...master
i.e is not yet released , maybe should be ...

Thanks
 

--
You received this message because you are subscribed to a topic in the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-developers/sAgYOqBUvgI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/224650e0-efe3-4b69-bc62-d84d17e16298%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Adam

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM1m0gBVvzyL0-oNEjW5nLDxYX7u%2BBbNJVxLxpME-qhO5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...