Maybe I'm misunderstanding, but you don't access PostgreSQL databases as normal files with a path.
If you were using SQlite that might work, but not on typical SQL databases (MySQL, Postgres, etc) On 6/26/17, Rich Shepard <[email protected]> wrote: > This is my first django project and is intended for my own use, but I'll > put it on git-hub when it's working. > > The database backend is postgresql-9.6.3 and exists in /var/www/htdocs/. > When I run 'python3 manage.py migrate' django looks for the database in > ~/development/crm_project/crm/ and does not find it there. In settings.py I > have defined the engine: > > DATABASES = { > 'default': { > 'ENGINE': 'django.db.backends.postgresql', > 'NAME': os.path.join(BASE_DIR, 'crm'), > 'USER': 'rshepard', > 'PASSWORD': '<redacted>', > 'HOST': '', > 'PORT': '5432', > } > } > > Again, this is for my use and the database with its existing tables > lives > in the same cluster with all my other databases. And, each table will be a > separate app; the models have been translated from sql to django. > > I'd appreciate suggestions on how to proceed. > > Rich > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CALn3ei0LPf0DioV3ed%2BfAuZEnECjOp7NF1Q8-iriSLE%2B2-Wbow%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

