On Tue, Dec 22, 2009 at 1:34 PM, Peter Baumgartner <sgt.hu...@gmail.com> wrote:
> I'm trying to use the suggestion here[1] for adding models during test
> suite runs. While it works great in sqlite, I'm not having any luck
> getting it to run in Postgres because it doesn't seem to build all the
> necessary database relations. (ProgrammingError: relation
> "fakeapp_fakeitem" does not exist)
>
> Tests: 
> http://github.com/lincolnloop/django-mailfriend/blob/master/mailfriend/tests/__init__.py
> Traceback: http://github.com/lincolnloop/django-mailfriend/issues#issue/1
>
> What else do I need to do to get the test suite passing on Postgres?
>
> [1] http://code.djangoproject.com/ticket/7835#comment:21
>

I was able to workaround this for now, but I'm still curious if there
is a way to pull this off. The github links above no longer show the
issue. You can see what I was trying to do here though
http://github.com/lincolnloop/django-mailfriend/blob/05a43927fcd8f7e8a289a54ddc927ad93ff88f04/mailfriend/tests/__init__.py

-- Pete

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.


Reply via email to