Andrey Shipilov
Andrey Shipilov
Same here. Works on one page, appends the whole page on the other.
My bad. `SHORTEN_MODELS` key values should be lowercase. ``` SHORTEN_MODELS = { 'E': 'experiences.photo', # Not Photo. } ```
@andreyshipilov Most likely, but not in templates.
Would it be easier just to recalculate the overlay positions on scroll/resize?
I'm using DRF for the web app. Our iOS developer uses it using Swift. It's literally impossible to work when you can't be logged in all the time :)
Yeah I understand that. Although. ``` >>> from rest_framework.authentication import TokenAuthentication >>> from rest_auth.registration.views import LoginView Traceback (most recent call last): File "", line 1, in File "d:\Projects\test\venv\lib\site-packages\rest_auth\registration\views.py", line 10,...
@cho-is I recommend you provide useful comments instead.
@cho-is yeah man. Basically I solved this problem temporarily by creating an endpoint for getting an CSRF token.
Basically, using just that: ``` 'rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.TokenAuthentication', ``` works.
Can confirm, happens on my dev server too. Works on production though.