I'm not totally sure if this qualifies as a Django question, but it's impeding my ability to make a website with Django so I thought I'd ask here. I'm working with Django in Ubuntu 11.10, where I've set up PostgreSQL to make and manage databases for my Django-powered website. Unfortunately, when working with Django in the Terminal, I need to first switch over to the user "postgres" (the user I created when installing PostgreSQL) in order to do anything with PostgreSQL or its databases. This becomes a problem when I need to simultaneously access my database and the local file system, since my local filesystem is only accessible to my normal Ubuntu Terminal user, "guillaume."
I already have the correct user and passwords entered in my settings.py file for my database, but this doesn't seem to help--I still need to switch over to "posgres" in the Terminal to access my databases. I'm guessing I need to either a) give "guillaume" access to my databases (which I've tried reading up on in the PostgreSQL docs, but am still not sure how to do...part of it is I'm not sure how to tell apart Ubuntu users, Unix users, and Postgres users), or I need to b) give "postgres" access to my local file system. Can anyone tell me which is the better route to follow, and how to achieve it? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/1NWyssjq5sYJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.