[Answer]-Adding start separate page in django app

1👍

You can override the get_template_names() method of the view and render different templates for anonymous and logged users:

class Start(TemplateView):

    def get_template_names(self):
        if self.request.user.is_authenticated():
            return ['dashboard/dashboard.html']
        return ['dashboard/start.html']

Leave a comment