Re: Running tests fails in the test runner call_command

2021-12-22 Thread Thomas

fwiw there is a call to the wrapping method 
django.test.DiscoverRunner.run_checks() in the celery python package. And 
I've got django_celery_beat in my list of apps which might be bringing it 
in???
On Tuesday, December 21, 2021 at 4:01:10 PM UTC-8 Thomas wrote:

> I’ve got a 3.2.10 installation and haven’t run my unit tests in a long 
> time. When I try now, I get a failure which seems to trace back to the test 
> runner itself:
>
> TypeError: Unknown option(s) for check command: databases. Valid options 
> are: all, debug, force_color, help, names, no_color, pythonpath, quiet, 
> settings, skip_checks, stderr, stdout, traceback, verbose, verbosity, 
> version.
>
> where the only mention of call_command with an explicit “databases” 
> argument is in django/test/runner.py
>
> I see this argument was introduced in 3.1 and was not present in 3.0.x and 
> earlier.
>
> Any hints on where to look for the root cause or how to patch it up?
>
> TIA
>
> - Tom
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/432c9fa5-a01b-4735-8e5d-d8b3eb44545cn%40googlegroups.com.


Re: AttributeError at /api/courses/

2021-12-22 Thread Kasper Laudrup
If you want someone to help you then spend the minimum effort and ask a 
proper question.


That's the least you can do if you expect someone to take the time to 
help you.


Kind regards,

Kasper Laudrup

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d7d05e8a-9fa1-82db-1f7f-fa29df1273a7%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature