Thursday, December 27, 2012

Re: debugging issues with settings.py and database (postgres) and syncdb



On Thu, Dec 27, 2012 at 11:51 AM, Dan Richards <rodandar@gmail.com> wrote:
Yeah, psycopg2 is definitely installed...

It sounds like it may be time to insert:

    import pdb;pdb.set_trace()

at the point where the exception gets raised.  Looking at variables that it doesn't like, and looking up the stack frame for where they came from can often dispel the mists.

Bill

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate