My Registration of user in database is successful but i am unable to redirect my page to successful registration page after the registration
def create_profile(sender, **kwargs):
# print(sender)
if kwargs['created']:
user_profile = UserProfile.objects.create(user=kwargs['instance']) # error occurs here with Userprofile has no attributes objects. please help me with same
this is my repository
https://github.com/bikirandas/LiquorStore