On Sun, Jul 7, 2013 at 10:47 PM, Larry Martell <larry.mart...@gmail.com> wrote:
> MeasDataTest is declared as:
>
> class MeasDataTest(TestCase):
>
> Why do I get "does not refer to a test"?

where do you define your test?  AFAIR, it must be either in the
models.py, or a tests.py file in the same directory.


> Then I tried:
>
> $ python manage.py test cdsem
> Failed to install custom SQL for cdsem.Tool model: (1054, "Unknown
> column 'category' in 'field list'")

are you using custom SQL?

in your Tool model, the field 'category' is a ForeignKey, by default,
this defines a 'category_id' field in the database, not 'category'.

--
Javier

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to