Is possible to retrieve the current logged user id into a function defined inside a class, in views.py, using Django CreateView?
Something like this: