python - Set up a Django Project with Mamp? -


i downloaded newer version of mamp (3.2.1) , noticed version has python installed , seems handle sqlite databases.

shouldn't able manage django projects it?

where , how install it?

i found posts in web (before new mamp release) people trying mamp + django work mysql seemed more complicated me usual setup virtualenv + sqlite/postgres. i'm pretty new django starting project @ time seems quite simple me.

if django work mamp advantages?
has experiences or useful links?

ok gues working mamp mysql has advantage can easy import/export database php myadmin tool. anyway based on tanorix answer here how me django worked mamp mysql database:

databases = {   'default': {       'engine': 'django.db.backends.mysql',        'name': 'projectdb',                          'user': 'root',       'password': 'root',       'host': '/applications/mamp/tmp/mysql/mysql.sock',       'port': '8888',   } } 

then

python manage.py migrate  

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -