-
### Body:
I'm currently migrating my Django project from plain Django views to Django REST framework views. Specifically, I'm working on `expenses/views.py` and `templates/expenses/index.html`. Howev…
-
# Django REST Framework
Django REST Framework (DRF) is a powerful toolkit for building Web APIs in Django. It simplifies the process of building APIs by providing a set of tools and functionalities…
-
Hello,
I try to create backend application using django rest framework, django tenants and django tenant users. I have a problem.
I got this error `'TenantUser' object has no attribute 'tenant'` w…
-
-
This is my settings.py file -
```
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.BasicAuthentication',
# 'rest_framework.authenticat…
-
### Problem Statement
In Sentry Performance, when I look at the queries list in a performance event of an API view, the `view.render` event always begins with a few of the same queries, for looking u…
-
plugin of django-appointment to integrate with django cms, it would be perfect,
I have seen many ideas of appointment plugin with wordpress/ php frameworks, but for django not yet.
this app seems…
-
Running `python manage.py compress --force` I am getting the error:
> Invalid template django_filters/rest_framework/crispy_form.html: 'crispy_forms_tags' is not a registered tag library.
Howev…
-
How do I use this using DRF's ListAPIView ?
-
I have got a semi-complex case of model inheritance and need to do some validation check on instance update/create and the best way for me to avoid duplication is to put it in the model clean (one sha…