-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elsewhere and postgresql issue #1
Comments
I've never used postgresql, and suck at sql in general so I'm not sure what is going on.. maybe leah has a better idea... |
Leah, http://code.djangoproject.com/wiki/BetterErrorMessages#django.db
|
A quick fix for this is to add to elsewhere.models the folowing: from django.db import connection and then in function definition for SocialNetworkData: seen_model = connection.introspection.installed_models(['elsewhere_socialnetwork']) instead of try - except block which is used there now. Then do the same for InstantMessengerData, just changing a model name: |
@restless Thanks for that! Worked like a charm. |
@restless thanks! worked for me. |
Granted, I found this while trying to deploy mightylemon, but I figured it belonged here.
I get an error when trying to syncdb on mightylemon using postgresql. If I comment out “elsewhere”, it syncs fine. I’ve just now started trying out postgresql so I have no real background in troubleshooting it, but I don’t have this problem if I switch to a sqlite database.
django error:
psycopg2.ProgrammingError: current transaction is aborted, commands ignored until end of transaction block
postgresql error:
The text was updated successfully, but these errors were encountered: