Changes between Initial Version and Version 1 of Ticket #24524, comment 16


Ignore:
Timestamp:
Feb 25, 2016, 10:34:37 PM (9 years ago)
Author:
Juergen Brendel

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24524, comment 16

    initial v1  
    11@charettes saw something in the ProgrammingError that I had submitted.
    22
    3 But now I'm still stuck trying to figure out what to do about it. Is there any kind of work around I could use? Is this something that I did wrong? Or is this a bug in Django? Any help would be appreciated.
     3But now I'm still stuck trying to figure out what to do about it. Is there any kind of work around I could use? Is this something that I did wrong? Or is this a bug in Django?
     4
     5For now, I have placed a patch into "django/db/backends/base/creation.py" (inside of the create_test_db() function), in which I use "call_command()" twice (once with 'migrate', 'accounts', which causes an exception I catch and ignore, then once more with just 'migrate'). This allows me to run my unit tests.
     6
     7Obviously, this is terrible, since I don't want to have to patch Django with an ugly workaround every time I install it. There must be a better way, but what is it?
     8 
     9Any help would be appreciated.
    410
    511Thank you very much!
Back to Top