These are chat archives for django/django
@senorpatricio 1) You will need to detect the first login. Simplest way to do so is to add a boolean field to user model, say
is_first_login. Default it to
2) Make a view/form for profile edit.
3) Make simple middleware that checks for
class FirstTimeLoginMiddleware(object): def process_request(self, request): if request.user.is_authenticated and request.user.is_first_login: redirect('edit_profile_url')
Falseat some point in the flow so that user does not keep getting redirected to edit profile url again and again. For example, when user saves the profile.