Sunday, July 1, 2018

Re: Database

Django has support for Postgres-only features - https://docs.djangoproject.com/en/2.0/ref/contrib/postgres/ - if you need any of them.
Also full text search is much easier to implement with Postgres in Django - https://docs.djangoproject.com/en/2.0/ref/contrib/postgres/search/

Also I am not sure if you get transactions on MySQL without additional configuration. Worth making sure that you have transactions so you dont have to unpick faulty migrations manually.

In general it seems like Postgres is favoured in the ecosystem around Django, but worth checking what you have available on the server and taking decision based on it. Nothong really stops you from using either.

On 1 July 2018 00:16:45 BST, Mike Dewhirst <miked@dewhirst.com.au> wrote:
I've used both. If you have a choice use Postgres.

Mike

Connected by Motorola


ABHISHEK PARMAR <150305105052@paruluniversity.ac.in> wrote:

Should i use postgres or mysql ?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAErr1ZUERxGq26gkkhmPG_1iOdKwvMpHCoZdu2uJEhVhjNLXUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e060brfnkg2hen7383muowx6.1530400605221%40email.android.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment