Skip to content
Snippets Groups Projects
Commit 7f46a2ff authored by Mark Skipper's avatar Mark Skipper
Browse files

WIP: trying to get category_create_tests to pass

The last error from running the tests was that the TErm table didnt
exist in the test database. So I'm running

    manage.py makemigrations

And it fails with

    AttributeError: 'NoneType' object has no attribute 'unique'

Following the [django docs](https://docs.djangoproject.com/en/1.8/topics/db/models/#abstract-related-name)
I put in:

        related_name="%(app_label)s_%(class)s_term"

But still can't even get a helpful error message.
parent 3bfb5952
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment