Re: Need help

2012-04-03 Thread thongor
Wow this post is really old but this also solved my problem strangely 
enough. 

On Thursday, June 25, 2009 2:48:32 PM UTC-4, amy wrote:
>
> I had this same problem...the user and pass were fine but no users 
> could authenticate on any DB, regardless of settings. 
>
> Turns out my issue was only that I needed to add the string 
> "localhost" to the host parameter. 
>
> It's odd since the comments specifically state to leave it blank for 
> localhost...but oh well. It worked. 
>
> DATABASE_HOST = 'localhost' # Set to empty string for 
> localhost. Not used with sqlite3. 
>
> Odd. 
>
> On May 31, 6:14 am, Tim Chase  wrote: 
> > mizan rahman wrote: 
> > > No, i've checked that i've created a user named "djangouser" and the 
> > > problem still exist what will i do? Plz help me 
> > 
> > and you've checked that the password in settings.py is correct? 
> > You only confirmed one of the two problems I suggested. 
> > 
> > If both are correct, you may have to include the section of your 
> > pg_hba.conf that defines access permissions.  It usually looks 
> > something like 
> > 
> > ## 
> > local   all postgres  ident sameuser 
> > 
> > # TYPE  DATABASEUSERCIDR-ADDRESS  METHOD 
> > 
> > # "local" is for Unix domain socket connections only 
> > local   all all   ident sameuser 
> > # IPv4 local connections: 
> > hostall all 127.0.0.1/32  md5 
> > # IPv6 local connections: 
> > hostall all ::1/128   md5 
> > ## 
> > 
> > along with information about how your connecting in Django (to 
> > localhost, to the local machine by IP address, to a remote 
> > machine, etc) 
> > 
> > -tkc 
>

-- 
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/-/BI0mwz_xsrsJ.
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.



Re: Looking for Django IDE

2012-04-01 Thread thongor
I use vim with a plugin called "python mode" which can be found 
here. 
It's a collection of several python plugins that gives you a lot of 
options. You can also check out various vimrc files on github for other 
ideas.


On Sunday, April 1, 2012 2:30:03 PM UTC-4, mark wrote:
>
> What IDE do you use/recommend for developing django web sites? Or, if not 
> an IDE, what editor/setup is most useful? I am developing on Linux version 
> 3.1.0-1-amd64 (Debian 3.1.8-2). I would rather use something open source. I 
> use eclipse for developing android/java projects. Since I am using django 
> in conjunction with an android project, I don't want to use the plugin for 
> eclipse. Switching between python and java perspectives is a little 
> annoying, so I thought I would find a separate ide for my django work and 
> just alt-tab between them.
>
> I have tried gedit, but I cannot get the django plugin to work. I am 
> looking at ninja, but there does not appear to be a django plugin. 
>
> Thanks,
>
> Mark
>

-- 
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/-/t3eiaOGl6ggJ.
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.