Matthias Schoettle
Matthias Schoettle
This issue is actually independent of the relationship. It also occurs for properties from the same model. If a table is shown for above model A. The header shows "Custom...
The reason why for relationships it shows the name of the model is due to the fact that the `break` in `Accessor.get_field` (https://github.com/jieter/django-tables2/blob/master/django_tables2/utils.py#L426) leaves the `field` variable to the latest...
I just ran into the same problem. However, the workaround with adding `order_by='name'` does not work for me. The `FieldError` shows me only the actual fields of the model in...
As a workaround one could do the following: ```python # views.py from django.views.generic.base import TemplateView from django_tables2 import SingleTableMixin class MyView(SingleTableMixin, TemplateView): template_name = 'myapp/myview.html' table_class = MyTable table_data =...
Thanks, @gforcada, for your thoughts on this. That makes sense to me. I think for now the best solution therefore is to set the `line-length` again.
I have the same issue: ``` Found valid requirements file(s): requirements/dev.txt requirements/prod.txt requirements/base.txt All packages are up-to-date. Upgrade interrupted. ``` I cannot figure out what causes "Update interrupted". It worked...
Okay, I figured it out. The reason is that in the requirements, none of the dependencies were frozen (`==`). They all had `>=`. A better error message would be helpful...
This seems to be the same issue as reported in #165
Came across this today which would allow you to solve this issue: https://github.com/jpadilla/django-rest-framework-jwt/issues/45#issuecomment-467576074
Which DRF authentication classes are you using in your project?