chrisbodon

Results 6 comments of chrisbodon

I´m using that workaround but it gets this when I try to post: `ValueError: Cannot assign "18": "Activity.town" must be a "Town" instance.` My code: **URLS.PY** ``` @api.post("/activities", response=ActivitySchema) def...

So what's the best method to approach different levels of permissions for users in Django ninja?

It shows the default message "A server error occurred. Please contact the administrator."

I am running with ./manage.py runserver --insecure, and this is my DEBUG code at the moment: ``` DEBUG = False ALLOWED_HOSTS = ['127.0.0.1', 'localhost'] ```

I did, but than I get the 404 standard Django page, and not my custom version

I'm going to take a good look at the FormData building. I initialized it beforehand like this: const formData = new FormData(); Thank you very much for answering so quickly