Monday, April 3, 2017

DATABASE DICTIONARY in Settings.py

Hey everyone,

I'm new to Django and web development overall so please bare with me. I may be asking an incredibly stupid question. 

In the DATABASES dictionary in settings.py:

DATABASES = {      'default': {          'NAME': 'something',          'ENGINE': 'django.db.backends.mysql',
'USER': 'mysql_user', 'PASSWORD': 'blahblah' }
Is it possible for me to add more then one user and password? I am working with a team and we all have seperate mysql users. Also, is it preferred to just have one super user for Django?

--
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/075b8505-df99-425f-8fc8-0873f6f78c64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment